Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") [: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.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001058/0.001059, allocations: 173.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.518/1.518, allocations: 205.1 MB / 0.6256 GB, free: 5.891 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.0009263/0.0009262, allocations: 96.23 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7074, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.891, allocations: 139.7 MB / 1.109 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.8913, allocations: 79.92 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01473/0.906, allocations: 5.135 MB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.901e-05/0.9061, allocations: 5.594 kB / 1.114 GB, free: 3.602 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008596/0.907, allocations: 0.5509 MB / 1.115 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.907, allocations: 8.031 kB / 1.115 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9071, allocations: 35.72 kB / 1.115 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.9076, allocations: 263.3 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.9077, allocations: 15.98 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.9077, allocations: 28 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002304/0.908, allocations: 92.62 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.9083, allocations: 159.8 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.9083, allocations: 0 / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.9083, allocations: 7.969 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9084, allocations: 4 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.9093, allocations: 0.5791 MB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.9096, allocations: 170.5 kB / 1.116 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.9097, allocations: 72.86 kB / 1.116 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.9097, allocations: 4.344 kB / 1.116 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.91, allocations: 187.1 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 3.307e-06/0.91, allocations: 4.688 kB / 1.116 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0004334/0.9104, allocations: 241.1 kB / 1.116 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.9105, allocations: 75.05 kB / 1.116 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.9106, allocations: 154.8 kB / 1.117 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.9107, allocations: 37.7 kB / 1.117 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.9108, allocations: 132.8 kB / 1.117 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.9109, allocations: 82.95 kB / 1.117 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.9109, allocations: 4 kB / 1.117 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.911, allocations: 339.5 kB / 1.117 GB, free: 180 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.9113, allocations: 133.1 kB / 1.117 GB, free: 44 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.9116, allocations: 258.6 kB / 1.118 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.9122, allocations: 168 kB / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.9122, allocations: 0 / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009818/0.9132, allocations: 482.9 kB / 1.118 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.9132, allocations: 8.844 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9132, allocations: 4 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9133, allocations: 4.375 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.9134, allocations: 47.86 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9134, allocations: 11.91 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.914, allocations: 131.7 kB / 1.118 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.914, allocations: 35.92 kB / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001303/0.9142, allocations: 146.1 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.9142, allocations: 27.7 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.9143, allocations: 23.41 kB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9143, allocations: 7.906 kB / 1.119 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9143, allocations: 4 kB / 1.119 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9143, allocations: 3.984 kB / 1.119 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.915, allocations: 0.5806 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.915, allocations: 7.984 kB / 1.119 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.9151, allocations: 15.94 kB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9151, allocations: 0 / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.9151, allocations: 9.297 kB / 1.119 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.9151, allocations: 12 kB / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9151, allocations: 0 / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003545/0.9155, allocations: 346.6 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.9156, allocations: 96.84 kB / 1.12 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.9156, allocations: 15.89 kB / 1.12 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.9157, allocations: 7.984 kB / 1.12 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.9158, allocations: 31.95 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.9159, allocations: 23.98 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.938e-05/0.9159, allocations: 119.2 kB / 1.12 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003557/0.9163, allocations: 83.98 kB / 1.12 GB, free: 13.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001775/0.9165, allocations: 127 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.9171, allocations: 417.2 kB / 1.12 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9171, allocations: 4.125 kB / 1.12 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.9173, allocations: 140.5 kB / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.9176, allocations: 29.28 kB / 1.121 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.9181, allocations: 289.2 kB / 1.121 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.9184, allocations: 0.7833 MB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9185, allocations: 0 / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.006836/0.9253, allocations: 3.815 MB / 1.125 GB, free: 7.641 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)