Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.503/1.503, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001062/0.001062, allocations: 185.3 kB / 366.3 MB, free: 1.961 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.266/1.266, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0008469/0.000847, allocations: 87.45 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.715e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5834, allocations: 116.3 MB / 0.9726 GB, free: 76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.758, allocations: 143.5 MB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.7583, allocations: 81.52 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05899/0.8173, allocations: 22.65 MB / 1.135 GB, free: 384 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.021e-05/0.8174, allocations: 36 kB / 1.135 GB, free: 348 kB / 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.002798/0.8203, allocations: 1.65 MB / 1.137 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.8203, allocations: 8.031 kB / 1.137 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.8206, allocations: 201.6 kB / 1.137 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.8227, allocations: 1.165 MB / 1.138 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.8228, allocations: 44 kB / 1.138 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.8229, allocations: 88 kB / 1.138 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/0.8246, allocations: 0.8413 MB / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.8265, allocations: 1.091 MB / 1.14 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.8265, allocations: 4 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.8266, allocations: 1.312 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.8267, allocations: 40 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.8333, allocations: 4.275 MB / 1.144 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8347, allocations: 0.7142 MB / 1.145 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.8352, allocations: 341.1 kB / 1.145 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.8353, allocations: 12.75 kB / 1.145 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.8359, allocations: 437.3 kB / 1.146 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 2.985e-06/0.8359, allocations: 0 / 1.146 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001144/0.8371, allocations: 0.6352 MB / 1.146 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.8372, allocations: 247.5 kB / 1.146 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.8382, allocations: 0.7811 MB / 1.147 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.8383, allocations: 45.7 kB / 1.147 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.8388, allocations: 0.5652 MB / 1.148 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.839, allocations: 269.6 kB / 1.148 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.839, allocations: 0 / 1.148 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.8392, allocations: 353.8 kB / 1.148 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.8397, allocations: 294.6 kB / 1.149 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.8405, allocations: 0.6305 MB / 1.149 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.8413, allocations: 361.4 kB / 1.15 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8413, allocations: 4 kB / 1.15 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001639/0.8429, allocations: 0.9745 MB / 1.151 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.844, allocations: 2.817 MB / 1.153 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.8441, allocations: 8 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.8441, allocations: 16.94 kB / 1.153 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.845, allocations: 235.6 kB / 1.154 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.845, allocations: 15.98 kB / 1.154 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.846, allocations: 195 kB / 1.154 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.8461, allocations: 56.64 kB / 1.154 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.8461, allocations: 4 kB / 1.154 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001357/0.8474, allocations: 0.7825 MB / 1.155 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8475, allocations: 4.875 kB / 1.155 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8475, allocations: 16 kB / 1.155 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.8482, allocations: 209.2 kB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.8482, allocations: 23.86 kB / 1.155 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.849, allocations: 147.3 kB / 1.155 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.8491, allocations: 48.84 kB / 1.155 GB, free: 11.02 MB / 0.7605 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.0002148/0.8493, allocations: 147.7 kB / 1.155 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.8495, allocations: 126.5 kB / 1.155 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.8508, allocations: 0.6948 MB / 1.156 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.8508, allocations: 15.94 kB / 1.156 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8508, allocations: 0 / 1.156 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.8508, allocations: 3.984 kB / 1.156 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.8538, allocations: 2.182 MB / 1.158 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.8539, allocations: 8.062 kB / 1.158 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.8546, allocations: 165.8 kB / 1.158 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.8546, allocations: 11.94 kB / 1.158 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.8546, allocations: 11.98 kB / 1.158 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8547, allocations: 4 kB / 1.158 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8547, allocations: 4 kB / 1.158 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001771/0.8564, allocations: 1.522 MB / 1.16 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.8566, allocations: 204 kB / 1.16 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.8568, allocations: 16 kB / 1.16 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.8575, allocations: 79.92 kB / 1.16 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.8577, allocations: 83.77 kB / 1.16 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.8578, allocations: 35.92 kB / 1.16 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006717/0.8585, allocations: 0.5602 MB / 1.161 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001325/0.8598, allocations: 461.7 kB / 1.161 GB, free: 4.504 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.0002581/0.8601, allocations: 149.5 kB / 1.161 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.8621, allocations: 1.317 MB / 1.163 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8621, allocations: 0 / 1.163 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.8626, allocations: 331.7 kB / 1.163 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8637, allocations: 219.9 kB / 1.163 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.8672, allocations: 1.738 MB / 1.165 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.8685, allocations: 1.341 MB / 1.166 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of SimCode: time 9.31e-07/0.8685, allocations: 0 / 1.166 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.03326/0.9017, allocations: 17.5 MB / 1.183 GB, free: 14.11 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)