Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.854/3.854, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.505/4.359, allocations: 104.3 MB / 0.5319 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/4.583, allocations: 98.71 MB / 0.6283 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.992/5.575, allocations: 409.4 MB / 1.028 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/5.575, allocations: 93.31 kB / 1.028 GB, free: 10.62 MB / 0.7761 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.49/19.06, allocations: 2.726 GB / 3.754 GB, free: 67.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/19.06, allocations: 8.312 kB / 3.754 GB, free: 67.37 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/19.08, allocations: 1.908 MB / 3.756 GB, free: 66.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07138/19.15, allocations: 18.8 MB / 3.774 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009697/19.15, allocations: 421.3 kB / 3.775 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006993/19.16, allocations: 0.7892 MB / 3.775 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05769/19.21, allocations: 16.3 MB / 3.791 GB, free: 64.74 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07572/19.29, allocations: 16.89 MB / 3.808 GB, free: 62.96 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001076/19.29, allocations: 39.12 kB / 3.808 GB, free: 62.96 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005927/19.3, allocations: 23.66 kB / 3.808 GB, free: 62.96 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000515/19.3, allocations: 390 kB / 3.808 GB, free: 62.96 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1905/19.49, allocations: 80.8 MB / 3.887 GB, free: 29.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0337/19.52, allocations: 11.68 MB / 3.898 GB, free: 29.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0177/19.54, allocations: 7.006 MB / 3.905 GB, free: 29.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07498/19.61, allocations: 24.73 MB / 3.929 GB, free: 22.96 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01594/19.63, allocations: 5.471 MB / 3.935 GB, free: 22.76 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=762): time 1.548e-05/19.63, allocations: 0 / 3.935 GB, free: 22.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=762): time 0.04793/19.68, allocations: 12.57 MB / 3.947 GB, free: 18.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/19.68, allocations: 157 kB / 3.947 GB, free: 18.44 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03198/19.71, allocations: 10.66 MB / 3.958 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00254/19.71, allocations: 36.23 kB / 3.958 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01209/19.73, allocations: 5.136 MB / 3.963 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01107/19.74, allocations: 2.59 MB / 3.965 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003079/19.74, allocations: 3.75 kB / 3.965 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001402/19.74, allocations: 0.8298 MB / 3.966 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01871/19.76, allocations: 6.462 MB / 3.972 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0224/19.78, allocations: 9.815 MB / 3.982 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04422/19.83, allocations: 11.02 MB / 3.993 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001976/19.83, allocations: 27.53 kB / 3.993 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.09443/19.92, allocations: 21.24 MB / 4.013 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.8675/20.79, allocations: 52.39 MB / 4.065 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00049/20.79, allocations: 102.8 kB / 4.065 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/20.81, allocations: 3.121 MB / 4.068 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02384/20.83, allocations: 2.728 MB / 4.07 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/20.86, allocations: 13.45 MB / 4.084 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02529/20.89, allocations: 1.491 MB / 4.085 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004574/20.89, allocations: 0.5622 MB / 4.086 GB, free: 138.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/20.89, allocations: 6.125 kB / 4.086 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07482/20.97, allocations: 20.04 MB / 4.105 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005814/20.97, allocations: 108.6 kB / 4.105 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/20.98, allocations: 3.143 MB / 4.108 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02615/21.01, allocations: 2.725 MB / 4.111 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03553/21.05, allocations: 13.45 MB / 4.124 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02986/21.08, allocations: 1.216 MB / 4.125 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005138/21.08, allocations: 0.569 MB / 4.126 GB, free: 132.2 MB / 0.948 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.00829/21.09, allocations: 429.1 kB / 4.126 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007634/21.1, allocations: 1.064 MB / 4.127 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07587/21.17, allocations: 13.9 MB / 4.141 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/21.17, allocations: 77.56 kB / 4.141 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-05/21.17, allocations: 6.25 kB / 4.141 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04239/21.22, allocations: 11.71 MB / 4.152 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1114/21.33, allocations: 27.7 MB / 4.179 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001149/21.33, allocations: 3 kB / 4.179 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01634/21.34, allocations: 1.207 MB / 4.181 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02497/21.37, allocations: 2.87 MB / 4.183 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002896/21.37, allocations: 99.14 kB / 4.184 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03437/21.41, allocations: 10.54 MB / 4.194 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/21.41, allocations: 7.547 kB / 4.194 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08579/21.49, allocations: 20.92 MB / 4.214 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08577/21.58, allocations: 28.96 MB / 4.243 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0132/21.59, allocations: 2.899 MB / 4.245 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006472/21.6, allocations: 29.09 kB / 4.245 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01699/21.62, allocations: 0.5449 MB / 4.246 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002762/21.62, allocations: 397.8 kB / 4.246 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002151/21.62, allocations: 229.2 kB / 4.247 GB, free: 122.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0231/21.64, allocations: 7.956 MB / 4.254 GB, free: 122.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.05636/21.7, allocations: 8.701 MB / 4.263 GB, free: 121 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (597): * Single equations (assignments): 586 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005912/21.71, allocations: 1.604 MB / 4.264 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06849/21.77, allocations: 23.65 MB / 4.287 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/21.77, allocations: 4.969 kB / 4.287 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01685/21.79, allocations: 5.67 MB / 4.293 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0474/21.84, allocations: 5.117 MB / 4.298 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/21.95, allocations: 28.68 MB / 4.326 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03983/21.99, allocations: 11.34 MB / 4.337 GB, free: 105 MB / 0.948 GB Notification: Performance of SimCode: time 1.744e-06/21.99, allocations: 4 kB / 4.337 GB, free: 105 MB / 0.948 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2781:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3028:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49474:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49721:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_6_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_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_6_0_0_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_6_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