Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.746 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.0008894/0.0008894, allocations: 185.3 kB / 366.3 MB, free: 2 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.002/1.002, allocations: 205.2 MB / 0.6256 GB, free: 5.879 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.0007867/0.0007867, allocations: 96.06 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.366e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.5564, allocations: 138.8 MB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.5566, allocations: 72.55 kB / 1.108 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01308/0.5697, allocations: 3.704 MB / 1.112 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.5697, allocations: 4 kB / 1.112 GB, free: 6.074 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.0008398/0.5706, allocations: 0.5385 MB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5706, allocations: 13.34 kB / 1.112 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.5707, allocations: 27.81 kB / 1.112 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5708, allocations: 178.9 kB / 1.113 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5709, allocations: 11.98 kB / 1.113 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.571, allocations: 36.55 kB / 1.113 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002189/0.5712, allocations: 108.4 kB / 1.113 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.5715, allocations: 227.1 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5716, allocations: 4 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.5716, allocations: 7.984 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5716, allocations: 4 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.5723, allocations: 0.5409 MB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.5728, allocations: 379.8 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.573, allocations: 181.6 kB / 1.114 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.573, allocations: 8 kB / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.5734, allocations: 281.7 kB / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.5734, allocations: 0 / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0005846/0.574, allocations: 373.6 kB / 1.115 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5741, allocations: 67.39 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.5742, allocations: 126.3 kB / 1.115 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.5742, allocations: 45.69 kB / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.5743, allocations: 97.05 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.5744, allocations: 94.84 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.5744, allocations: 4 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5745, allocations: 338.7 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.5748, allocations: 129.3 kB / 1.115 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.5751, allocations: 274.3 kB / 1.116 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.5755, allocations: 161.1 kB / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5755, allocations: 4 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008555/0.5764, allocations: 471.7 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5764, allocations: 4 kB / 1.116 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5764, allocations: 10.05 kB / 1.116 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5764, allocations: 12 kB / 1.116 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.5766, allocations: 43.84 kB / 1.116 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5766, allocations: 11.94 kB / 1.116 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.577, allocations: 113.3 kB / 1.117 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.5771, allocations: 31.98 kB / 1.117 GB, free: 0.9062 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.0001275/0.5772, allocations: 150 kB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.5773, allocations: 35.7 kB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.5773, allocations: 17.75 kB / 1.117 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5773, allocations: 4 kB / 1.117 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5773, allocations: 0 / 1.117 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5774, allocations: 7.984 kB / 1.117 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.5785, allocations: 0.8397 MB / 1.118 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5785, allocations: 11.95 kB / 1.118 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.5786, allocations: 19.94 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5786, allocations: 0 / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.5787, allocations: 15.97 kB / 1.118 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5787, allocations: 0 / 1.118 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5787, allocations: 4 kB / 1.118 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005555/0.5792, allocations: 0.5076 MB / 1.118 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.5793, allocations: 100.8 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.5794, allocations: 17.39 kB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5796, allocations: 39.94 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5796, allocations: 43.92 kB / 1.118 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.5797, allocations: 35.97 kB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.023e-05/0.5797, allocations: 91.92 kB / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000364/0.5801, allocations: 91.97 kB / 1.119 GB, free: 14.77 MB / 0.7292 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.0001912/0.5803, allocations: 160.7 kB / 1.119 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.5809, allocations: 439.2 kB / 1.119 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5809, allocations: 0 / 1.119 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5812, allocations: 283.8 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.5815, allocations: 28.53 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.5821, allocations: 354.2 kB / 1.12 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.5824, allocations: 0.7687 MB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.5824, allocations: 0 / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.006615/0.5891, allocations: 4.074 MB / 1.124 GB, free: 8.672 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)