Open tsnouidui opened 3 years ago
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.
fmi2_import_setup_experiment()
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.
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 totEnd
.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.