Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.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.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 191.7 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5103/0.5103, allocations: 90.85 MB / 99.08 MB, free: 14.91 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.271/1.271, allocations: 221.4 MB / 342.7 MB, free: 5.102 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.0009185/0.0009186, allocations: 104.7 kB / 415.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1529/0.1539, allocations: 78.45 MB / 494 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.4782, allocations: 72.3 MB / 0.553 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5765/1.055, allocations: 389.6 MB / 0.9334 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/1.055, allocations: 89.45 kB / 0.9335 GB, free: 0.7539 MB / 0.6042 GB Error: Variable tanSte.m_flow_nominal in package IBPSA.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 9.537/10.59, allocations: 2.904 GB / 3.838 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/10.59, allocations: 8 kB / 3.838 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/10.61, allocations: 1.943 MB / 3.84 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6473/11.25, allocations: 19.51 MB / 3.859 GB, free: 68.98 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/11.25, allocations: 417.7 kB / 3.859 GB, free: 68.98 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004461/11.26, allocations: 0.784 MB / 3.86 GB, free: 68.98 MB / 0.6824 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03501/11.29, allocations: 16.3 MB / 3.876 GB, free: 68.93 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04688/11.34, allocations: 17.21 MB / 3.893 GB, free: 67.16 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005311/11.34, allocations: 40.66 kB / 3.893 GB, free: 67.15 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003622/11.35, allocations: 25.31 kB / 3.893 GB, free: 67.15 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004012/11.35, allocations: 0.5106 MB / 3.893 GB, free: 67.12 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/11.47, allocations: 80.96 MB / 3.972 GB, free: 34.11 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/11.49, allocations: 11.8 MB / 3.984 GB, free: 34 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01125/11.5, allocations: 7.062 MB / 3.991 GB, free: 33.92 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05065/11.55, allocations: 25.45 MB / 4.016 GB, free: 27.23 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01147/11.56, allocations: 5.78 MB / 4.021 GB, free: 27.03 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=772): time 1.466e-05/11.56, allocations: 0 / 4.021 GB, free: 27.03 MB / 0.6824 GB Notification: Performance of matching and sorting (n=772): time 0.03482/11.6, allocations: 12.68 MB / 4.034 GB, free: 26.22 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/11.6, allocations: 166.5 kB / 4.034 GB, free: 26.11 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02133/11.62, allocations: 10.83 MB / 4.044 GB, free: 22.33 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.002814/11.62, allocations: 35.98 kB / 4.044 GB, free: 22.3 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.00986/11.63, allocations: 5.135 MB / 4.049 GB, free: 18.75 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.008169/11.64, allocations: 2.622 MB / 4.052 GB, free: 16.72 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/11.64, allocations: 0 / 4.052 GB, free: 16.72 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0008489/11.64, allocations: 0.834 MB / 4.053 GB, free: 16.18 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/11.65, allocations: 6.474 MB / 4.059 GB, free: 13.79 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/11.67, allocations: 9.828 MB / 4.069 GB, free: 7.324 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02684/11.69, allocations: 11.02 MB / 4.079 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/11.69, allocations: 28.12 kB / 4.079 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.3862/12.08, allocations: 21.26 MB / 4.1 GB, free: 64.02 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.01141/12.09, allocations: 52.96 MB / 4.152 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004069/12.09, allocations: 99.34 kB / 4.152 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/12.1, allocations: 3.128 MB / 4.155 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/12.11, allocations: 2.725 MB / 4.158 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/12.13, allocations: 13.45 MB / 4.171 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/12.14, allocations: 1.479 MB / 4.172 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003499/12.15, allocations: 0.5637 MB / 4.173 GB, free: 19.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/12.15, allocations: 2.969 kB / 4.173 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04567/12.19, allocations: 20.08 MB / 4.192 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004146/12.19, allocations: 111.7 kB / 4.193 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/12.2, allocations: 3.142 MB / 4.196 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01379/12.22, allocations: 2.726 MB / 4.198 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/12.23, allocations: 13.45 MB / 4.211 GB, free: 29.81 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/12.25, allocations: 1.213 MB / 4.213 GB, free: 29.76 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003835/12.25, allocations: 0.5649 MB / 4.213 GB, free: 29.76 MB / 0.7137 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.004991/12.26, allocations: 438.3 kB / 4.214 GB, free: 29.59 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005207/12.26, allocations: 1.091 MB / 4.215 GB, free: 29.21 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03728/12.3, allocations: 14.04 MB / 4.228 GB, free: 28.81 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.918e-05/12.3, allocations: 75.23 kB / 4.228 GB, free: 28.81 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/12.3, allocations: 9.938 kB / 4.228 GB, free: 28.81 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02326/12.33, allocations: 11.8 MB / 4.24 GB, free: 28.45 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0689/12.39, allocations: 28.3 MB / 4.268 GB, free: 27.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/12.39, allocations: 3.906 kB / 4.268 GB, free: 27.4 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006998/12.4, allocations: 1.226 MB / 4.269 GB, free: 27.39 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009556/12.41, allocations: 2.883 MB / 4.272 GB, free: 27.34 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002131/12.41, allocations: 99.81 kB / 4.272 GB, free: 27.34 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/12.43, allocations: 10.52 MB / 4.282 GB, free: 24.12 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/12.43, allocations: 5.719 kB / 4.282 GB, free: 24.12 MB / 0.7137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03909/12.47, allocations: 21.56 MB / 4.303 GB, free: 22.11 MB / 0.7137 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04905/12.52, allocations: 29.67 MB / 4.332 GB, free: 19.46 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009372/12.52, allocations: 3.052 MB / 4.335 GB, free: 17.82 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004097/12.53, allocations: 35.84 kB / 4.335 GB, free: 17.81 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/12.54, allocations: 0.5392 MB / 4.336 GB, free: 17.77 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/12.54, allocations: 415.4 kB / 4.336 GB, free: 17.7 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001112/12.54, allocations: 314.3 kB / 4.336 GB, free: 17.64 MB / 0.7137 GB Notification: Performance of sort global known variables: time 0.01516/12.56, allocations: 8.1 MB / 4.344 GB, free: 14.66 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.04252/12.6, allocations: 8.748 MB / 4.353 GB, free: 12.79 MB / 0.7137 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.004552/12.61, allocations: 1.598 MB / 4.354 GB, free: 12.41 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.366/12.97, allocations: 23.82 MB / 4.378 GB, free: 90.4 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/12.97, allocations: 6.969 kB / 4.378 GB, free: 90.4 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.009432/12.98, allocations: 5.749 MB / 4.383 GB, free: 90.14 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02715/13.01, allocations: 5.155 MB / 4.388 GB, free: 90.06 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06246/13.07, allocations: 29.07 MB / 4.417 GB, free: 85.65 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02187/13.09, allocations: 11.45 MB / 4.428 GB, free: 84.61 MB / 0.7137 GB Notification: Performance of SimCode: time 1.333e-06/13.09, allocations: 0 / 4.428 GB, free: 84.61 MB / 0.7137 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics/IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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; ^ IBPSA_latest_IBPSA_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; ^ IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50458:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50705: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: *** [: IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics/IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.def IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.a IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.so IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o IBPSA_latest_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o IBPSA_latest_IBPSA_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