Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.296/2.296, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 173.3 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 0.6188 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 89.08 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.985e-06, allocations: 0 / 0.8503 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5785, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.8157, allocations: 142.4 MB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.8161, allocations: 88.59 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.09922/0.9153, allocations: 22.64 MB / 1.124 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001452/0.9155, allocations: 40 kB / 1.124 GB, free: 7.84 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.005167/0.9207, allocations: 1.638 MB / 1.126 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9208, allocations: 16.47 kB / 1.126 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.9216, allocations: 205.6 kB / 1.126 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.9258, allocations: 1.157 MB / 1.127 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.9259, allocations: 46.75 kB / 1.127 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.9263, allocations: 88 kB / 1.127 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003097/0.9294, allocations: 0.8374 MB / 1.128 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.9328, allocations: 1.1 MB / 1.129 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.9329, allocations: 3.938 kB / 1.129 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.9331, allocations: 7.984 kB / 1.129 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.9331, allocations: 35.98 kB / 1.129 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.946, allocations: 4.271 MB / 1.133 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.9486, allocations: 0.7172 MB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009434/0.9496, allocations: 335.4 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.9497, allocations: 15.98 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.9509, allocations: 429.3 kB / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 4.278e-06/0.9509, allocations: 0 / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.002122/0.953, allocations: 0.6372 MB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.9532, allocations: 243.5 kB / 1.136 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.9552, allocations: 0.7812 MB / 1.136 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.9555, allocations: 41.7 kB / 1.136 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.9563, allocations: 0.5691 MB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.9568, allocations: 260.3 kB / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.9569, allocations: 4 kB / 1.137 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9571, allocations: 349.8 kB / 1.137 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.9581, allocations: 302.6 kB / 1.138 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9595, allocations: 0.6305 MB / 1.138 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.9609, allocations: 363 kB / 1.139 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9609, allocations: 4 kB / 1.139 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003292/0.9642, allocations: 0.9782 MB / 1.14 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001434/0.9657, allocations: 2.806 MB / 1.142 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/0.9658, allocations: 12 kB / 1.142 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.836e-05/0.9659, allocations: 12 kB / 1.142 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.968, allocations: 235.6 kB / 1.143 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/0.9681, allocations: 19.92 kB / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.9703, allocations: 191 kB / 1.143 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.9707, allocations: 55.89 kB / 1.143 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9707, allocations: 8 kB / 1.143 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003015/0.9738, allocations: 0.7857 MB / 1.144 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.9739, allocations: 8 kB / 1.144 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.9739, allocations: 12 kB / 1.144 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.9756, allocations: 210.3 kB / 1.144 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-05/0.9757, allocations: 24.89 kB / 1.144 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.9777, allocations: 147.3 kB / 1.144 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.978, allocations: 44 kB / 1.144 GB, free: 2.539 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.9784, allocations: 163.5 kB / 1.144 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.9788, allocations: 118.5 kB / 1.144 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.9812, allocations: 0.7041 MB / 1.145 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.9813, allocations: 8 kB / 1.145 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.9813, allocations: 0 / 1.145 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.9813, allocations: 7.984 kB / 1.145 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/0.9867, allocations: 2.184 MB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.9868, allocations: 0 / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.9882, allocations: 176.5 kB / 1.147 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.9882, allocations: 4 kB / 1.147 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.9883, allocations: 11.98 kB / 1.147 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.9883, allocations: 7.984 kB / 1.147 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.9884, allocations: 10.83 kB / 1.147 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003098/0.9915, allocations: 1.514 MB / 1.149 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.9919, allocations: 209.4 kB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.9922, allocations: 20 kB / 1.149 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.9936, allocations: 75.92 kB / 1.149 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.9939, allocations: 83.77 kB / 1.149 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.994, allocations: 35.97 kB / 1.149 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001254/0.9953, allocations: 0.5563 MB / 1.15 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002204/0.9975, allocations: 469.7 kB / 1.15 GB, free: 12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/0.9979, allocations: 149.5 kB / 1.15 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.002, allocations: 1.302 MB / 1.152 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.002, allocations: 4.062 kB / 1.152 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.003, allocations: 336.5 kB / 1.152 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.005, allocations: 224 kB / 1.152 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/1.011, allocations: 1.739 MB / 1.154 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.013, allocations: 1.333 MB / 1.155 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of SimCode: time 1.794e-06/1.013, allocations: 0 / 1.155 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of Templates: time 0.05751/1.07, allocations: 17.49 MB / 1.172 GB, free: 5.688 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)