Opened 9 years ago
Closed 6 years ago
#3903 closed defect (fixed)
Generation of FMU broken for several ScalableTestSuite models
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.13.0 |
Component: | FMI | Version: | |
Keywords: | Cc: |
Description
The generation of FMUs for several ScalableTestSuit models (of moderate size) is broken.
For example, PowerSystemStepLoad_N_2_M_4
, DistributionSystemModelica_N_10_M_10
, TransmissionLineEquations_N_10
all give this error:
Internal error SimCode: The model XXX could not be translated to FMU
The models build and run fine in the library coverage on Hudson, see https://test.openmodelica.org/libraries/ScalableTestSuite_Experimental/BuildModelRecursive.html
What is really strange is that the generation of an FMU for the TransmissionLineCheck
model, which actually contains an instance of TransmissionLineEquations
, works perfectly.
Any clue why this happens?
Change History (8)
comment:1 by , 8 years ago
Milestone: | 1.10.0 → 1.11.0 |
---|
comment:2 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:3 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|---|
Priority: | critical → blocker |
Attempting to export an FMU from the TransmissionLineEquations_N_10 model using OMEdit v1.13.0-dev-52-g85c8ee9 (64-bit) results in the following error message:
[1] 19:06:08 Scripting Error SystemImpl__covertTextFileToCLiteral failed: No such file or directory. Maybe the total file name is too long. [2] 19:06:08 Translation Error Internal error System.covertTextFileToCLiteral failed. Could not write ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmutmp/sources/ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_info.c [3] 19:06:08 Translation Error Internal error SimCode: The model ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 could not be translated to FMU
Similar errors are obtained with the other above-mentioned models.
Attempting to generate an FMU from Modelica.Blocks.Examples.Fiter instead produces these errors:
[1] 19:10:11 Translation Error Error building simulator. Build log: gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_FMU.o Modelica_Blocks_Examples_Filter_FMU.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter.o Modelica_Blocks_Examples_Filter.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_functions.o Modelica_Blocks_Examples_Filter_functions.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_records.o Modelica_Blocks_Examples_Filter_records.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_01exo.o Modelica_Blocks_Examples_Filter_01exo.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_02nls.o Modelica_Blocks_Examples_Filter_02nls.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_03lsy.o Modelica_Blocks_Examples_Filter_03lsy.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_04set.o Modelica_Blocks_Examples_Filter_04set.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_05evt.o Modelica_Blocks_Examples_Filter_05evt.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_06inz.o Modelica_Blocks_Examples_Filter_06inz.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_07dly.o Modelica_Blocks_Examples_Filter_07dly.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_08bnd.o Modelica_Blocks_Examples_Filter_08bnd.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_09alg.o Modelica_Blocks_Examples_Filter_09alg.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_10asr.o Modelica_Blocks_Examples_Filter_10asr.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_11mix.o Modelica_Blocks_Examples_Filter_11mix.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_12jac.o Modelica_Blocks_Examples_Filter_12jac.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_13opt.o Modelica_Blocks_Examples_Filter_13opt.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_14lnz.o Modelica_Blocks_Examples_Filter_14lnz.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_15syn.o Modelica_Blocks_Examples_Filter_15syn.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_16dae.o Modelica_Blocks_Examples_Filter_16dae.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_17inl.o Modelica_Blocks_Examples_Filter_17inl.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Blocks_Examples_Filter_init_fmu.o Modelica_Blocks_Examples_Filter_init_fmu.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./gc/memory_pool.o include/./gc/memory_pool.c Modelica_Blocks_Examples_Filter_init_fmu.c: In function 'Modelica_Blocks_Examples_Filter_read_input_fmu': Modelica_Blocks_Examples_Filter_init_fmu.c:1762:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[3].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1763:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[3].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1775:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[4].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1776:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[4].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1788:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[5].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1789:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[5].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1801:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[6].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1802:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[6].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1814:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[7].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1815:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[7].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1827:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[8].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1828:54: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[8].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1879:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[12].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1880:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[12].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1892:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[13].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1893:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[13].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1905:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[14].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1906:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[14].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1918:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[15].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1919:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[15].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1931:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[16].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1932:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[16].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1944:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[17].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1945:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[17].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1996:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[21].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:1997:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[21].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2009:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[22].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2010:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[22].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2022:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[23].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2023:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[23].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2035:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[24].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2036:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[24].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2048:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[25].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2049:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[25].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2061:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[26].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2062:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[26].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2113:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[30].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2114:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[30].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2126:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[31].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2127:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[31].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2139:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[32].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2140:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[32].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2152:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[33].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2153:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[33].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2165:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[34].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2166:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[34].attribute.max = DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2178:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[35].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2179:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[35].attribute.max = DBL_MAX; ^ gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/base_array.o include/./util/base_array.c Modelica_Blocks_Examples_Filter_init_fmu.c:2217:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[38].attribute.min = -DBL_MAX; ^ Modelica_Blocks_Examples_Filter_init_fmu.c:2218:55: warning: overflow in implicit constant conversion [-Woverflow] modelData->integerParameterData[38].attribute.max = DBL_MAX; ^ gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/boolean_array.o include/./util/boolean_array.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/omc_error.o include/./util/omc_error.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/division.o include/./util/division.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/generic_array.o include/./util/generic_array.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/index_spec.o include/./util/index_spec.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/integer_array.o include/./util/integer_array.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/list.o include/./util/list.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/modelica_string.o include/./util/modelica_string.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/real_array.o include/./util/real_array.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/ringbuffer.o include/./util/ringbuffer.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/string_array.o include/./util/string_array.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/utility.o include/./util/utility.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/varinfo.o include/./util/varinfo.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/ModelicaUtilities.o include/./util/ModelicaUtilities.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/omc_msvc.o include/./util/omc_msvc.c include/./util/ModelicaUtilities.c: In function 'ModelicaError': include/./util/ModelicaUtilities.c:68:1: warning: 'noreturn' function does return } ^ include/./util/ModelicaUtilities.c: In function 'ModelicaVFormatError': include/./util/ModelicaUtilities.c:72:1: warning: 'noreturn' function does return } ^ include/./util/ModelicaUtilities.c: In function 'ModelicaFormatError': include/./util/ModelicaUtilities.c:79:1: warning: 'noreturn' function does return } ^ gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/simulation_options.o include/./util/simulation_options.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/cJSON.o include/./util/cJSON.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/rational.o include/./util/rational.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/modelica_string_lit.o include/./util/modelica_string_lit.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/omc_init.o include/./util/omc_init.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./util/omc_mmap.o include/./util/omc_mmap.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./math-support/pivot.o include/./math-support/pivot.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/simulation_info_json.o include/./simulation/simulation_info_json.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/options.o include/./simulation/options.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/simulation_omc_assert.o include/./simulation/simulation_omc_assert.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/delay.o include/./simulation/solver/delay.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSystem.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverLapack.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/linearSolverTotalPivot.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/fmi_events.o include/./simulation/solver/fmi_events.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/omc_math.o include/./simulation/solver/omc_math.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/model_help.o include/./simulation/solver/model_help.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/stateset.o include/./simulation/solver/stateset.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/synchronous.o include/./simulation/solver/synchronous.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./simulation/solver/initialization/initialization.o include/./simulation/solver/initialization/initialization.c gcc -falign-functions -msse2 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o include/./meta/meta_modelica_catch.o include/./meta/meta_modelica_catch.c g++ -shared -I. -o Modelica_Blocks_Examples_Filter.dll Modelica_Blocks_Examples_Filter_FMU.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/fmi_events.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o Modelica_Blocks_Examples_Filter.o Modelica_Blocks_Examples_Filter_functions.o Modelica_Blocks_Examples_Filter_records.o Modelica_Blocks_Examples_Filter_01exo.o Modelica_Blocks_Examples_Filter_02nls.o Modelica_Blocks_Examples_Filter_03lsy.o Modelica_Blocks_Examples_Filter_04set.o Modelica_Blocks_Examples_Filter_05evt.o Modelica_Blocks_Examples_Filter_06inz.o Modelica_Blocks_Examples_Filter_07dly.o Modelica_Blocks_Examples_Filter_08bnd.o Modelica_Blocks_Examples_Filter_09alg.o Modelica_Blocks_Examples_Filter_10asr.o Modelica_Blocks_Examples_Filter_11mix.o Modelica_Blocks_Examples_Filter_12jac.o Modelica_Blocks_Examples_Filter_13opt.o Modelica_Blocks_Examples_Filter_14lnz.o Modelica_Blocks_Examples_Filter_15syn.o Modelica_Blocks_Examples_Filter_16dae.o Modelica_Blocks_Examples_Filter_17inl.o Modelica_Blocks_Examples_Filter_init_fmu.o -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_Blocks_Examples_Filter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"C:/OpenModelica1.13.0-dev-64bit/lib/omlibrary/Modelica 3.2.2/Blocks" "-LC:/OpenModelica1.13.0-dev-64bit//lib//omc" "-LC:/OpenModelica1.13.0-dev-64bit//lib/" "-L%APPDATA%/.openmodelica/binaries/Modelica" "-LC:/OpenModelica1.13.0-dev-64bit/lib/omlibrary/Modelica 3.2.2/Resources/Library/mingw64" "-LC:/OpenModelica1.13.0-dev-64bit/lib/omlibrary/Modelica 3.2.2/Resources/Library/win64" "-LC:/OpenModelica1.13.0-dev-64bit/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaExternalC -falign-functions -msse2 -mfpmath=sse -L"C:/OpenModelica1.13.0-dev-64bit//lib//omc" -Wl,-rpath,"C:/OpenModelica1.13.0-dev-64bit//lib//omc" -lregex -lexpat -lomcgc -lpthread -fopenmp -loleaut32 -limagehlp -lz -lhdf5 -lregex -static-libgcc -lpthread -lm -lgfortranbegin -lgfortran -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -limagehlp -lopenblas -lz -lhdf5 -llis -Wl,--kill-at Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0x91eb): undefined reference to `mmc_mk_modelica_array' Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0x921a): undefined reference to `mmc_mk_modelica_array' Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0x9a56): undefined reference to `mmc_mk_modelica_array' Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0x9a91): undefined reference to `mmc_mk_modelica_array' Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0x9ad2): undefined reference to `mmc_mk_modelica_array' Modelica_Blocks_Examples_Filter_functions.o:Modelica_Blocks_Examples_Filter_functions.c:(.text+0xb4ca): more undefined references to `mmc_mk_modelica_array' follow collect2.exe: error: ld returned 1 exit status Makefile:41: recipe for target 'Modelica_Blocks_Examples_Filter_FMU' failed mingw32-make: *** [Modelica_Blocks_Examples_Filter_FMU] Error 1 RESULT: 2 [2] 19:10:11 Scripting Error Error opening file: Modelica_Blocks_Examples_Filter.log: No such file or directory.
comment:4 by , 7 years ago
I managed to isolate the problem with mmc_mk_modelica_array. The following small model also triggers an FMU build error undefined reference to `mmc_mk_modelica_array'.
model vector_function function func input Real u[:]; output Real y[size(u, 1)]; protected algorithm y := u; end func; Real arg[2] = {1,2}; Real out[size(arg, 1)]; equation out = func(arg); end vector_function;
comment:6 by , 7 years ago
The function 'func' is being used.
out = func(arg);
Or is it something else being unused?
comment:8 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The generation of FMUs is now tested regularly on Hudson. All small enough ScalableTestSuite models are now converted to FMUs. Some of them, most notablyTransmissionLineModelica and HeatingSystem have issues at runtime.
The Modelica.Blocks.Examples model runs fine as an FMU, as well as most other MSL models.
Ticket retargeted after milestone closed