Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001469/0.00147, allocations: 189.5 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4832/0.4832, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.4 MB / 342.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009996, allocations: 83.36 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.1608, allocations: 78.44 MB / 493.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.5138, allocations: 72.31 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.148/3.662, allocations: 1.697 GB / 2.25 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/3.662, allocations: 69.88 kB / 2.25 GB, free: 132 MB / 0.6042 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.05665/3.718, allocations: 29.46 MB / 2.279 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/3.719, allocations: 8 kB / 2.279 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/3.719, allocations: 43.8 kB / 2.279 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/3.719, allocations: 167 kB / 2.279 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/3.719, allocations: 4 kB / 2.279 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/3.719, allocations: 8.938 kB / 2.279 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/3.719, allocations: 27.89 kB / 2.279 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/3.719, allocations: 93.09 kB / 2.279 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/3.719, allocations: 0 / 2.279 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/3.719, allocations: 3.938 kB / 2.279 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/3.719, allocations: 4 kB / 2.279 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/3.72, allocations: 0.5269 MB / 2.28 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/3.72, allocations: 85.56 kB / 2.28 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/3.72, allocations: 39.67 kB / 2.28 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/3.72, allocations: 0 / 2.28 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/3.72, allocations: 51.8 kB / 2.28 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/3.72, allocations: 0 / 2.28 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006815/3.721, allocations: 365.8 kB / 2.28 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/3.721, allocations: 132.5 kB / 2.28 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/3.721, allocations: 101.1 kB / 2.28 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/3.721, allocations: 25.7 kB / 2.28 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/3.721, allocations: 88.05 kB / 2.281 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/3.721, allocations: 51.2 kB / 2.281 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/3.721, allocations: 0 / 2.281 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/3.721, allocations: 330.9 kB / 2.281 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/3.721, allocations: 24.38 kB / 2.281 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/3.721, allocations: 69.94 kB / 2.281 GB, free: 99.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/3.721, allocations: 46.55 kB / 2.281 GB, free: 99.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/3.721, allocations: 0 / 2.281 GB, free: 99.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001608/3.721, allocations: 123.1 kB / 2.281 GB, free: 99.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/3.721, allocations: 8 kB / 2.281 GB, free: 99.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/3.721, allocations: 0 / 2.281 GB, free: 99.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/3.721, allocations: 8.031 kB / 2.281 GB, free: 99.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/3.722, allocations: 39.92 kB / 2.281 GB, free: 99.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/3.722, allocations: 160 / 2.281 GB, free: 99.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/3.722, allocations: 15.89 kB / 2.281 GB, free: 99.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/3.722, allocations: 4 kB / 2.281 GB, free: 99.73 MB / 0.6042 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 5.43e-05/3.722, allocations: 108.9 kB / 2.281 GB, free: 99.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/3.722, allocations: 7.906 kB / 2.281 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/3.722, allocations: 16.06 kB / 2.281 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/3.722, allocations: 0 / 2.281 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.722, allocations: 4 kB / 2.281 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/3.722, allocations: 0 / 2.281 GB, free: 99.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/3.722, allocations: 170.1 kB / 2.282 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/3.722, allocations: 4 kB / 2.282 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/3.722, allocations: 35.92 kB / 2.282 GB, free: 99.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/3.722, allocations: 0 / 2.282 GB, free: 99.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/3.722, allocations: 8.969 kB / 2.282 GB, free: 99.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/3.722, allocations: 0 / 2.282 GB, free: 99.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/3.722, allocations: 0 / 2.282 GB, free: 99.34 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002335/3.723, allocations: 480.2 kB / 2.282 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003464/3.723, allocations: 0.8804 MB / 2.283 GB, free: 97.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/3.723, allocations: 97 kB / 2.283 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/3.723, allocations: 0 / 2.283 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/3.723, allocations: 7.984 kB / 2.283 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/3.723, allocations: 11.98 kB / 2.283 GB, free: 97.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/3.723, allocations: 4 kB / 2.283 GB, free: 97.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.933e-05/3.724, allocations: 91.19 kB / 2.283 GB, free: 97.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001105/3.725, allocations: 93.58 kB / 2.283 GB, free: 97.6 MB / 0.6042 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.0006313/3.725, allocations: 0.6642 MB / 2.284 GB, free: 96.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001533/3.725, allocations: 77.8 kB / 2.284 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/3.725, allocations: 0 / 2.284 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/3.725, allocations: 32.38 kB / 2.284 GB, free: 96.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/3.726, allocations: 12.06 kB / 2.284 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/3.727, allocations: 438.1 kB / 2.284 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/3.727, allocations: 0.7205 MB / 2.285 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/3.727, allocations: 0 / 2.285 GB, free: 95.61 MB / 0.6042 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck/IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_FMU.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_FMU.c In file included from IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_functions.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_functions.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_functions.c:1: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_records.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_records.c In file included from IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_01exo.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_01exo.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_01exo.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_02nls.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_02nls.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_02nls.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_03lsy.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_03lsy.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_03lsy.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_04set.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_04set.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_04set.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_05evt.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_05evt.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_05evt.c:2: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_06inz.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_06inz.c In file included from IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_06inz.c:2: In file included from ./IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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: *** [: IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck/IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.def IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.a IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.so IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_FMU.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_functions.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_records.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_01exo.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_02nls.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_03lsy.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_04set.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_05evt.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_06inz.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_07dly.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_08bnd.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_09alg.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_10asr.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_11mix.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_12jac.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_13opt.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_14lnz.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_15syn.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_16dae.o IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_17inl.o IBPSA_latest_IBPSA_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