Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") [: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.155/2.155, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.0015/0.001499, allocations: 185.2 kB / 360.4 MB, free: 7.504 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.592/1.592, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001201/0.001201, allocations: 93.7 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.323e-05, allocations: 4 kB / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5448, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.7589, allocations: 143.1 MB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.7593, allocations: 72.7 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06181/0.8211, allocations: 15.73 MB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.14e-05/0.8212, allocations: 27.98 kB / 1.118 GB, free: 13.93 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003483/0.8247, allocations: 1.189 MB / 1.119 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8248, allocations: 8.531 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.8252, allocations: 130.5 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.8266, allocations: 0.5998 MB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.887e-05/0.8267, allocations: 40 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.8269, allocations: 75.98 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002485/0.8294, allocations: 0.6995 MB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.8322, allocations: 0.9483 MB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.8323, allocations: 0 / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8324, allocations: 4 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.8325, allocations: 28 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008157/0.8406, allocations: 3.46 MB / 1.125 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.8429, allocations: 0.6766 MB / 1.126 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008573/0.8438, allocations: 304 kB / 1.126 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.8439, allocations: 8.656 kB / 1.126 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.845, allocations: 457.3 kB / 1.126 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.526e-06/0.845, allocations: 0 / 1.126 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.001928/0.847, allocations: 0.6085 MB / 1.127 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.8471, allocations: 188.6 kB / 1.127 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.848, allocations: 469.7 kB / 1.128 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.8482, allocations: 43.34 kB / 1.128 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.8486, allocations: 399.7 kB / 1.128 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.8489, allocations: 220.9 kB / 1.128 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.849, allocations: 3.938 kB / 1.128 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.8492, allocations: 382.8 kB / 1.129 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.8501, allocations: 246 kB / 1.129 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.8512, allocations: 0.4884 MB / 1.129 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.852, allocations: 260.4 kB / 1.13 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8521, allocations: 4 kB / 1.13 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00213/0.8542, allocations: 0.7336 MB / 1.13 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000866/0.8551, allocations: 1.923 MB / 1.132 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.8551, allocations: 4 kB / 1.132 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.8552, allocations: 12 kB / 1.132 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.8565, allocations: 167.6 kB / 1.132 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.8566, allocations: 12 kB / 1.132 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.8578, allocations: 127.5 kB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8579, allocations: 39.98 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.858, allocations: 4.625 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001922/0.8599, allocations: 0.6217 MB / 1.133 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8599, allocations: 6.188 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.86, allocations: 15.91 kB / 1.133 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8611, allocations: 156.4 kB / 1.133 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.8612, allocations: 17.34 kB / 1.133 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.8623, allocations: 119.5 kB / 1.133 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.8624, allocations: 36 kB / 1.133 GB, free: 13.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0003295/0.8627, allocations: 169.8 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.8629, allocations: 75.16 kB / 1.134 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.8651, allocations: 0.6797 MB / 1.134 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.8652, allocations: 12 kB / 1.134 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8652, allocations: 0 / 1.134 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.8652, allocations: 3.984 kB / 1.134 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.8697, allocations: 1.787 MB / 1.136 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8697, allocations: 3.938 kB / 1.136 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8707, allocations: 119.9 kB / 1.136 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.8708, allocations: 4 kB / 1.136 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.8709, allocations: 15.97 kB / 1.136 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.8709, allocations: 7.938 kB / 1.136 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8709, allocations: 1.312 kB / 1.136 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003107/0.874, allocations: 1.211 MB / 1.137 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.8742, allocations: 148.1 kB / 1.138 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.8744, allocations: 25.89 kB / 1.138 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.8754, allocations: 83.98 kB / 1.138 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.8758, allocations: 92.5 kB / 1.138 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.8759, allocations: 31.98 kB / 1.138 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000599/0.8765, allocations: 322.9 kB / 1.138 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001461/0.878, allocations: 338.5 kB / 1.138 GB, free: 8.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003291/0.8783, allocations: 155 kB / 1.139 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.8815, allocations: 1.082 MB / 1.14 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8815, allocations: 8.062 kB / 1.14 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.8826, allocations: 390.3 kB / 1.14 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.8836, allocations: 88.39 kB / 1.14 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.8877, allocations: 1.2 MB / 1.141 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.8891, allocations: 1.121 MB / 1.142 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/0.8891, allocations: 0 / 1.142 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.03797/0.9271, allocations: 12.52 MB / 1.155 GB, free: 7.809 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)