Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.088/2.088, allocations: 253.1 MB / 260.4 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001735, allocations: 189 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 94.5 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.975e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2044, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6343/0.8387, allocations: 138.2 MB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.8391, allocations: 85.25 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1057/0.9448, allocations: 25.83 MB / 1.048 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001375/0.945, allocations: 40 kB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.004961/0.95, allocations: 1.713 MB / 1.05 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.9501, allocations: 8.031 kB / 1.05 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.9507, allocations: 213.4 kB / 1.05 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.9547, allocations: 1.246 MB / 1.051 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.9548, allocations: 52 kB / 1.051 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.9552, allocations: 88 kB / 1.052 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002967/0.9581, allocations: 0.8763 MB / 1.052 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/0.9614, allocations: 1.155 MB / 1.054 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.9615, allocations: 0 / 1.054 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.9616, allocations: 11.92 kB / 1.054 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.9617, allocations: 36 kB / 1.054 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.9741, allocations: 4.423 MB / 1.058 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.9766, allocations: 0.7067 MB / 1.059 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.9774, allocations: 316.6 kB / 1.059 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.9775, allocations: 20.44 kB / 1.059 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.9786, allocations: 417 kB / 1.059 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=85): time 4.358e-06/0.9786, allocations: 0 / 1.059 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85): time 0.001939/0.9806, allocations: 0.6286 MB / 1.06 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.9807, allocations: 246.7 kB / 1.06 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.9826, allocations: 0.8238 MB / 1.061 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.9827, allocations: 41.39 kB / 1.061 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.9834, allocations: 0.6108 MB / 1.062 GB, free: 28 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.9838, allocations: 265 kB / 1.062 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.9839, allocations: 0 / 1.062 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.9842, allocations: 346.6 kB / 1.062 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/0.985, allocations: 272.5 kB / 1.062 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.9863, allocations: 0.5942 MB / 1.063 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.9872, allocations: 322.5 kB / 1.063 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.9872, allocations: 4 kB / 1.063 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002745/0.99, allocations: 0.9085 MB / 1.064 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/0.9914, allocations: 2.734 MB / 1.067 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.9914, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/0.9915, allocations: 23.88 kB / 1.067 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.9935, allocations: 239.5 kB / 1.067 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.11e-05/0.9936, allocations: 19.92 kB / 1.067 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.9954, allocations: 159 kB / 1.067 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.9955, allocations: 47.73 kB / 1.067 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9956, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/0.9977, allocations: 0.7144 MB / 1.068 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.9978, allocations: 8 kB / 1.068 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.9978, allocations: 12 kB / 1.068 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.9994, allocations: 209.3 kB / 1.068 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.9994, allocations: 15.94 kB / 1.068 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.001, allocations: 119.2 kB / 1.068 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.001, allocations: 46.31 kB / 1.068 GB, free: 9.617 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0003936/1.001, allocations: 143.3 kB / 1.069 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/1.002, allocations: 126.4 kB / 1.069 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.004, allocations: 0.6929 MB / 1.069 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.004, allocations: 12 kB / 1.069 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.004, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.004, allocations: 3.984 kB / 1.069 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/1.009, allocations: 2.164 MB / 1.072 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.009, allocations: 4 kB / 1.072 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.011, allocations: 166.5 kB / 1.072 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.011, allocations: 8 kB / 1.072 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/1.011, allocations: 15.8 kB / 1.072 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/1.011, allocations: 7.938 kB / 1.072 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.011, allocations: 4 kB / 1.072 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002937/1.014, allocations: 1.458 MB / 1.073 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/1.014, allocations: 205.1 kB / 1.073 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/1.015, allocations: 14.84 kB / 1.073 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.016, allocations: 87.55 kB / 1.073 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.016, allocations: 86.91 kB / 1.074 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/1.016, allocations: 30.67 kB / 1.074 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001301/1.018, allocations: 0.591 MB / 1.074 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002162/1.02, allocations: 473.4 kB / 1.075 GB, free: 4.566 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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 (87): * Single equations (assignments): 86 * 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.0003438/1.02, allocations: 147.3 kB / 1.075 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003434/1.024, allocations: 1.177 MB / 1.076 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.024, allocations: 2.75 kB / 1.076 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.025, allocations: 326.5 kB / 1.076 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.027, allocations: 263.7 kB / 1.076 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/1.034, allocations: 1.786 MB / 1.078 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.036, allocations: 1.382 MB / 1.08 GB, free: 148 kB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/1.036, allocations: 0 / 1.08 GB, free: 148 kB / 0.6823 GB Notification: Performance of Templates: time 0.06119/1.098, allocations: 17.56 MB / 1.097 GB, free: 14.75 MB / 0.7136 GB