Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001055/0.001055, allocations: 189.2 kB / 366.3 MB, free: 1.973 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.385/1.385, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008801/0.0008798, allocations: 95.31 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2669/0.2678, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.9576, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.982/1.94, allocations: 426.6 MB / 1.389 GB, free: 58.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.94, allocations: 87.52 kB / 1.389 GB, free: 58.03 MB / 0.823 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 10.95/12.89, allocations: 2.819 GB / 4.208 GB, free: 82.46 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/12.89, allocations: 7.5 kB / 4.208 GB, free: 82.46 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/12.91, allocations: 1.924 MB / 4.21 GB, free: 81.57 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05688/12.96, allocations: 18.94 MB / 4.229 GB, free: 79.91 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/12.96, allocations: 418.1 kB / 4.229 GB, free: 79.91 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008621/12.97, allocations: 0.7893 MB / 4.23 GB, free: 79.9 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04422/13.02, allocations: 16.31 MB / 4.246 GB, free: 79.84 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06556/13.08, allocations: 17.2 MB / 4.263 GB, free: 78.07 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001057/13.08, allocations: 36.62 kB / 4.263 GB, free: 78.07 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006637/13.09, allocations: 26.66 kB / 4.263 GB, free: 78.07 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000393/13.09, allocations: 395.3 kB / 4.263 GB, free: 78.07 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1487/13.24, allocations: 80.92 MB / 4.342 GB, free: 44.99 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02139/13.26, allocations: 11.8 MB / 4.354 GB, free: 44.85 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01164/13.27, allocations: 7.058 MB / 4.361 GB, free: 44.77 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05741/13.33, allocations: 25.46 MB / 4.385 GB, free: 38.04 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01239/13.34, allocations: 5.778 MB / 4.391 GB, free: 37.83 MB / 1.026 GB Notification: Performance of pre-optimization done (n=772): time 1.555e-05/13.34, allocations: 0 / 4.391 GB, free: 37.83 MB / 1.026 GB Notification: Performance of matching and sorting (n=772): time 0.03477/13.38, allocations: 12.67 MB / 4.403 GB, free: 37.03 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/13.38, allocations: 158.3 kB / 4.404 GB, free: 36.93 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02546/13.4, allocations: 10.67 MB / 4.414 GB, free: 36.21 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003105/13.41, allocations: 37.25 kB / 4.414 GB, free: 36.18 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0106/13.42, allocations: 5.113 MB / 4.419 GB, free: 33.36 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.009656/13.43, allocations: 2.627 MB / 4.422 GB, free: 31.67 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003449/13.43, allocations: 0 / 4.422 GB, free: 31.67 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001925/13.43, allocations: 0.8282 MB / 4.422 GB, free: 31.34 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01334/13.44, allocations: 6.472 MB / 4.429 GB, free: 31.3 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01713/13.46, allocations: 9.829 MB / 4.438 GB, free: 25.95 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02658/13.49, allocations: 11.03 MB / 4.449 GB, free: 22.54 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/13.49, allocations: 28.72 kB / 4.449 GB, free: 22.54 MB / 1.026 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05975/13.55, allocations: 21.26 MB / 4.47 GB, free: 16 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01935/13.57, allocations: 52.46 MB / 4.521 GB, free: 8.508 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005304/13.57, allocations: 103.9 kB / 4.521 GB, free: 8.508 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/13.58, allocations: 3.13 MB / 4.524 GB, free: 7.848 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01409/13.59, allocations: 2.727 MB / 4.527 GB, free: 7.758 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/13.61, allocations: 13.46 MB / 4.54 GB, free: 15.14 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01957/13.63, allocations: 1.476 MB / 4.542 GB, free: 14.48 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004536/13.64, allocations: 0.5616 MB / 4.542 GB, free: 14.38 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/13.64, allocations: 5.25 kB / 4.542 GB, free: 14.38 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05791/13.69, allocations: 20.07 MB / 4.562 GB, free: 7.543 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004192/13.69, allocations: 106.5 kB / 4.562 GB, free: 7.441 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/13.7, allocations: 3.147 MB / 4.565 GB, free: 4.973 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/13.72, allocations: 2.727 MB / 4.568 GB, free: 2.734 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046/14.77, allocations: 13.45 MB / 4.581 GB, free: 200.5 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/14.78, allocations: 1.213 MB / 4.582 GB, free: 200.5 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004037/14.79, allocations: 0.5652 MB / 4.582 GB, free: 200.5 MB / 1.089 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.005903/14.79, allocations: 435.4 kB / 4.583 GB, free: 200.4 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00519/14.8, allocations: 1.083 MB / 4.584 GB, free: 200.4 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03327/14.83, allocations: 14.03 MB / 4.598 GB, free: 200 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.289e-05/14.83, allocations: 80.91 kB / 4.598 GB, free: 200 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/14.83, allocations: 3.719 kB / 4.598 GB, free: 200 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02281/14.85, allocations: 11.81 MB / 4.609 GB, free: 199.6 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06618/14.92, allocations: 28.26 MB / 4.637 GB, free: 198.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/14.92, allocations: 3.75 kB / 4.637 GB, free: 198.8 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006518/14.93, allocations: 1.222 MB / 4.638 GB, free: 198.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009399/14.94, allocations: 2.879 MB / 4.641 GB, free: 198.8 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001882/14.94, allocations: 97.3 kB / 4.641 GB, free: 198.8 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/14.95, allocations: 10.52 MB / 4.651 GB, free: 195.7 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.739e-05/14.95, allocations: 17.69 kB / 4.651 GB, free: 195.7 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04059/14.99, allocations: 21.52 MB / 4.672 GB, free: 193.9 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05578/15.05, allocations: 29.63 MB / 4.701 GB, free: 191.5 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01234/15.06, allocations: 3.039 MB / 4.704 GB, free: 190.8 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006253/15.07, allocations: 36.06 kB / 4.704 GB, free: 190.8 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/15.08, allocations: 0.5461 MB / 4.705 GB, free: 190.8 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002446/15.08, allocations: 413.9 kB / 4.705 GB, free: 190.8 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001714/15.08, allocations: 318.5 kB / 4.705 GB, free: 190.8 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.01911/15.1, allocations: 7.971 MB / 4.713 GB, free: 190.5 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.04906/15.15, allocations: 8.725 MB / 4.722 GB, free: 189.4 MB / 1.089 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.005054/15.16, allocations: 1.612 MB / 4.723 GB, free: 189 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.04808/15.21, allocations: 23.72 MB / 4.746 GB, free: 188.3 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/15.21, allocations: 8.812 kB / 4.746 GB, free: 188.3 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/15.22, allocations: 5.747 MB / 4.752 GB, free: 188 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03155/15.25, allocations: 5.152 MB / 4.757 GB, free: 187.9 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07465/15.32, allocations: 28.86 MB / 4.785 GB, free: 183.5 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03136/15.36, allocations: 11.38 MB / 4.796 GB, free: 182.5 MB / 1.089 GB Notification: Performance of SimCode: time 1.452e-06/15.36, allocations: 0 / 4.796 GB, free: 182.5 MB / 1.089 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_8_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_8_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_8_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_8_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_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_8_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_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_8_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_8_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