This PR implements a new API oms_replaceSubModel() which replaces an existing fmu with the new one, but keeps the connections if the replaced fmu has the same properties with the old fmus which should support the architectural modelling in OMSimulator
TODO
[x] add API oms_replaceSubModel()
[x] add test cases
[x] check the replaced component in ssv and ssm files
Related Issues
https://github.com/OpenModelica/OMSimulator/issues/1169
Purpose
This PR implements a new API
oms_replaceSubModel()
which replaces an existing fmu with the new one, but keeps the connections if the replaced fmu has the same properties with the old fmus which should support the architectural modelling in OMSimulatorTODO