Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 248.6 MB / 255.9 MB, free: 7.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 186.5 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.1 MB / 0.5658 GB, free: 444 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002018/0.002018, allocations: 101.4 kB / 0.67 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5721/0.5741, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.7814, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.948/6.73, allocations: 2.208 GB / 3.091 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/6.73, allocations: 72.16 kB / 3.091 GB, free: 161.7 MB / 0.8698 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.1033/6.833, allocations: 29.36 MB / 3.12 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/6.833, allocations: 12 kB / 3.12 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/6.834, allocations: 39.8 kB / 3.12 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/6.834, allocations: 167 kB / 3.12 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/6.834, allocations: 4 kB / 3.12 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/6.834, allocations: 7.906 kB / 3.12 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/6.834, allocations: 31.23 kB / 3.12 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/6.834, allocations: 96.34 kB / 3.121 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/6.835, allocations: 0 / 3.121 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/6.835, allocations: 0 / 3.121 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/6.835, allocations: 4 kB / 3.121 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/6.835, allocations: 0.5256 MB / 3.121 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/6.835, allocations: 96.69 kB / 3.121 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/6.836, allocations: 35.3 kB / 3.121 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/6.836, allocations: 4 kB / 3.121 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/6.836, allocations: 42.09 kB / 3.121 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.394e-06/6.836, allocations: 0 / 3.121 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.001027/6.837, allocations: 367.8 kB / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/6.837, allocations: 132.5 kB / 3.122 GB, free: 136 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/6.837, allocations: 100.2 kB / 3.122 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/6.837, allocations: 29.7 kB / 3.122 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/6.837, allocations: 88.03 kB / 3.122 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/6.837, allocations: 50.39 kB / 3.122 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/6.837, allocations: 0 / 3.122 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/6.837, allocations: 318.4 kB / 3.122 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/6.837, allocations: 31.58 kB / 3.122 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/6.837, allocations: 69.38 kB / 3.122 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/6.837, allocations: 34.98 kB / 3.122 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.837, allocations: 4 kB / 3.122 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002693/6.838, allocations: 131.2 kB / 3.122 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/6.838, allocations: 9.406 kB / 3.123 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/6.838, allocations: 4 kB / 3.123 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/6.838, allocations: 4 kB / 3.123 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/6.838, allocations: 31.98 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/6.838, allocations: 11.84 kB / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/6.838, allocations: 160 / 3.123 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/6.838, allocations: 12 kB / 3.123 GB, free: 135.1 MB / 0.8698 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 8.061e-05/6.838, allocations: 108.6 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/6.838, allocations: 7.906 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/6.838, allocations: 15.55 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/6.838, allocations: 0 / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/6.838, allocations: 4 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/6.838, allocations: 0 / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/6.839, allocations: 169.5 kB / 3.123 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/6.839, allocations: 0 / 3.123 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/6.839, allocations: 43.55 kB / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/6.839, allocations: 0 / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/6.839, allocations: 4 kB / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/6.839, allocations: 3.938 kB / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/6.839, allocations: 0 / 3.123 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003943/6.84, allocations: 490.5 kB / 3.123 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005612/6.84, allocations: 0.8727 MB / 3.124 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/6.841, allocations: 96.98 kB / 3.124 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/6.841, allocations: 0 / 3.124 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/6.841, allocations: 4 kB / 3.124 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/6.841, allocations: 15.83 kB / 3.124 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/6.841, allocations: 7.562 kB / 3.124 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.637e-05/6.841, allocations: 95.14 kB / 3.124 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001644/6.843, allocations: 91.67 kB / 3.125 GB, free: 133.1 MB / 0.8698 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.0009148/6.844, allocations: 0.6617 MB / 3.125 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002859/6.844, allocations: 81.98 kB / 3.125 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/6.844, allocations: 0 / 3.125 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/6.844, allocations: 31.44 kB / 3.125 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/6.845, allocations: 8.484 kB / 3.125 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/6.846, allocations: 436.4 kB / 3.126 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/6.846, allocations: 0.7267 MB / 3.126 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.914e-06/6.846, allocations: 0 / 3.126 GB, free: 131.2 MB / 0.8698 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck/Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.fmutmp/sources' clang -fPIC -O0 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_FMU.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_FMU.c In file included from Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_functions.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_functions.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_records.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_records.c In file included from Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_01exo.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_01exo.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_02nls.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_02nls.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_03lsy.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_03lsy.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_03lsy.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_04set.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_04set.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_04set.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_05evt.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_05evt.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_05evt.c:2: In file included from ./Buildings_7_0_0_Buildings_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 -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=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.c In file included from Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.c:2: In file included from ./Buildings_7_0_0_Buildings_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); ^ Buildings_7_0_0_Buildings_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); ^ Buildings_7_0_0_Buildings_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); ^ Buildings_7_0_0_Buildings_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); ^ Buildings_7_0_0_Buildings_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. : recipe for target 'Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.o' failed make: *** [Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck/Buildings_7_0_0_Buildings_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... /bin/grep checking for egrep... /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 Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.def Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.a Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.so Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_FMU.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_functions.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_records.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_01exo.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_02nls.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_03lsy.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_04set.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_05evt.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_06inz.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_07dly.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_08bnd.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_09alg.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_10asr.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_11mix.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_12jac.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_13opt.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_14lnz.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_15syn.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_16dae.o Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck_17inl.o Buildings_7_0_0_Buildings_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