Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.734/0.734, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 87.56 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3631/0.3642, allocations: 82.89 MB / 0.5461 GB, free: 42.54 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.6226, allocations: 76.74 MB / 0.621 GB, free: 13.72 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/2.071, allocations: 388.2 MB / 1 GB, free: 94.57 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/2.072, allocations: 92.5 kB / 1 GB, free: 94.53 MB / 0.6198 GB Error: Variable tanSte.m_flow_nominal in package BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 11.32/13.39, allocations: 2.717 GB / 3.717 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/13.39, allocations: 11.08 kB / 3.717 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/13.41, allocations: 1.9 MB / 3.719 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08444/13.49, allocations: 21.47 MB / 3.74 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001398/13.5, allocations: 423.9 kB / 3.74 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00967/13.51, allocations: 0.7889 MB / 3.741 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05116/13.56, allocations: 16.05 MB / 3.757 GB, free: 20 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06546/13.62, allocations: 16.81 MB / 3.773 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001085/13.62, allocations: 47.41 kB / 3.773 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007328/13.63, allocations: 16 kB / 3.773 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/13.63, allocations: 399.8 kB / 3.774 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.367/15, allocations: 81.33 MB / 3.853 GB, free: 36.51 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/15.02, allocations: 11.48 MB / 3.864 GB, free: 36.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01245/15.03, allocations: 6.861 MB / 3.871 GB, free: 36.3 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06787/15.1, allocations: 23.94 MB / 3.894 GB, free: 30.58 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01286/15.11, allocations: 5.034 MB / 3.899 GB, free: 30.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=756): time 1.496e-05/15.11, allocations: 4.562 kB / 3.899 GB, free: 30.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=756): time 0.03503/15.15, allocations: 12.32 MB / 3.911 GB, free: 29.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/15.15, allocations: 135 kB / 3.911 GB, free: 29.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02953/15.18, allocations: 10.45 MB / 3.922 GB, free: 28.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003581/15.18, allocations: 28.27 kB / 3.922 GB, free: 28.92 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01243/15.2, allocations: 5.155 MB / 3.927 GB, free: 26.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.009539/15.21, allocations: 2.572 MB / 3.929 GB, free: 24.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003923/15.21, allocations: 2.094 kB / 3.929 GB, free: 24.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.002485/15.21, allocations: 0.8312 MB / 3.93 GB, free: 24.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01612/15.23, allocations: 6.248 MB / 3.936 GB, free: 24.42 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02155/15.25, allocations: 9.718 MB / 3.945 GB, free: 20.44 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03455/15.28, allocations: 10.82 MB / 3.956 GB, free: 18.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003949/15.28, allocations: 29.41 kB / 3.956 GB, free: 18.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.07108/15.36, allocations: 20.8 MB / 3.976 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.02662/15.38, allocations: 54.96 MB / 4.03 GB, free: 2.254 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008333/15.38, allocations: 104.2 kB / 4.03 GB, free: 2.254 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009629/15.39, allocations: 2.773 MB / 4.033 GB, free: 1.629 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01618/15.41, allocations: 2.725 MB / 4.036 GB, free: 1.359 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/15.43, allocations: 13.3 MB / 4.049 GB, free: 8.762 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02151/15.45, allocations: 1.405 MB / 4.05 GB, free: 8.094 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005362/15.46, allocations: 0.5727 MB / 4.05 GB, free: 7.992 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/15.46, allocations: 5.312 kB / 4.05 GB, free: 7.992 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06963/15.53, allocations: 19.6 MB / 4.07 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000745/15.53, allocations: 104 kB / 4.07 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7175/16.24, allocations: 2.838 MB / 4.072 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/16.26, allocations: 2.714 MB / 4.075 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/16.28, allocations: 13.31 MB / 4.088 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02003/16.3, allocations: 1.141 MB / 4.089 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005698/16.3, allocations: 0.5694 MB / 4.09 GB, free: 117.1 MB / 0.823 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: 470 * 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 (1452): * Single equations (assignments): 1446 * 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.0076/16.31, allocations: 437.6 kB / 4.09 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006013/16.31, allocations: 1.057 MB / 4.091 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03657/16.35, allocations: 13.54 MB / 4.104 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/16.35, allocations: 82.03 kB / 4.105 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/16.35, allocations: 3.969 kB / 4.105 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02985/16.38, allocations: 11.44 MB / 4.116 GB, free: 116.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08805/16.47, allocations: 24.72 MB / 4.14 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-05/16.47, allocations: 3.281 kB / 4.14 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008368/16.48, allocations: 1.17 MB / 4.141 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009422/16.49, allocations: 2.509 MB / 4.143 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003178/16.49, allocations: 93.59 kB / 4.144 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/16.51, allocations: 10.37 MB / 4.154 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/16.51, allocations: 0 / 4.154 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0517/16.56, allocations: 20.07 MB / 4.173 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06698/16.63, allocations: 27.9 MB / 4.201 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01397/16.64, allocations: 2.866 MB / 4.203 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007345/16.65, allocations: 37.25 kB / 4.203 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/16.66, allocations: 0.4986 MB / 4.204 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002818/16.67, allocations: 394.1 kB / 4.204 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002632/16.67, allocations: 248.8 kB / 4.204 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.02315/16.69, allocations: 7.808 MB / 4.212 GB, free: 108.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.06038/16.75, allocations: 8.566 MB / 4.22 GB, free: 107.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (589): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007137/16.76, allocations: 1.618 MB / 4.222 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.06042/16.82, allocations: 23.09 MB / 4.245 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/16.82, allocations: 5.656 kB / 4.245 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01562/16.84, allocations: 5.519 MB / 4.25 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03806/16.87, allocations: 5.078 MB / 4.255 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/16.97, allocations: 28.43 MB / 4.283 GB, free: 79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03566/17.01, allocations: 11.31 MB / 4.294 GB, free: 70.66 MB / 0.823 GB Notification: Performance of SimCode: time 2.164e-06/17.01, allocations: 1.094 kB / 4.294 GB, free: 70.66 MB / 0.823 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics/BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2482:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2729:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49129:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:49376:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[775] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics/BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.def BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.a BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.so BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_HeatExchangerDynamics_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o