Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 164.4 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.00134, allocations: 99.94 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.151e-05, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8916/0.8917, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.007/5.899, allocations: 2.085 GB / 3.049 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/5.899, allocations: 89.86 kB / 3.049 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.863/9.762, allocations: 1.037 GB / 4.086 GB, free: 57.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002701/9.763, allocations: 47.98 kB / 4.086 GB, free: 57.07 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005799/9.768, allocations: 2.069 MB / 4.088 GB, free: 54.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/9.768, allocations: 12.03 kB / 4.088 GB, free: 54.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/9.773, allocations: 0.6647 MB / 4.089 GB, free: 54.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/9.778, allocations: 1.459 MB / 4.09 GB, free: 52.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/9.779, allocations: 122.2 kB / 4.09 GB, free: 52.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/9.779, allocations: 75.39 kB / 4.09 GB, free: 52.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/9.781, allocations: 1.031 MB / 4.091 GB, free: 51.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/9.782, allocations: 1.227 MB / 4.093 GB, free: 50.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/9.783, allocations: 4 kB / 4.093 GB, free: 50.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/9.783, allocations: 0 / 4.093 GB, free: 50.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/9.783, allocations: 42.22 kB / 4.093 GB, free: 50.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008083/9.791, allocations: 5.954 MB / 4.098 GB, free: 43.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00089/9.792, allocations: 0.6073 MB / 4.099 GB, free: 43.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/9.792, allocations: 492 kB / 4.1 GB, free: 42.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/9.793, allocations: 486.1 kB / 4.1 GB, free: 42.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000682/9.794, allocations: 0.5398 MB / 4.1 GB, free: 41.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.416e-06/9.794, allocations: 0 / 4.1 GB, free: 41.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.008352/9.802, allocations: 3.155 MB / 4.104 GB, free: 38.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/9.802, allocations: 196.7 kB / 4.104 GB, free: 38.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/9.803, allocations: 0.9133 MB / 4.105 GB, free: 37.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/9.803, allocations: 33.7 kB / 4.105 GB, free: 37.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/9.804, allocations: 486.5 kB / 4.105 GB, free: 36.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/9.804, allocations: 311.4 kB / 4.105 GB, free: 36.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/9.804, allocations: 4 kB / 4.105 GB, free: 36.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/9.804, allocations: 345.8 kB / 4.106 GB, free: 36.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/9.805, allocations: 385.9 kB / 4.106 GB, free: 35.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/9.805, allocations: 0.6068 MB / 4.107 GB, free: 35.1 MB / 0.948 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/9.81, allocations: 1.418 MB / 4.108 GB, free: 33.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/9.81, allocations: 4 kB / 4.108 GB, free: 33.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003735/9.813, allocations: 1.621 MB / 4.11 GB, free: 32.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/9.814, allocations: 1.258 MB / 4.111 GB, free: 30.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/9.814, allocations: 0 / 4.111 GB, free: 30.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/9.815, allocations: 415.2 kB / 4.111 GB, free: 30.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/9.815, allocations: 179.8 kB / 4.112 GB, free: 30.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/9.821, allocations: 6.323 MB / 4.118 GB, free: 23.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/9.823, allocations: 127.8 kB / 4.118 GB, free: 23.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/9.823, allocations: 40.05 kB / 4.118 GB, free: 23.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/9.823, allocations: 4.219 kB / 4.118 GB, free: 23.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003524/9.827, allocations: 1.425 MB / 4.119 GB, free: 21.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.827, allocations: 4.188 kB / 4.119 GB, free: 21.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/9.828, allocations: 419.5 kB / 4.12 GB, free: 21.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/9.829, allocations: 179.8 kB / 4.12 GB, free: 21.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/9.835, allocations: 7.19 MB / 4.127 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/9.837, allocations: 127.8 kB / 4.127 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/9.837, allocations: 40.05 kB / 4.127 GB, free: 13.37 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004035/9.838, allocations: 171.2 kB / 4.127 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/9.838, allocations: 150.2 kB / 4.127 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/9.842, allocations: 1.429 MB / 4.129 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/9.842, allocations: 8 kB / 4.129 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/9.842, allocations: 3.938 kB / 4.129 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002848/9.844, allocations: 1.292 MB / 4.13 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/9.851, allocations: 3.118 MB / 4.133 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/9.851, allocations: 4 kB / 4.133 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/9.852, allocations: 192.3 kB / 4.133 GB, free: 6.836 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/9.853, allocations: 193.4 kB / 4.133 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/9.853, allocations: 23.98 kB / 4.133 GB, free: 6.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/9.856, allocations: 2.406 MB / 4.136 GB, free: 4.074 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/9.856, allocations: 8 kB / 4.136 GB, free: 4.066 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004843/9.861, allocations: 2.375 MB / 4.138 GB, free: 1.492 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/9.862, allocations: 347.2 kB / 4.138 GB, free: 1.133 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/9.863, allocations: 19.84 kB / 4.138 GB, free: 1.113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/9.865, allocations: 127.8 kB / 4.139 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/9.865, allocations: 64.48 kB / 4.139 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/9.865, allocations: 35.98 kB / 4.139 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001504/9.866, allocations: 0.699 MB / 4.139 GB, free: 196 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.005469/9.872, allocations: 0.9451 MB / 4.14 GB, free: 15.24 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004885/9.877, allocations: 2.653 MB / 4.143 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003954/9.881, allocations: 2.389 MB / 4.145 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/9.881, allocations: 0 / 4.145 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/9.882, allocations: 0.6667 MB / 4.146 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/9.886, allocations: 0.6977 MB / 4.147 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/9.894, allocations: 2.63 MB / 4.149 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/9.896, allocations: 1.49 MB / 4.151 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/9.896, allocations: 0 / 4.151 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.574/10.47, allocations: 50.28 MB / 4.2 GB, free: 239.7 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)