Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 9.836 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.0009553/0.0009552, allocations: 185.2 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.066/1.066, allocations: 205.1 MB / 0.6195 GB, free: 2.867 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 90.61 kB / 0.7326 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.673e-06, allocations: 1 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 115.3 MB / 0.9637 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.6191, allocations: 142.5 MB / 1.103 GB, free: 32.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.6193, allocations: 86.56 kB / 1.103 GB, free: 32.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0489/0.6682, allocations: 22.64 MB / 1.125 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.609e-05/0.6684, allocations: 35 kB / 1.125 GB, free: 30.86 MB / 0.7136 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.00263/0.671, allocations: 1.648 MB / 1.127 GB, free: 30 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.671, allocations: 11.2 kB / 1.127 GB, free: 30 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.6713, allocations: 202.5 kB / 1.127 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.673, allocations: 1.154 MB / 1.128 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.6731, allocations: 54.38 kB / 1.128 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6732, allocations: 89.22 kB / 1.128 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001292/0.6745, allocations: 0.842 MB / 1.129 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.676, allocations: 1.092 MB / 1.13 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6761, allocations: 3.938 kB / 1.13 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.6762, allocations: 4 kB / 1.13 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.6762, allocations: 34.94 kB / 1.13 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005253/0.6814, allocations: 4.271 MB / 1.134 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6825, allocations: 0.7236 MB / 1.135 GB, free: 28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.6829, allocations: 328.3 kB / 1.135 GB, free: 27.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.683, allocations: 16.98 kB / 1.135 GB, free: 27.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.6835, allocations: 430.2 kB / 1.136 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.6835, allocations: 0 / 1.136 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87): time 0.0009325/0.6845, allocations: 0.6447 MB / 1.136 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6845, allocations: 241.3 kB / 1.137 GB, free: 27.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.6853, allocations: 0.7798 MB / 1.137 GB, free: 27.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/0.6854, allocations: 42.83 kB / 1.137 GB, free: 27.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.6856, allocations: 0.5708 MB / 1.138 GB, free: 26.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.6858, allocations: 261.7 kB / 1.138 GB, free: 26.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.6858, allocations: 3.875 kB / 1.138 GB, free: 26.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.686, allocations: 349.9 kB / 1.139 GB, free: 42.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.6864, allocations: 304.7 kB / 1.139 GB, free: 42.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.687, allocations: 0.631 MB / 1.139 GB, free: 42.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.6876, allocations: 357.4 kB / 1.14 GB, free: 42.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6876, allocations: 3.875 kB / 1.14 GB, free: 42.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001325/0.6889, allocations: 0.9754 MB / 1.141 GB, free: 41.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008949/0.6898, allocations: 2.808 MB / 1.143 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6898, allocations: 7.906 kB / 1.143 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.6899, allocations: 15.5 kB / 1.143 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.6907, allocations: 241.9 kB / 1.144 GB, free: 38.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.6907, allocations: 16.83 kB / 1.144 GB, free: 38.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/0.6916, allocations: 192.3 kB / 1.144 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.6917, allocations: 52.92 kB / 1.144 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.6917, allocations: 7.781 kB / 1.144 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/0.6928, allocations: 0.786 MB / 1.145 GB, free: 38.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6928, allocations: 11.72 kB / 1.145 GB, free: 38.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6928, allocations: 21.5 kB / 1.145 GB, free: 38.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.6935, allocations: 200.5 kB / 1.145 GB, free: 38.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6935, allocations: 17.28 kB / 1.145 GB, free: 38.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.6943, allocations: 148.7 kB / 1.145 GB, free: 38.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.6944, allocations: 51.34 kB / 1.145 GB, free: 38.72 MB / 0.7292 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.0001946/0.6946, allocations: 155.2 kB / 1.145 GB, free: 38.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6947, allocations: 132.1 kB / 1.145 GB, free: 38.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.6957, allocations: 0.6935 MB / 1.146 GB, free: 38.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6957, allocations: 11.69 kB / 1.146 GB, free: 38.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6957, allocations: 0 / 1.146 GB, free: 38.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6958, allocations: 8.469 kB / 1.146 GB, free: 38.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.6981, allocations: 2.19 MB / 1.148 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6981, allocations: 0 / 1.148 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.6988, allocations: 165.1 kB / 1.148 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.6988, allocations: 7.781 kB / 1.148 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.6988, allocations: 16.55 kB / 1.148 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6989, allocations: 3.906 kB / 1.148 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6989, allocations: 7.875 kB / 1.148 GB, free: 37.79 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001342/0.7002, allocations: 1.525 MB / 1.15 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.7004, allocations: 206.4 kB / 1.15 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7005, allocations: 13.23 kB / 1.15 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.7012, allocations: 82.77 kB / 1.15 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.7014, allocations: 80 kB / 1.15 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.7014, allocations: 38.3 kB / 1.15 GB, free: 36.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005406/0.702, allocations: 0.5567 MB / 1.151 GB, free: 36.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001075/0.7031, allocations: 468.8 kB / 1.151 GB, free: 36.67 MB / 0.7292 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.0002142/0.7033, allocations: 156.1 kB / 1.151 GB, free: 36.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.7048, allocations: 1.3 MB / 1.153 GB, free: 36.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7048, allocations: 0 / 1.153 GB, free: 36.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.7052, allocations: 334.2 kB / 1.153 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/0.7063, allocations: 220.7 kB / 1.153 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.7091, allocations: 1.735 MB / 1.155 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.7101, allocations: 1.333 MB / 1.156 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.7101, allocations: 4 kB / 1.156 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.02712/0.7372, allocations: 17.49 MB / 1.173 GB, free: 30.73 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)