Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 12.58 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 179.7 kB / 366.3 MB, free: 11.91 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205.1 MB / 0.6256 GB, free: 2.012 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007862, allocations: 85.05 kB / 0.7395 GB, free: 46.94 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.524e-06, allocations: 4 kB / 0.859 GB, free: 7.141 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4671, allocations: 116.3 MB / 0.9726 GB, free: 81.47 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.6099, allocations: 144.2 MB / 1.113 GB, free: 15.71 MB / 0.7214 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.6101, allocations: 71.95 kB / 1.114 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of FrontEnd: time 0.0363/0.6464, allocations: 15.73 MB / 1.129 GB, free: 0 / 0.7214 GB Notification: Performance of Transformations before backend: time 6.979e-05/0.6465, allocations: 28.05 kB / 1.129 GB, free: 15.97 MB / 0.7371 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.002327/0.6488, allocations: 1.187 MB / 1.13 GB, free: 14.72 MB / 0.7371 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.6489, allocations: 8.031 kB / 1.13 GB, free: 14.71 MB / 0.7371 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.6492, allocations: 130.5 kB / 1.13 GB, free: 14.58 MB / 0.7371 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6503, allocations: 0.5881 MB / 1.131 GB, free: 13.95 MB / 0.7371 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.6504, allocations: 48.61 kB / 1.131 GB, free: 13.9 MB / 0.7371 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.6506, allocations: 75.98 kB / 1.131 GB, free: 13.83 MB / 0.7371 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/0.652, allocations: 0.7079 MB / 1.132 GB, free: 13.12 MB / 0.7371 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.6537, allocations: 0.9366 MB / 1.132 GB, free: 12.12 MB / 0.7371 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6537, allocations: 0 / 1.132 GB, free: 12.12 MB / 0.7371 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.6538, allocations: 11.98 kB / 1.133 GB, free: 12.11 MB / 0.7371 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.6538, allocations: 24 kB / 1.133 GB, free: 12.09 MB / 0.7371 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.6589, allocations: 3.462 MB / 1.136 GB, free: 8.551 MB / 0.7371 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.6602, allocations: 0.6767 MB / 1.137 GB, free: 7.855 MB / 0.7371 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.6607, allocations: 304 kB / 1.137 GB, free: 7.551 MB / 0.7371 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.6608, allocations: 12.59 kB / 1.137 GB, free: 7.539 MB / 0.7371 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.6614, allocations: 449.2 kB / 1.137 GB, free: 7.07 MB / 0.7371 GB Notification: Performance of pre-optimization done (n=82): time 3.456e-06/0.6614, allocations: 3.984 kB / 1.137 GB, free: 7.066 MB / 0.7371 GB Notification: Performance of matching and sorting (n=82): time 0.00112/0.6626, allocations: 0.6046 MB / 1.138 GB, free: 6.453 MB / 0.7371 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6627, allocations: 200.6 kB / 1.138 GB, free: 6.215 MB / 0.7371 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.6633, allocations: 469.6 kB / 1.139 GB, free: 5.754 MB / 0.7371 GB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.6634, allocations: 45.7 kB / 1.139 GB, free: 5.703 MB / 0.7371 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.6637, allocations: 395.7 kB / 1.139 GB, free: 5.309 MB / 0.7371 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.6639, allocations: 224.8 kB / 1.139 GB, free: 5.086 MB / 0.7371 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.6639, allocations: 0 / 1.139 GB, free: 5.086 MB / 0.7371 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6641, allocations: 382.8 kB / 1.14 GB, free: 4.703 MB / 0.7371 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.6646, allocations: 246 kB / 1.14 GB, free: 4.461 MB / 0.7371 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.6652, allocations: 499.9 kB / 1.14 GB, free: 3.879 MB / 0.7371 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.6656, allocations: 268.4 kB / 1.141 GB, free: 3.617 MB / 0.7371 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.6656, allocations: 0 / 1.141 GB, free: 3.617 MB / 0.7371 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001221/0.6669, allocations: 0.7321 MB / 1.141 GB, free: 2.875 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006696/0.6675, allocations: 1.925 MB / 1.143 GB, free: 0.8008 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6676, allocations: 4 kB / 1.143 GB, free: 0.7969 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6676, allocations: 12 kB / 1.143 GB, free: 0.7852 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.6682, allocations: 155.7 kB / 1.143 GB, free: 0.6328 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.6683, allocations: 19.92 kB / 1.143 GB, free: 0.6133 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.6689, allocations: 128.5 kB / 1.143 GB, free: 500 kB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.669, allocations: 39.98 kB / 1.143 GB, free: 460 kB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/0.669, allocations: 4 kB / 1.143 GB, free: 456 kB / 0.7371 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/0.67, allocations: 0.6184 MB / 1.144 GB, free: 15.83 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.6701, allocations: 7.906 kB / 1.144 GB, free: 15.82 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6701, allocations: 16.06 kB / 1.144 GB, free: 15.8 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.6706, allocations: 151.7 kB / 1.144 GB, free: 15.66 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6707, allocations: 19.3 kB / 1.144 GB, free: 15.64 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.6713, allocations: 119.5 kB / 1.144 GB, free: 15.52 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.6713, allocations: 44.34 kB / 1.144 GB, free: 15.48 MB / 0.7527 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.0002094/0.6716, allocations: 166.3 kB / 1.145 GB, free: 15.31 MB / 0.7527 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6717, allocations: 75.91 kB / 1.145 GB, free: 15.24 MB / 0.7527 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.6729, allocations: 0.6684 MB / 1.145 GB, free: 14.56 MB / 0.7527 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.6729, allocations: 8 kB / 1.145 GB, free: 14.55 MB / 0.7527 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6729, allocations: 4 kB / 1.145 GB, free: 14.55 MB / 0.7527 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.6729, allocations: 3.984 kB / 1.145 GB, free: 14.55 MB / 0.7527 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.6755, allocations: 1.785 MB / 1.147 GB, free: 12.7 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6755, allocations: 4 kB / 1.147 GB, free: 12.69 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.6761, allocations: 119.9 kB / 1.147 GB, free: 12.57 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6761, allocations: 4 kB / 1.147 GB, free: 12.57 MB / 0.7527 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.6761, allocations: 19.92 kB / 1.147 GB, free: 12.55 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.6762, allocations: 8.562 kB / 1.147 GB, free: 12.54 MB / 0.7527 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6762, allocations: 4 kB / 1.147 GB, free: 12.54 MB / 0.7527 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001706/0.6779, allocations: 1.207 MB / 1.148 GB, free: 11.27 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.678, allocations: 148.1 kB / 1.149 GB, free: 11.1 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6782, allocations: 20.45 kB / 1.149 GB, free: 11.08 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.6787, allocations: 83.98 kB / 1.149 GB, free: 11 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.6789, allocations: 96.44 kB / 1.149 GB, free: 10.91 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.6789, allocations: 39.98 kB / 1.149 GB, free: 10.87 MB / 0.7527 GB Notification: Performance of sort global known variables: time 0.0003161/0.6793, allocations: 311 kB / 1.149 GB, free: 10.57 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.0009218/0.6802, allocations: 342.5 kB / 1.149 GB, free: 10.23 MB / 0.7527 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.0002374/0.6804, allocations: 162.2 kB / 1.15 GB, free: 10.07 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.6822, allocations: 1.086 MB / 1.151 GB, free: 8.984 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6822, allocations: 4 kB / 1.151 GB, free: 8.98 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.6828, allocations: 395.5 kB / 1.151 GB, free: 8.594 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.6834, allocations: 95.27 kB / 1.151 GB, free: 8.504 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.6862, allocations: 1.2 MB / 1.152 GB, free: 7.262 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008994/0.6871, allocations: 1.114 MB / 1.153 GB, free: 6.117 MB / 0.7527 GB Notification: Performance of SimCode: time 4.31e-07/0.6871, allocations: 0 / 1.153 GB, free: 6.117 MB / 0.7527 GB Notification: Performance of Templates: time 0.02156/0.7087, allocations: 12.52 MB / 1.166 GB, free: 9.742 MB / 0.7683 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)