Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [: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.291/1.291, allocations: 289.8 MB / 297 MB, free: 12.61 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.0009061/0.0009061, allocations: 185 kB / 366.3 MB, free: 11.89 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9648/0.9648, allocations: 205.1 MB / 0.6256 GB, free: 1.984 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.0007751/0.0007751, allocations: 89.06 kB / 0.7395 GB, free: 46.96 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.635e-06, allocations: 4 kB / 0.859 GB, free: 7.117 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4104, allocations: 116.3 MB / 0.9726 GB, free: 81.47 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5383, allocations: 138.5 MB / 1.108 GB, free: 5.453 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.5385, allocations: 72.61 kB / 1.108 GB, free: 5.383 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.005511/0.544, allocations: 1.765 MB / 1.11 GB, free: 3.648 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.544, allocations: 0 / 1.11 GB, free: 3.648 MB / 0.7058 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003815/0.5444, allocations: 400 kB / 1.11 GB, free: 3.207 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.5445, allocations: 12.77 kB / 1.11 GB, free: 3.195 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.5445, allocations: 11.91 kB / 1.11 GB, free: 3.184 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.5446, allocations: 164.9 kB / 1.11 GB, free: 2.984 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5446, allocations: 8 kB / 1.11 GB, free: 2.977 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.5447, allocations: 11.98 kB / 1.11 GB, free: 2.965 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.763e-05/0.5448, allocations: 31.98 kB / 1.11 GB, free: 2.934 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.5449, allocations: 82.5 kB / 1.11 GB, free: 2.848 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5449, allocations: 1.312 kB / 1.11 GB, free: 2.848 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5449, allocations: 3.906 kB / 1.11 GB, free: 2.844 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5449, allocations: 4 kB / 1.11 GB, free: 2.84 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.5454, allocations: 349.1 kB / 1.111 GB, free: 2.461 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.5456, allocations: 78.58 kB / 1.111 GB, free: 2.375 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.5456, allocations: 37.02 kB / 1.111 GB, free: 2.336 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.5457, allocations: 1.031 kB / 1.111 GB, free: 2.336 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.5458, allocations: 109.8 kB / 1.111 GB, free: 2.219 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=13): time 3.356e-06/0.5458, allocations: 0 / 1.111 GB, free: 2.219 MB / 0.7058 GB Notification: Performance of matching and sorting (n=13): time 0.0002259/0.546, allocations: 124.8 kB / 1.111 GB, free: 2.094 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.5461, allocations: 59.39 kB / 1.111 GB, free: 2.023 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.5461, allocations: 100.9 kB / 1.111 GB, free: 1.918 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.5462, allocations: 29.7 kB / 1.111 GB, free: 1.883 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.5462, allocations: 88.12 kB / 1.111 GB, free: 1.793 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.5463, allocations: 35.56 kB / 1.111 GB, free: 1.758 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.5463, allocations: 4 kB / 1.111 GB, free: 1.754 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.5464, allocations: 318.8 kB / 1.112 GB, free: 1.434 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.5465, allocations: 45.97 kB / 1.112 GB, free: 1.391 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.5466, allocations: 79.39 kB / 1.112 GB, free: 1.301 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.5468, allocations: 63.89 kB / 1.112 GB, free: 1.238 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5468, allocations: 0 / 1.112 GB, free: 1.238 MB / 0.7058 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003583/0.5472, allocations: 169.5 kB / 1.112 GB, free: 1.066 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.5472, allocations: 8 kB / 1.112 GB, free: 1.059 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5472, allocations: 3.984 kB / 1.112 GB, free: 1.055 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5472, allocations: 4.125 kB / 1.112 GB, free: 1.051 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.5473, allocations: 11.94 kB / 1.112 GB, free: 1.039 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5473, allocations: 5.688 kB / 1.112 GB, free: 1.035 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.5475, allocations: 51.86 kB / 1.112 GB, free: 0.9844 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5475, allocations: 8 kB / 1.112 GB, free: 0.9766 MB / 0.7058 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.786e-05/0.5476, allocations: 109 kB / 1.112 GB, free: 0.8633 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5476, allocations: 11.89 kB / 1.112 GB, free: 0.8516 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.5477, allocations: 16.44 kB / 1.112 GB, free: 0.8359 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5477, allocations: 0 / 1.112 GB, free: 0.8359 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.5477, allocations: 0 / 1.112 GB, free: 0.8359 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5477, allocations: 7.891 kB / 1.112 GB, free: 0.8281 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.548, allocations: 367 kB / 1.112 GB, free: 436 kB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.548, allocations: 0 / 1.112 GB, free: 436 kB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.548, allocations: 4 kB / 1.112 GB, free: 432 kB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5481, allocations: 1.875 kB / 1.112 GB, free: 432 kB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5481, allocations: 7.984 kB / 1.113 GB, free: 424 kB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5481, allocations: 9.188 kB / 1.113 GB, free: 416 kB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5481, allocations: 3.906 kB / 1.113 GB, free: 412 kB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001858/0.5483, allocations: 218.6 kB / 1.113 GB, free: 180 kB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.5483, allocations: 84.95 kB / 1.113 GB, free: 76 kB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.5483, allocations: 7.984 kB / 1.113 GB, free: 68 kB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.5484, allocations: 8 kB / 1.113 GB, free: 60 kB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.5485, allocations: 15.97 kB / 1.113 GB, free: 44 kB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5485, allocations: 11.98 kB / 1.113 GB, free: 32 kB / 0.7058 GB Notification: Performance of sort global known variables: time 5.282e-05/0.5486, allocations: 86.09 kB / 1.113 GB, free: 15.95 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.0002449/0.5488, allocations: 32 kB / 1.113 GB, free: 15.92 MB / 0.7214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001412/0.549, allocations: 118.3 kB / 1.113 GB, free: 15.8 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.5492, allocations: 145.6 kB / 1.113 GB, free: 15.65 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.5492, allocations: 256 / 1.113 GB, free: 15.65 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.5493, allocations: 71.92 kB / 1.113 GB, free: 15.58 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.5495, allocations: 12.83 kB / 1.113 GB, free: 15.57 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.5498, allocations: 125.8 kB / 1.113 GB, free: 15.42 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.55, allocations: 0.7036 MB / 1.114 GB, free: 14.69 MB / 0.7214 GB Notification: Performance of SimCode: time 2.71e-07/0.55, allocations: 0 / 1.114 GB, free: 14.69 MB / 0.7214 GB Notification: Performance of Templates: time 0.003299/0.5533, allocations: 1.561 MB / 1.116 GB, free: 13.18 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)