Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") [: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.339/1.339, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009359/0.0009359, allocations: 173.3 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007689/0.0007689, allocations: 82.77 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.784e-06, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.427, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.5637, allocations: 137.8 MB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.5639, allocations: 64.48 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01121/0.5751, allocations: 3.713 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5751, allocations: 0 / 1.102 GB, free: 14.52 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007347/0.5759, allocations: 0.5437 MB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5759, allocations: 12.53 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.576, allocations: 31.8 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5761, allocations: 170.9 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.5762, allocations: 11.98 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.5763, allocations: 35.97 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002162/0.5765, allocations: 112.4 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.5768, allocations: 227.7 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5768, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.5769, allocations: 7.984 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5769, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.5776, allocations: 0.5409 MB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.5781, allocations: 379.8 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.5783, allocations: 190.9 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.5783, allocations: 8 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.5787, allocations: 275.1 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 6.892e-06/0.5787, allocations: 4.562 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0005777/0.5793, allocations: 373.8 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.5793, allocations: 71.41 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.5794, allocations: 127.5 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.5795, allocations: 37.7 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.5796, allocations: 101 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.5796, allocations: 94.86 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.5797, allocations: 0 / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5798, allocations: 342.7 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.58, allocations: 125.3 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.5803, allocations: 271.4 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.5808, allocations: 165.1 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5808, allocations: 0 / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008864/0.5817, allocations: 472.6 kB / 1.106 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5817, allocations: 4 kB / 1.106 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5818, allocations: 4.562 kB / 1.106 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5818, allocations: 12 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5819, allocations: 43.86 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.5819, allocations: 11.94 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.5824, allocations: 107.7 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.5825, allocations: 29.7 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0001373/0.5826, allocations: 162.2 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.5827, allocations: 31.7 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.5827, allocations: 21.75 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5827, allocations: 7.984 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5827, allocations: 0 / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5827, allocations: 0 / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5839, allocations: 0.8514 MB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.584, allocations: 7.969 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.584, allocations: 15.92 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.584, allocations: 4 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5841, allocations: 13.28 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5841, allocations: 4 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5841, allocations: 3.938 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005591/0.5847, allocations: 0.5089 MB / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.5847, allocations: 92.83 kB / 1.108 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.5848, allocations: 23.97 kB / 1.108 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.585, allocations: 31.97 kB / 1.108 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.5851, allocations: 39.92 kB / 1.108 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.5851, allocations: 35.97 kB / 1.108 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.728e-05/0.5852, allocations: 103.2 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003986/0.5856, allocations: 87.92 kB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000207/0.5858, allocations: 154.1 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006207/0.5864, allocations: 444.5 kB / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5864, allocations: 0 / 1.109 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.5868, allocations: 283.9 kB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.587, allocations: 34.02 kB / 1.11 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.5877, allocations: 359 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.5881, allocations: 0.7617 MB / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5881, allocations: 4 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of Templates: time 0.006858/0.5949, allocations: 4.064 MB / 1.115 GB, free: 1.148 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)