Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") [: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.353/1.353, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001072/0.001072, allocations: 169.3 kB / 366.3 MB, free: 1.996 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007661/0.0007659, allocations: 79.34 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.687e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4289, allocations: 116.3 MB / 0.9726 GB, free: 68.85 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5797, allocations: 141.7 MB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.58, allocations: 80.64 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05829/0.6383, allocations: 22.48 MB / 1.133 GB, free: 380 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.43e-05/0.6384, allocations: 12 kB / 1.133 GB, free: 368 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00133/0.6398, allocations: 0.767 MB / 1.134 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6398, allocations: 15.97 kB / 1.134 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.64, allocations: 71.06 kB / 1.134 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6416, allocations: 0.687 MB / 1.134 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.6416, allocations: 11.91 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.6417, allocations: 12.5 kB / 1.134 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001953/0.6419, allocations: 99.89 kB / 1.135 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.6422, allocations: 187.9 kB / 1.135 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6422, allocations: 0 / 1.135 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.6422, allocations: 3.938 kB / 1.135 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.6422, allocations: 4 kB / 1.135 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.6435, allocations: 1.076 MB / 1.136 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.6439, allocations: 241.5 kB / 1.136 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.644, allocations: 100.4 kB / 1.136 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.6441, allocations: 7.984 kB / 1.136 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.6443, allocations: 191.5 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.6443, allocations: 3.938 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0005327/0.6449, allocations: 280.6 kB / 1.137 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.6449, allocations: 166.2 kB / 1.137 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6462, allocations: 0.9102 MB / 1.138 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.6463, allocations: 35.2 kB / 1.138 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6464, allocations: 172.8 kB / 1.138 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.6465, allocations: 75.12 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.6465, allocations: 0 / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6466, allocations: 326 kB / 1.138 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.647, allocations: 237.2 kB / 1.138 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.6474, allocations: 325.7 kB / 1.139 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.6482, allocations: 316.9 kB / 1.139 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6482, allocations: 0 / 1.139 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001377/0.6496, allocations: 0.7473 MB / 1.14 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6496, allocations: 4 kB / 1.14 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6496, allocations: 8.141 kB / 1.14 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6497, allocations: 8 kB / 1.14 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.6501, allocations: 115.8 kB / 1.14 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6501, allocations: 5.016 kB / 1.14 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.6504, allocations: 36.52 kB / 1.14 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.6505, allocations: 35.98 kB / 1.14 GB, free: 8.793 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001184/0.6506, allocations: 133.2 kB / 1.14 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6507, allocations: 79.05 kB / 1.14 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.6513, allocations: 326.7 kB / 1.141 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6513, allocations: 4 kB / 1.141 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6513, allocations: 4 kB / 1.141 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.6513, allocations: 0 / 1.141 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.6518, allocations: 457.6 kB / 1.141 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6518, allocations: 5.781 kB / 1.141 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6519, allocations: 31.92 kB / 1.141 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6519, allocations: 4 kB / 1.141 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.6519, allocations: 4 kB / 1.141 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.652, allocations: 7.984 kB / 1.141 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.652, allocations: 0 / 1.141 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000524/0.6525, allocations: 402.5 kB / 1.141 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6527, allocations: 172.1 kB / 1.142 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/0.6528, allocations: 15.98 kB / 1.142 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.653, allocations: 19.98 kB / 1.142 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.6531, allocations: 19.97 kB / 1.142 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6531, allocations: 12 kB / 1.142 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006751/0.6538, allocations: 0.5772 MB / 1.142 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004561/0.6542, allocations: 131.8 kB / 1.142 GB, free: 6.301 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007579/0.655, allocations: 386.9 kB / 1.143 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.6555, allocations: 380.2 kB / 1.143 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6556, allocations: 0 / 1.143 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.6557, allocations: 112.4 kB / 1.143 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.6565, allocations: 191.9 kB / 1.143 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.658, allocations: 0.894 MB / 1.144 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.6587, allocations: 1.011 MB / 1.145 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.6587, allocations: 0 / 1.145 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of Templates: time 0.01332/0.672, allocations: 6.829 MB / 1.152 GB, free: 12.61 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)