Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004924/0.004924, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7427/0.7427, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.4 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 103 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4422/0.4432, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.6052, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/4.85, allocations: 1.707 GB / 2.34 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004265/4.851, allocations: 68.91 kB / 2.34 GB, free: 260.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.05801/4.909, allocations: 29.45 MB / 2.369 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/4.909, allocations: 8 kB / 2.369 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/4.909, allocations: 35.89 kB / 2.369 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/4.909, allocations: 174.9 kB / 2.369 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/4.909, allocations: 0 / 2.369 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/4.909, allocations: 12 kB / 2.369 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.903e-05/4.909, allocations: 31.97 kB / 2.369 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/4.909, allocations: 86.77 kB / 2.369 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/4.909, allocations: 3.938 kB / 2.369 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/4.91, allocations: 4 kB / 2.369 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/4.91, allocations: 3.984 kB / 2.369 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/4.91, allocations: 0.5308 MB / 2.37 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.264e-05/4.91, allocations: 85.45 kB / 2.37 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/4.91, allocations: 35.56 kB / 2.37 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/4.91, allocations: 11.92 kB / 2.37 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/4.91, allocations: 42.48 kB / 2.37 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/4.91, allocations: 0 / 2.37 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0006871/4.911, allocations: 366.3 kB / 2.37 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/4.911, allocations: 136.5 kB / 2.37 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/4.911, allocations: 101 kB / 2.37 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/4.911, allocations: 25.7 kB / 2.37 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/4.911, allocations: 84.05 kB / 2.37 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/4.911, allocations: 59.3 kB / 2.37 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/4.911, allocations: 0 / 2.37 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/4.911, allocations: 322.8 kB / 2.371 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/4.911, allocations: 24.38 kB / 2.371 GB, free: 230 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/4.911, allocations: 74.12 kB / 2.371 GB, free: 230 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/4.911, allocations: 39.97 kB / 2.371 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/4.911, allocations: 4 kB / 2.371 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001564/4.912, allocations: 121.4 kB / 2.371 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/4.912, allocations: 4 kB / 2.371 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/4.912, allocations: 3.984 kB / 2.371 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/4.912, allocations: 8.094 kB / 2.371 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/4.912, allocations: 43.92 kB / 2.371 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/4.912, allocations: 4 kB / 2.371 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/4.912, allocations: 0 / 2.371 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/4.912, allocations: 11.91 kB / 2.371 GB, free: 229.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/4.912, allocations: 104.9 kB / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/4.912, allocations: 11.91 kB / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/4.912, allocations: 12.06 kB / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/4.912, allocations: 4 kB / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/4.912, allocations: 0 / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/4.912, allocations: 7.984 kB / 2.371 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/4.912, allocations: 162.2 kB / 2.371 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/4.912, allocations: 7.938 kB / 2.371 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/4.913, allocations: 35.83 kB / 2.371 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/4.913, allocations: 4 kB / 2.371 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/4.913, allocations: 3.984 kB / 2.371 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/4.913, allocations: 0 / 2.371 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/4.913, allocations: 8 kB / 2.371 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002328/4.913, allocations: 474.3 kB / 2.372 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003299/4.913, allocations: 0.8824 MB / 2.373 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/4.913, allocations: 93.02 kB / 2.373 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/4.913, allocations: 7.984 kB / 2.373 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/4.914, allocations: 4 kB / 2.373 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/4.914, allocations: 7.984 kB / 2.373 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/4.914, allocations: 8 kB / 2.373 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.441e-05/4.914, allocations: 83.28 kB / 2.373 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001097/4.915, allocations: 100 kB / 2.373 GB, free: 227.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/4.915, allocations: 0.6652 MB / 2.374 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000129/4.916, allocations: 71.92 kB / 2.374 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/4.916, allocations: 4.312 kB / 2.374 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/4.916, allocations: 31.94 kB / 2.374 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/4.916, allocations: 15.98 kB / 2.374 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/4.917, allocations: 430.7 kB / 2.374 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/4.917, allocations: 0.7192 MB / 2.375 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/4.917, allocations: 3.938 kB / 2.375 GB, free: 225.6 MB / 0.6823 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck/IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_FMU.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_FMU.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_functions.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_functions.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_functions.c:1: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_records.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_records.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_01exo.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_01exo.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_01exo.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_02nls.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_02nls.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_02nls.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_03lsy.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_03lsy.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_03lsy.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_04set.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_04set.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_04set.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_05evt.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_05evt.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_05evt.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Media_Examples_AirDerivativeCheck -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c In file included from IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c:2: In file included from ./IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c:21:80: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c:21:113: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c:47:91: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.c:47:135: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ 2 warnings and 4 errors generated. make: *** [: IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck/IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.def IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.a IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.so IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_FMU.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_functions.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_records.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_01exo.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_02nls.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_03lsy.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_04set.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_05evt.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_06inz.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_07dly.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_08bnd.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_09alg.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_10asr.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_11mix.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_12jac.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_13opt.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_14lnz.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_15syn.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_16dae.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_17inl.o IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_init_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/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