FMUComplianceChecker icon indicating copy to clipboard operation
FMUComplianceChecker copied to clipboard

End of simulation time not propagated for FMUs 2.0 for co-simulation

Open tsnouidui opened this issue 4 years ago • 0 comments

The latest version of FMUChecker (2.0.4) seems to not propagate the simulation stop time to FMUs 2.0 for co-simulation.

The following line indicates that the last argument of fmi2_import_setup_experiment() is set to 0 as opposed to tEnd.

https://github.com/modelica-tools/FMUComplianceChecker/blob/f0fd0b2ca78c415a725b028deec46c1962799f1d/src/FMI2/fmi2_cs_sim.c#L50

Consequently, FMUChecker will not use the stop time provided as parameter. Changing the value to tEnd will lead to the correct behavior.

tsnouidui avatar Feb 09 '21 13:02 tsnouidui