Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",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 8.0.1-maint.8.0.x/package.mo): time 1.364/1.364, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009851, allocations: 181.2 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007836/0.0007834, allocations: 96.67 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2225/0.2233, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.7541, allocations: 115.3 MB / 0.9638 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7447/1.499, allocations: 425.6 MB / 1.379 GB, free: 137 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/1.499, allocations: 89.48 kB / 1.379 GB, free: 137 MB / 0.8542 GB Error: Variable tanSte.m_flow_nominal in package Buildings.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 8.272/9.771, allocations: 2.819 GB / 4.199 GB, free: 15.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/9.771, allocations: 8.5 kB / 4.199 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/9.785, allocations: 1.916 MB / 4.2 GB, free: 13.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7526/10.54, allocations: 18.95 MB / 4.219 GB, free: 154.8 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006657/10.54, allocations: 418.7 kB / 4.219 GB, free: 154.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005272/10.54, allocations: 0.7888 MB / 4.22 GB, free: 154.8 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0378/10.58, allocations: 16.3 MB / 4.236 GB, free: 154.7 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04808/10.63, allocations: 17.21 MB / 4.253 GB, free: 153 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009801/10.63, allocations: 37.38 kB / 4.253 GB, free: 153 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00491/10.64, allocations: 23.62 kB / 4.253 GB, free: 153 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/10.64, allocations: 397.4 kB / 4.253 GB, free: 153 MB / 1.011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1275/10.76, allocations: 80.9 MB / 4.332 GB, free: 120.9 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/10.78, allocations: 11.81 MB / 4.344 GB, free: 120.8 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01079/10.79, allocations: 7.058 MB / 4.351 GB, free: 120.7 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05193/10.85, allocations: 25.45 MB / 4.376 GB, free: 114.2 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01017/10.86, allocations: 5.785 MB / 4.381 GB, free: 114 MB / 1.011 GB Notification: Performance of pre-optimization done (n=772): time 1.413e-05/10.86, allocations: 0 / 4.381 GB, free: 114 MB / 1.011 GB Notification: Performance of matching and sorting (n=772): time 0.03166/10.89, allocations: 12.67 MB / 4.394 GB, free: 113.2 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/10.89, allocations: 163.9 kB / 4.394 GB, free: 113.1 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02183/10.91, allocations: 10.67 MB / 4.404 GB, free: 112.5 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002445/10.91, allocations: 37.77 kB / 4.404 GB, free: 112.5 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.009291/10.92, allocations: 5.118 MB / 4.409 GB, free: 109.7 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.008024/10.93, allocations: 2.629 MB / 4.412 GB, free: 108 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002299/10.93, allocations: 0 / 4.412 GB, free: 108 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001381/10.93, allocations: 0.8271 MB / 4.413 GB, free: 107.7 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/10.94, allocations: 6.472 MB / 4.419 GB, free: 107.7 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/10.96, allocations: 9.824 MB / 4.428 GB, free: 103.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02399/10.98, allocations: 11.03 MB / 4.439 GB, free: 103.7 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/10.98, allocations: 28.66 kB / 4.439 GB, free: 103.7 MB / 1.011 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05002/11.03, allocations: 21.25 MB / 4.46 GB, free: 102.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.009146/11.04, allocations: 52.47 MB / 4.511 GB, free: 48.06 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004056/11.04, allocations: 98.38 kB / 4.511 GB, free: 48.06 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/11.05, allocations: 3.134 MB / 4.514 GB, free: 47.93 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/11.06, allocations: 2.722 MB / 4.517 GB, free: 47.84 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/11.08, allocations: 13.45 MB / 4.53 GB, free: 39.26 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01589/11.1, allocations: 1.476 MB / 4.532 GB, free: 38.59 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004016/11.1, allocations: 0.5642 MB / 4.532 GB, free: 38.49 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/11.1, allocations: 6.125 kB / 4.532 GB, free: 38.49 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04474/11.15, allocations: 20.08 MB / 4.552 GB, free: 32.57 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003709/11.15, allocations: 99.75 kB / 4.552 GB, free: 32.57 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008888/11.16, allocations: 3.154 MB / 4.555 GB, free: 31.89 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/11.17, allocations: 2.721 MB / 4.558 GB, free: 31.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/11.18, allocations: 13.46 MB / 4.571 GB, free: 23.21 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01421/11.2, allocations: 1.224 MB / 4.572 GB, free: 22.73 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003062/11.2, allocations: 0.562 MB / 4.573 GB, free: 22.63 MB / 1.011 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tanDyn.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanDyn.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: tanSte.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanSte.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1454): * Single equations (assignments): 1448 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.004957/11.21, allocations: 438.4 kB / 4.573 GB, free: 22.29 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004558/11.21, allocations: 1.074 MB / 4.574 GB, free: 21.72 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/11.24, allocations: 14.02 MB / 4.588 GB, free: 17.07 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.588e-05/11.24, allocations: 85.53 kB / 4.588 GB, free: 17.07 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.391e-05/11.24, allocations: 8.625 kB / 4.588 GB, free: 17.07 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02171/11.26, allocations: 11.8 MB / 4.599 GB, free: 13.14 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4749/11.74, allocations: 29.27 MB / 4.628 GB, free: 143.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/11.74, allocations: 7 kB / 4.628 GB, free: 143.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005965/11.74, allocations: 1.225 MB / 4.629 GB, free: 143.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008777/11.75, allocations: 2.872 MB / 4.632 GB, free: 143 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001652/11.75, allocations: 101.8 kB / 4.632 GB, free: 143 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/11.76, allocations: 10.52 MB / 4.642 GB, free: 140 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/11.76, allocations: 7.328 kB / 4.642 GB, free: 140 MB / 1.011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0343/11.8, allocations: 21.52 MB / 4.663 GB, free: 138.6 MB / 1.011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03934/11.84, allocations: 29.64 MB / 4.692 GB, free: 136.7 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008447/11.85, allocations: 3.04 MB / 4.695 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003432/11.85, allocations: 34.05 kB / 4.695 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008676/11.86, allocations: 0.5483 MB / 4.696 GB, free: 136 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007766/11.86, allocations: 409.6 kB / 4.696 GB, free: 136 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007634/11.86, allocations: 317.1 kB / 4.696 GB, free: 136 MB / 1.011 GB Notification: Performance of sort global known variables: time 0.01331/11.87, allocations: 7.969 MB / 4.704 GB, free: 135.8 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.0384/11.91, allocations: 8.735 MB / 4.713 GB, free: 135.1 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.003991/11.92, allocations: 1.605 MB / 4.714 GB, free: 134.8 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.03711/11.95, allocations: 23.73 MB / 4.738 GB, free: 134.1 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/11.95, allocations: 7.562 kB / 4.738 GB, free: 134.1 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.008342/11.96, allocations: 5.746 MB / 4.743 GB, free: 133.8 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02641/11.99, allocations: 5.157 MB / 4.748 GB, free: 133.8 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06061/12.05, allocations: 28.85 MB / 4.776 GB, free: 129.4 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02195/12.07, allocations: 11.38 MB / 4.787 GB, free: 128.3 MB / 1.011 GB Notification: Performance of SimCode: time 1.203e-06/12.07, allocations: 0 / 4.787 GB, free: 128.3 MB / 1.011 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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=Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2881:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3128:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49704:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49951:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.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 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_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/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.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 include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o