modelica-tools / FMUComplianceChecker

FMI Compliance Checker for validation of FMUs 1.0 and 2.0
BSD 3-Clause "New" or "Revised" License
42 stars 31 forks source link

Crash: linux64, version 2.0.4, when parameter misses type declaration #40

Open ghorwin opened 5 years ago

ghorwin commented 5 years ago

See attached file (rename to P_Control.fmu first)

fmuCheck.linux64 P_Control.fmu

[INFO][FMUCHK] FMI compliance checker 2.0.4 [FMILibrary: 2.0.3] build date: Nov  6 2017
[INFO][FMUCHK] Called with following options:
[INFO][FMUCHK] /home/ghorwin/git/FMICodeGenerator/third_party/FMUChecker-2.0.4-linux64/fmuCheck.linux64 P_Control.fmu
[INFO][FMUCHK] Will process FMU P_Control.fmu
[INFO][FMILIB] XML specifies FMI standard version 2.0
[ERROR][FMI2XML] No variable type element for variable P. Assuming Real.

Program received signal SIGSEGV, Segmentation fault.
0x00005555555841ac in fmi2_xml_compare_vr_and_original_index ()

P_Control.zip