Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") [: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.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001041/0.001041, allocations: 185.3 kB / 366.3 MB, free: 1.961 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.13/1.13, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008721/0.0008722, allocations: 92.55 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.086e-05/1.098e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4432, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.5881, allocations: 141.7 MB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.5884, allocations: 84.56 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05483/0.6432, allocations: 22.47 MB / 1.133 GB, free: 272 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.7e-05/0.6433, allocations: 15.98 kB / 1.133 GB, free: 256 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.001013/0.6443, allocations: 0.7746 MB / 1.134 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6444, allocations: 8.031 kB / 1.134 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.6445, allocations: 71.06 kB / 1.134 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6457, allocations: 0.6909 MB / 1.134 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.6458, allocations: 4 kB / 1.134 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.6458, allocations: 8.75 kB / 1.134 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001751/0.646, allocations: 103.8 kB / 1.135 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.6462, allocations: 189.9 kB / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6463, allocations: 0 / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.6463, allocations: 4 kB / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6463, allocations: 4 kB / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.6474, allocations: 1.072 MB / 1.136 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.6477, allocations: 249.3 kB / 1.136 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.6479, allocations: 105.3 kB / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6479, allocations: 7.969 kB / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.6481, allocations: 193.4 kB / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.6481, allocations: 4 kB / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0004674/0.6486, allocations: 284.5 kB / 1.137 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.6487, allocations: 162.2 kB / 1.137 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6497, allocations: 0.9102 MB / 1.138 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.6498, allocations: 29.7 kB / 1.138 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.6499, allocations: 176.8 kB / 1.138 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.6499, allocations: 71.91 kB / 1.138 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.65, allocations: 0 / 1.138 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6501, allocations: 334 kB / 1.138 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.6504, allocations: 229.2 kB / 1.138 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.6508, allocations: 321.7 kB / 1.139 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.6515, allocations: 324.8 kB / 1.139 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6515, allocations: 0 / 1.139 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001304/0.6528, allocations: 0.7492 MB / 1.14 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.6529, allocations: 8 kB / 1.14 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6529, allocations: 1.719 kB / 1.14 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6529, allocations: 4 kB / 1.14 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.6533, allocations: 119.8 kB / 1.14 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6533, allocations: 4 kB / 1.14 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.6536, allocations: 35.83 kB / 1.14 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.6537, allocations: 39.98 kB / 1.14 GB, free: 8.68 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.0001037/0.6538, allocations: 129.2 kB / 1.14 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.6539, allocations: 79.05 kB / 1.14 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.6544, allocations: 322.4 kB / 1.141 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6544, allocations: 4 kB / 1.141 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6544, allocations: 4 kB / 1.141 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6544, allocations: 7.938 kB / 1.141 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.6549, allocations: 457.7 kB / 1.141 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6549, allocations: 0 / 1.141 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.655, allocations: 31.92 kB / 1.141 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.655, allocations: 0.5625 kB / 1.141 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.655, allocations: 7.984 kB / 1.141 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.655, allocations: 4.938 kB / 1.141 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.655, allocations: 0 / 1.141 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004618/0.6555, allocations: 398.5 kB / 1.141 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6557, allocations: 180 kB / 1.142 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.6558, allocations: 17.3 kB / 1.142 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.656, allocations: 15.98 kB / 1.142 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.656, allocations: 23.97 kB / 1.142 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6561, allocations: 15.98 kB / 1.142 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006051/0.6567, allocations: 0.5694 MB / 1.142 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004105/0.6571, allocations: 135.8 kB / 1.142 GB, free: 6.191 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.0006742/0.6578, allocations: 377.2 kB / 1.143 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.6583, allocations: 388.2 kB / 1.143 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6583, allocations: 0 / 1.143 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6585, allocations: 108.4 kB / 1.143 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.6592, allocations: 182 kB / 1.143 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.6605, allocations: 0.9015 MB / 1.144 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.6611, allocations: 1.006 MB / 1.145 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.6611, allocations: 0 / 1.145 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.01157/0.6727, allocations: 6.828 MB / 1.152 GB, free: 12.52 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)