You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey 👋
I'm currently trying to get some FMUs from the FMI Cross Check to run with OMSimulator and basically found FMUs that have wrong dependencies in the modelDescription.xml but are otherwise fine and could be simulated if we just ignore the dependencies.
My Question: Has the fmi-library a function to validate that the dependencies in
are correct? I couldn't find one in the documentation.
If that is not possible yet would you like to add such a function? For the FMI Cross Check it could be very useful to validate modelDescription.xml's as well.
Alternative solution
OMSimualtor calls fmi2_import_get_initial_unknowns_dependencies to get the dependencies from the modelDescription.xml but computes them on it's own as well to get the number of initial unknowns. And for the given FMU those two don't match.
If fmi2_import_get_initial_unknowns_dependencies would also return the size of startIndex and dependency we can do the check our-self.
Question
Hey 👋
I'm currently trying to get some FMUs from the FMI Cross Check to run with OMSimulator and basically found FMUs that have wrong dependencies in the modelDescription.xml but are otherwise fine and could be simulated if we just ignore the dependencies.
My Question: Has the fmi-library a function to validate that the dependencies in
are correct? I couldn't find one in the documentation.
If that is not possible yet would you like to add such a function? For the FMI Cross Check it could be very useful to validate modelDescription.xml's as well.
Alternative solution
OMSimualtor calls fmi2_import_get_initial_unknowns_dependencies to get the dependencies from the modelDescription.xml but computes them on it's own as well to get the number of initial unknowns. And for the given FMU those two don't match.
If
fmi2_import_get_initial_unknowns_dependencies
would also return the size ofstartIndex
anddependency
we can do the check our-self.Related Issues
The FMU I want to validate can be found on GitHub: https://github.com/modelica/fmi-cross-check/tree/master/fmus/2.0/me/linux64/MapleSim/2016.2/CoupledClutches.
Related issue on OpenModelica/OMSimulator: OpenModelica/OMSimulator#838
OMSimulator is using fmi-library version 2.0.3.
The text was updated successfully, but these errors were encountered: