Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") [: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.175/2.175, allocations: 284.9 MB / 292.2 MB, free: 10.78 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.001573/0.001573, allocations: 181.3 kB / 360.4 MB, free: 7.547 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.663/1.663, allocations: 205.1 MB / 0.6188 GB, free: 13.16 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.001214/0.001213, allocations: 83.62 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.204e-05, allocations: 4 kB / 0.8503 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5483, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.7862, allocations: 138.9 MB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/0.7867, allocations: 72.94 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.05573/0.8424, allocations: 10.25 MB / 1.109 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.8425, allocations: 12 kB / 1.109 GB, free: 7.68 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001771/0.8443, allocations: 0.8143 MB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8444, allocations: 8.531 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.8446, allocations: 71.16 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.8459, allocations: 468.8 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.8459, allocations: 20 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8461, allocations: 43.89 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008966/0.847, allocations: 270 kB / 1.11 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.8481, allocations: 390.6 kB / 1.111 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.8481, allocations: 3.984 kB / 1.111 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.8482, allocations: 11.69 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.8482, allocations: 16 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.8519, allocations: 1.479 MB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.8525, allocations: 215.5 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.8533, allocations: 249.3 kB / 1.112 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.8534, allocations: 7.781 kB / 1.112 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.8539, allocations: 216.1 kB / 1.113 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/0.8539, allocations: 0 / 1.113 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.001031/0.8549, allocations: 346.7 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.855, allocations: 107.2 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.8556, allocations: 294 kB / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-05/0.8556, allocations: 29.7 kB / 1.113 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.8559, allocations: 220.8 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.8561, allocations: 141.8 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.8562, allocations: 11.98 kB / 1.114 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8564, allocations: 350.8 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.8569, allocations: 161 kB / 1.114 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.8575, allocations: 246.8 kB / 1.114 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/0.8584, allocations: 196.7 kB / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8584, allocations: 0 / 1.115 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001699/0.8601, allocations: 0.5071 MB / 1.115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002414/0.8604, allocations: 0.6141 MB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8604, allocations: 3.906 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.8604, allocations: 8 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.8612, allocations: 95.83 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.8612, allocations: 7.984 kB / 1.116 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.8623, allocations: 123.6 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.8624, allocations: 25.36 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8624, allocations: 4 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001579/0.864, allocations: 429.3 kB / 1.116 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.864, allocations: 0 / 1.116 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-06/0.8641, allocations: 4 kB / 1.116 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.8647, allocations: 79.84 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8647, allocations: 6.188 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000927/0.8657, allocations: 107.8 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.8658, allocations: 31.98 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001798/0.8659, allocations: 122 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.866, allocations: 43.44 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.8662, allocations: 53.98 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.8662, allocations: 4 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8663, allocations: 2.344 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.8663, allocations: 0 / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.868, allocations: 0.8797 MB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.868, allocations: 0 / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.8688, allocations: 79.89 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8688, allocations: 0 / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.8689, allocations: 8 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.8689, allocations: 1.25 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8689, allocations: 7.984 kB / 1.118 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001385/0.8703, allocations: 0.6266 MB / 1.118 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.8704, allocations: 124.5 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.8705, allocations: 0 / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.8709, allocations: 23.98 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.871, allocations: 32.38 kB / 1.119 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.8711, allocations: 12 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000348/0.8714, allocations: 228.6 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000888/0.8723, allocations: 199.1 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002383/0.8726, allocations: 123.1 kB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8744, allocations: 0.744 MB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8744, allocations: 0 / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.8748, allocations: 181.5 kB / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.8757, allocations: 68.2 kB / 1.12 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.8777, allocations: 0.6862 MB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.8784, allocations: 0.9144 MB / 1.122 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/0.8784, allocations: 0 / 1.122 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of Templates: time 0.02197/0.9004, allocations: 7.878 MB / 1.129 GB, free: 2.016 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)