Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 289.8 MB / 297.1 MB, free: 12.59 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 188.7 kB / 366.3 MB, free: 11.9 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 0.6256 GB, free: 2.012 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 82.7 kB / 0.7395 GB, free: 46.98 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.044e-05, allocations: 4 kB / 0.859 GB, free: 7.188 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6638, allocations: 116.3 MB / 0.9725 GB, free: 81.45 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.674, allocations: 454.8 MB / 1.417 GB, free: 115.8 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.674, allocations: 93.27 kB / 1.417 GB, free: 115.8 MB / 0.8621 GB Notification: Performance of FrontEnd: time 3.992/5.666, allocations: 1.168 GB / 2.585 GB, free: 128.1 MB / 0.9714 GB Notification: Performance of Transformations before backend: time 0.0002408/5.666, allocations: 58 kB / 2.585 GB, free: 128.1 MB / 0.9714 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004214/5.671, allocations: 2.086 MB / 2.587 GB, free: 126.6 MB / 0.9714 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/5.671, allocations: 7.906 kB / 2.587 GB, free: 126.6 MB / 0.9714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/5.673, allocations: 488.1 kB / 2.588 GB, free: 126.4 MB / 0.9714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/5.678, allocations: 2.317 MB / 2.59 GB, free: 124.9 MB / 0.9714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/5.678, allocations: 32.72 kB / 2.59 GB, free: 124.9 MB / 0.9714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/5.679, allocations: 89.58 kB / 2.59 GB, free: 124.8 MB / 0.9714 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/5.68, allocations: 0.7809 MB / 2.591 GB, free: 124.5 MB / 0.9714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/5.682, allocations: 1.094 MB / 2.592 GB, free: 123.8 MB / 0.9714 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/5.682, allocations: 0 / 2.592 GB, free: 123.8 MB / 0.9714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/5.682, allocations: 7.844 kB / 2.592 GB, free: 123.8 MB / 0.9714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/5.682, allocations: 27.44 kB / 2.592 GB, free: 123.8 MB / 0.9714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008928/5.691, allocations: 6.924 MB / 2.599 GB, free: 117.6 MB / 0.9714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/5.692, allocations: 0.62 MB / 2.599 GB, free: 117.3 MB / 0.9714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/5.692, allocations: 322.6 kB / 2.6 GB, free: 117.2 MB / 0.9714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005013/5.697, allocations: 2.814 MB / 2.602 GB, free: 114.6 MB / 0.9714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/5.698, allocations: 338.9 kB / 2.603 GB, free: 114.4 MB / 0.9714 GB Notification: Performance of pre-optimization done (n=64): time 3.617e-06/5.698, allocations: 3.719 kB / 2.603 GB, free: 114.4 MB / 0.9714 GB Notification: Performance of matching and sorting (n=64): time 0.002579/5.7, allocations: 0.8628 MB / 2.604 GB, free: 114 MB / 0.9714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/5.7, allocations: 162.4 kB / 2.604 GB, free: 113.8 MB / 0.9714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/5.703, allocations: 1.245 MB / 2.605 GB, free: 113.1 MB / 0.9714 GB Notification: Performance of collectPreVariables (initialization): time 9.302e-05/5.703, allocations: 27.64 kB / 2.605 GB, free: 113.1 MB / 0.9714 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/5.703, allocations: 0.5796 MB / 2.606 GB, free: 112.6 MB / 0.9714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/5.704, allocations: 217.3 kB / 2.606 GB, free: 112.4 MB / 0.9714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/5.704, allocations: 5 kB / 2.606 GB, free: 112.4 MB / 0.9714 GB Notification: Performance of setup shared object (initialization): time 0.0001102/5.704, allocations: 342.3 kB / 2.606 GB, free: 112.1 MB / 0.9714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/5.704, allocations: 274.9 kB / 2.606 GB, free: 112 MB / 0.9714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/5.705, allocations: 0.7109 MB / 2.607 GB, free: 111.3 MB / 0.9714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/5.707, allocations: 0.5361 MB / 2.608 GB, free: 111 MB / 0.9714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/5.707, allocations: 8.141 kB / 2.608 GB, free: 111 MB / 0.9714 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003222/5.71, allocations: 1.2 MB / 2.609 GB, free: 110.4 MB / 0.9714 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/5.711, allocations: 4.507 MB / 2.613 GB, free: 105.6 MB / 0.9714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/5.711, allocations: 12.16 kB / 2.613 GB, free: 105.6 MB / 0.9714 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.18e-05/5.711, allocations: 18.62 kB / 2.613 GB, free: 105.6 MB / 0.9714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/5.713, allocations: 259.3 kB / 2.614 GB, free: 105.6 MB / 0.9714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/5.713, allocations: 28.67 kB / 2.614 GB, free: 105.5 MB / 0.9714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/5.714, allocations: 161.8 kB / 2.614 GB, free: 105.5 MB / 0.9714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/5.714, allocations: 53.73 kB / 2.614 GB, free: 105.5 MB / 0.9714 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/5.714, allocations: 3.312 kB / 2.614 GB, free: 105.5 MB / 0.9714 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/5.717, allocations: 0.9701 MB / 2.615 GB, free: 105 MB / 0.9714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/5.717, allocations: 13.28 kB / 2.615 GB, free: 105 MB / 0.9714 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/5.717, allocations: 21.53 kB / 2.615 GB, free: 105 MB / 0.9714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/5.718, allocations: 256.1 kB / 2.615 GB, free: 105 MB / 0.9714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/5.718, allocations: 27.7 kB / 2.615 GB, free: 104.9 MB / 0.9714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/5.72, allocations: 135.6 kB / 2.615 GB, free: 104.9 MB / 0.9714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/5.72, allocations: 55.14 kB / 2.615 GB, free: 104.9 MB / 0.9714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003067/5.72, allocations: 144.2 kB / 2.615 GB, free: 104.7 MB / 0.9714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/5.721, allocations: 167 kB / 2.615 GB, free: 104.7 MB / 0.9714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/5.724, allocations: 1.127 MB / 2.617 GB, free: 104.1 MB / 0.9714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/5.724, allocations: 9.984 kB / 2.617 GB, free: 104.1 MB / 0.9714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/5.724, allocations: 2.906 kB / 2.617 GB, free: 104.1 MB / 0.9714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/5.725, allocations: 0.9186 MB / 2.617 GB, free: 103.5 MB / 0.9714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/5.731, allocations: 2.124 MB / 2.62 GB, free: 102.1 MB / 0.9714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/5.731, allocations: 0 / 2.62 GB, free: 102.1 MB / 0.9714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/5.732, allocations: 146.5 kB / 2.62 GB, free: 102.1 MB / 0.9714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/5.732, allocations: 29.81 kB / 2.62 GB, free: 102.1 MB / 0.9714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/5.732, allocations: 16.48 kB / 2.62 GB, free: 102.1 MB / 0.9714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/5.733, allocations: 1.252 MB / 2.621 GB, free: 100.8 MB / 0.9714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/5.733, allocations: 3.906 kB / 2.621 GB, free: 100.8 MB / 0.9714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002938/5.736, allocations: 1.443 MB / 2.622 GB, free: 99.97 MB / 0.9714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/5.737, allocations: 333.2 kB / 2.623 GB, free: 99.7 MB / 0.9714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005435/5.738, allocations: 10.81 kB / 2.623 GB, free: 99.69 MB / 0.9714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/5.739, allocations: 85.34 kB / 2.623 GB, free: 99.66 MB / 0.9714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/5.739, allocations: 47.92 kB / 2.623 GB, free: 99.64 MB / 0.9714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/5.739, allocations: 34.02 kB / 2.623 GB, free: 99.62 MB / 0.9714 GB Notification: Performance of sort global known variables: time 0.002052/5.741, allocations: 0.9277 MB / 2.624 GB, free: 99.14 MB / 0.9714 GB Notification: Performance of remove unused functions: time 0.005358/5.747, allocations: 1.015 MB / 2.625 GB, free: 98.88 MB / 0.9714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003225/5.75, allocations: 1.236 MB / 2.626 GB, free: 98.41 MB / 0.9714 GB Notification: Performance of simCode: created initialization part: time 0.003054/5.753, allocations: 1.369 MB / 2.627 GB, free: 97.78 MB / 0.9714 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/5.753, allocations: 3.406 kB / 2.627 GB, free: 97.78 MB / 0.9714 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/5.754, allocations: 453.3 kB / 2.628 GB, free: 97.54 MB / 0.9714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/5.758, allocations: 0.6014 MB / 2.628 GB, free: 97.28 MB / 0.9714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/5.765, allocations: 2.371 MB / 2.631 GB, free: 96.18 MB / 0.9714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/5.768, allocations: 1.573 MB / 2.632 GB, free: 95.11 MB / 0.9714 GB Notification: Performance of SimCode: time 1.983e-06/5.768, allocations: 0 / 2.632 GB, free: 95.11 MB / 0.9714 GB Notification: Performance of Templates: time 0.06679/5.835, allocations: 37.32 MB / 2.669 GB, free: 64.07 MB / 0.9714 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)