Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.259/2.259, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 185.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 0.5658 GB, free: 408 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 101 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.456/0.4573, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.6512, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/2.076, allocations: 418.8 MB / 1.292 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/2.076, allocations: 89.22 kB / 1.293 GB, free: 244.2 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 13.14/15.22, allocations: 2.749 GB / 4.041 GB, free: 70.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/15.22, allocations: 7.281 kB / 4.041 GB, free: 70.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/15.23, allocations: 1.912 MB / 4.043 GB, free: 69.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07183/15.31, allocations: 18.87 MB / 4.062 GB, free: 67.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009881/15.31, allocations: 420.6 kB / 4.062 GB, free: 67.87 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007914/15.32, allocations: 0.7873 MB / 4.063 GB, free: 67.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05968/15.37, allocations: 16.3 MB / 4.079 GB, free: 67.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06792/15.44, allocations: 17.04 MB / 4.095 GB, free: 66.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001094/15.44, allocations: 43.7 kB / 4.095 GB, free: 66.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006045/15.45, allocations: 17.47 kB / 4.095 GB, free: 66.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004984/15.45, allocations: 396.9 kB / 4.096 GB, free: 66.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1882/15.64, allocations: 80.71 MB / 4.175 GB, free: 32.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03356/15.67, allocations: 11.8 MB / 4.186 GB, free: 32.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0185/15.69, allocations: 7.063 MB / 4.193 GB, free: 32.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07705/15.77, allocations: 25.31 MB / 4.218 GB, free: 26 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01743/15.79, allocations: 5.651 MB / 4.223 GB, free: 25.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=772): time 1.558e-05/15.79, allocations: 3.594 kB / 4.223 GB, free: 25.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=772): time 0.04866/15.83, allocations: 12.67 MB / 4.236 GB, free: 24.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/15.83, allocations: 153.9 kB / 4.236 GB, free: 24.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03304/15.87, allocations: 10.67 MB / 4.246 GB, free: 20.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003073/15.87, allocations: 32.39 kB / 4.246 GB, free: 20.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01354/15.88, allocations: 5.12 MB / 4.251 GB, free: 17.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0115/15.9, allocations: 2.623 MB / 4.254 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/15.9, allocations: 0 / 4.254 GB, free: 15.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001675/15.9, allocations: 0.8348 MB / 4.255 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01918/15.92, allocations: 6.469 MB / 4.261 GB, free: 12.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02299/15.94, allocations: 9.822 MB / 4.271 GB, free: 5.695 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04359/15.99, allocations: 11.03 MB / 4.281 GB, free: 2.293 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002352/15.99, allocations: 28 kB / 4.281 GB, free: 2.293 MB / 0.948 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.1006/16.09, allocations: 21.37 MB / 4.302 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.9415/17.03, allocations: 52.46 MB / 4.353 GB, free: 168.7 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005319/17.03, allocations: 100.9 kB / 4.354 GB, free: 168.7 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/17.05, allocations: 3.13 MB / 4.357 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02383/17.07, allocations: 2.722 MB / 4.359 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/17.1, allocations: 13.45 MB / 4.372 GB, free: 163 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03143/17.13, allocations: 1.478 MB / 4.374 GB, free: 163 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004785/17.14, allocations: 0.5598 MB / 4.374 GB, free: 163 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/17.14, allocations: 4.594 kB / 4.374 GB, free: 163 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1007/17.24, allocations: 20.08 MB / 4.394 GB, free: 162.7 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000501/17.24, allocations: 100.2 kB / 4.394 GB, free: 162.7 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02009/17.26, allocations: 3.149 MB / 4.397 GB, free: 162.6 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02418/17.28, allocations: 2.725 MB / 4.4 GB, free: 162.6 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03015/17.31, allocations: 13.45 MB / 4.413 GB, free: 157 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/17.34, allocations: 1.216 MB / 4.414 GB, free: 157 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004674/17.34, allocations: 0.5601 MB / 4.415 GB, free: 157 MB / 0.9949 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.006886/17.35, allocations: 442 kB / 4.415 GB, free: 156.8 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006343/17.36, allocations: 1.073 MB / 4.416 GB, free: 156.7 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0626/17.42, allocations: 14.02 MB / 4.43 GB, free: 156.3 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000183/17.42, allocations: 74.06 kB / 4.43 GB, free: 156.3 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.115e-05/17.42, allocations: 4.906 kB / 4.43 GB, free: 156.3 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04256/17.46, allocations: 11.81 MB / 4.441 GB, free: 155.9 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1048/17.57, allocations: 28.12 MB / 4.469 GB, free: 154.8 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/17.57, allocations: 5.703 kB / 4.469 GB, free: 154.8 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01351/17.58, allocations: 1.228 MB / 4.47 GB, free: 154.8 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/17.6, allocations: 2.872 MB / 4.473 GB, free: 154.8 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002321/17.6, allocations: 95.03 kB / 4.473 GB, free: 154.8 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02474/17.62, allocations: 10.53 MB / 4.483 GB, free: 151.6 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/17.62, allocations: 11.45 kB / 4.483 GB, free: 151.6 MB / 0.9949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0663/17.69, allocations: 21.51 MB / 4.504 GB, free: 149.6 MB / 0.9949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1064/17.8, allocations: 29.63 MB / 4.533 GB, free: 147.1 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01877/17.82, allocations: 2.982 MB / 4.536 GB, free: 146.4 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008437/17.83, allocations: 40.27 kB / 4.536 GB, free: 146.4 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02627/17.85, allocations: 0.5396 MB / 4.537 GB, free: 146.3 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003345/17.85, allocations: 408.5 kB / 4.537 GB, free: 146.3 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003409/17.86, allocations: 288.8 kB / 4.537 GB, free: 146.3 MB / 0.9949 GB Notification: Performance of sort global known variables: time 0.03276/17.89, allocations: 7.969 MB / 4.545 GB, free: 146 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.07651/17.97, allocations: 8.719 MB / 4.554 GB, free: 144.8 MB / 0.9949 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.008631/17.98, allocations: 1.607 MB / 4.555 GB, free: 144.5 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.09757/18.07, allocations: 23.72 MB / 4.578 GB, free: 143.7 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/18.07, allocations: 3.938 kB / 4.578 GB, free: 143.7 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01793/18.09, allocations: 5.755 MB / 4.584 GB, free: 143.5 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05134/18.14, allocations: 5.15 MB / 4.589 GB, free: 143.4 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1109/18.25, allocations: 28.85 MB / 4.617 GB, free: 134.8 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03784/18.29, allocations: 11.38 MB / 4.628 GB, free: 131.7 MB / 0.9949 GB Notification: Performance of SimCode: time 1.583e-06/18.29, allocations: 0 / 4.628 GB, free: 131.7 MB / 0.9949 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_7_0_0_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 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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_7_0_0_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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_7_0_0_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... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_7_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_7_0_0_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