FMUComplianceChecker icon indicating copy to clipboard operation
FMUComplianceChecker copied to clipboard

FMUComplianceChecker-2.0.3 illegal calling sequence

Open modelica-trac-importer opened this issue 7 years ago • 1 comments

Reported by awad.mukbil on 26 Jan 2017 15:29 UTC During my work on creating reference FMUs, I tried to test the Compliance Checker with a reference FMU that deals with integer variables to test integer capabilities. I provided the Compliance Checker with integer inputs and the FMU triggered the following errors:

[FMU][logError][FMU status:Error] fmi2SetInteger: Illegal call sequence.
[FATAL][FMUCHK] Simulation loop terminated at time ... since FMU returned status: Error

because the it calls fmi2SetInteger in Continuous-Time Mode, which is not allowed according to the standard p. 85.

[FMU][logError][FMU status:Error] fmi2Terminate: Illegal call sequence.
[ERROR][FMUCHK] fmiTerminate returned status: Error

Last error returned fmi2Error, by which the state changed to error and it is not allowed to call fmi2Terminate.

This is related to the ticket #20. The experiment data are attached. experiment.zip


Migrated-From: https://trac.fmi-standard.org/ticket/406

modelica-trac-importer avatar Feb 08 '18 18:02 modelica-trac-importer