Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.905/1.905, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 178 kB / 487 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.3 MB / 0.7819 GB, free: 6.719 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 108.4 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3218/0.3228, allocations: 148.5 MB / 1.066 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/1.093, allocations: 142.3 MB / 1.205 GB, free: 72.75 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9872/2.08, allocations: 437.4 MB / 1.632 GB, free: 169.8 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/2.081, allocations: 87.75 kB / 1.632 GB, free: 169.8 MB / 1.01 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 9.669/11.75, allocations: 2.904 GB / 4.537 GB, free: 87.59 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/11.75, allocations: 10.44 kB / 4.537 GB, free: 87.59 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/11.77, allocations: 1.942 MB / 4.539 GB, free: 86.63 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0602/11.83, allocations: 19.49 MB / 4.558 GB, free: 68.44 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/11.83, allocations: 419.9 kB / 4.558 GB, free: 68.03 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007556/11.83, allocations: 0.7928 MB / 4.559 GB, free: 67.24 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0441/11.88, allocations: 16.3 MB / 4.575 GB, free: 50.93 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05947/11.94, allocations: 17.22 MB / 4.592 GB, free: 33.15 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00106/11.94, allocations: 35.66 kB / 4.592 GB, free: 33.11 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006169/11.95, allocations: 23.98 kB / 4.592 GB, free: 33.09 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005491/11.95, allocations: 0.5118 MB / 4.592 GB, free: 32.58 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.293/13.24, allocations: 80.97 MB / 4.671 GB, free: 192 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/13.26, allocations: 11.8 MB / 4.683 GB, free: 191.9 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01132/13.27, allocations: 7.063 MB / 4.69 GB, free: 191.8 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06416/13.34, allocations: 25.45 MB / 4.715 GB, free: 185.7 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01493/13.35, allocations: 5.78 MB / 4.72 GB, free: 185.5 MB / 1.229 GB Notification: Performance of pre-optimization done (n=772): time 1.941e-05/13.35, allocations: 0 / 4.72 GB, free: 185.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 0.03896/13.39, allocations: 12.69 MB / 4.733 GB, free: 185.3 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/13.39, allocations: 160.5 kB / 4.733 GB, free: 185.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03088/13.42, allocations: 10.83 MB / 4.743 GB, free: 184.6 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003203/13.42, allocations: 40.14 kB / 4.743 GB, free: 184.6 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01259/13.44, allocations: 5.146 MB / 4.748 GB, free: 182.6 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.009251/13.45, allocations: 2.617 MB / 4.751 GB, free: 180.9 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002448/13.45, allocations: 0 / 4.751 GB, free: 180.9 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.00118/13.45, allocations: 0.8389 MB / 4.752 GB, free: 180.6 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/13.46, allocations: 6.469 MB / 4.758 GB, free: 180.5 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01555/13.48, allocations: 9.824 MB / 4.768 GB, free: 176.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02632/13.5, allocations: 11.02 MB / 4.778 GB, free: 176.6 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002104/13.5, allocations: 30 kB / 4.778 GB, free: 176.6 MB / 1.229 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.06246/13.57, allocations: 21.27 MB / 4.799 GB, free: 175.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01264/13.58, allocations: 52.95 MB / 4.851 GB, free: 120.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007106/13.58, allocations: 96.88 kB / 4.851 GB, free: 120.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/13.59, allocations: 3.132 MB / 4.854 GB, free: 120.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01407/13.61, allocations: 2.725 MB / 4.857 GB, free: 120.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/13.62, allocations: 13.45 MB / 4.87 GB, free: 115 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01984/13.64, allocations: 1.478 MB / 4.871 GB, free: 114.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00553/13.65, allocations: 0.564 MB / 4.872 GB, free: 114.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/13.65, allocations: 3.531 kB / 4.872 GB, free: 114.3 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05406/13.7, allocations: 20.07 MB / 4.891 GB, free: 114.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003842/13.7, allocations: 99.53 kB / 4.892 GB, free: 114.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00949/13.71, allocations: 3.143 MB / 4.895 GB, free: 114 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/13.72, allocations: 2.729 MB / 4.897 GB, free: 114 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/13.74, allocations: 13.46 MB / 4.91 GB, free: 108.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01738/13.76, allocations: 1.215 MB / 4.912 GB, free: 107.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004351/13.76, allocations: 0.5632 MB / 4.912 GB, free: 107.7 MB / 1.229 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.005534/13.77, allocations: 434.5 kB / 4.913 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004347/13.77, allocations: 1.092 MB / 4.914 GB, free: 106.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03319/13.8, allocations: 14.06 MB / 4.927 GB, free: 106.5 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/13.8, allocations: 78.7 kB / 4.927 GB, free: 106.5 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.242e-05/13.8, allocations: 3.562 kB / 4.927 GB, free: 106.5 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02657/13.83, allocations: 11.8 MB / 4.939 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07199/13.9, allocations: 28.3 MB / 4.967 GB, free: 105.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/13.9, allocations: 3.844 kB / 4.967 GB, free: 105.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006809/13.91, allocations: 1.228 MB / 4.968 GB, free: 105.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009852/13.92, allocations: 2.877 MB / 4.971 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001991/13.92, allocations: 97.16 kB / 4.971 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/13.94, allocations: 10.53 MB / 4.981 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/13.94, allocations: 4.156 kB / 4.981 GB, free: 100.9 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04574/13.98, allocations: 21.56 MB / 5.002 GB, free: 92.3 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05661/14.04, allocations: 29.67 MB / 5.031 GB, free: 80.26 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01267/14.05, allocations: 3.051 MB / 5.034 GB, free: 78.62 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006453/14.06, allocations: 36.48 kB / 5.034 GB, free: 78.61 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0132/14.07, allocations: 0.5424 MB / 5.035 GB, free: 78.57 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002719/14.07, allocations: 404.7 kB / 5.035 GB, free: 78.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002494/14.08, allocations: 320.9 kB / 5.035 GB, free: 78.45 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.01957/14.1, allocations: 8.102 MB / 5.043 GB, free: 75.46 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05034/14.15, allocations: 8.741 MB / 5.052 GB, free: 73.59 MB / 1.229 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.005677/14.15, allocations: 1.609 MB / 5.053 GB, free: 73.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.05039/14.2, allocations: 23.74 MB / 5.076 GB, free: 57.12 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-05/14.2, allocations: 8.781 kB / 5.077 GB, free: 57.11 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/14.21, allocations: 5.742 MB / 5.082 GB, free: 52 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03013/14.24, allocations: 5.15 MB / 5.087 GB, free: 48.51 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07397/14.32, allocations: 29.06 MB / 5.116 GB, free: 24.01 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02053/14.34, allocations: 11.45 MB / 5.127 GB, free: 15.59 MB / 1.229 GB Notification: Performance of SimCode: time 8.02e-07/14.34, allocations: 0 / 5.127 GB, free: 15.59 MB / 1.229 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./Buildings_9_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_9_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_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50458:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:50705:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 4 errors generated. make: *** [: Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics/Buildings_9_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_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.def Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.a Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.so Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_records.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_07dly.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_08bnd.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_09alg.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_10asr.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_11mix.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_12jac.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_13opt.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_14lnz.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_15syn.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_16dae.o Buildings_9_Buildings_Fluid_Storage_Validation_HeatExchangerDynamics_17inl.o Buildings_9_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