This PR displays warning messages to users when replacingSubModel and also extends the API oms_replaceSubModel which allows the users to set true or false when replacing the subModel
oms_status_enu_t oms_replaceSubModel(const char* cref, const char* fmuPath, bool replaceSubModel)
if (replaceSubModel==true)
showwarnings, reimport the snapshot and replacing is not done
else
show warnings and replace is done
Purpose
This PR displays warning messages to users when
replacingSubModel
and also extends the APIoms_replaceSubModel
which allows the users to set true or false when replacing the subModel