Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009315/0.0009315, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.048/1.048, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007838/0.0007838, allocations: 101.1 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.147e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4339, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5765, allocations: 140.7 MB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.5767, allocations: 75.95 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05676/0.6335, allocations: 22.48 MB / 1.123 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.411e-05/0.6336, allocations: 12 kB / 1.123 GB, free: 8.922 MB / 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.001134/0.6347, allocations: 0.777 MB / 1.124 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6348, allocations: 12.53 kB / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.635, allocations: 75.72 kB / 1.124 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6364, allocations: 0.6904 MB / 1.125 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.6364, allocations: 4 kB / 1.125 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.6365, allocations: 8 kB / 1.125 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000186/0.6366, allocations: 101.4 kB / 1.125 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.6369, allocations: 190.4 kB / 1.125 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6369, allocations: 3.938 kB / 1.125 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.637, allocations: 4.547 kB / 1.125 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.637, allocations: 4 kB / 1.125 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.6382, allocations: 1.068 MB / 1.126 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.6385, allocations: 249.5 kB / 1.126 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.6386, allocations: 96.27 kB / 1.126 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6387, allocations: 3.938 kB / 1.126 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.6389, allocations: 200.1 kB / 1.127 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.993e-06/0.6389, allocations: 0 / 1.127 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0005312/0.6395, allocations: 283.1 kB / 1.127 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.6395, allocations: 162.2 kB / 1.127 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6406, allocations: 0.9102 MB / 1.128 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.6407, allocations: 33.7 kB / 1.128 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.6408, allocations: 176.8 kB / 1.128 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.6409, allocations: 71.7 kB / 1.128 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.6409, allocations: 0 / 1.128 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.641, allocations: 330 kB / 1.128 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.6413, allocations: 229.2 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.6417, allocations: 329.7 kB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/0.6425, allocations: 323.5 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6425, allocations: 0 / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001356/0.6439, allocations: 0.7519 MB / 1.13 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6439, allocations: 6.969 kB / 1.13 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6439, allocations: 0 / 1.13 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.6439, allocations: 8 kB / 1.13 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.6443, allocations: 120 kB / 1.13 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.6444, allocations: 4 kB / 1.13 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.6447, allocations: 35.67 kB / 1.13 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.6448, allocations: 36.73 kB / 1.13 GB, free: 1.359 MB / 0.7292 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.0001145/0.6449, allocations: 139.1 kB / 1.13 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.645, allocations: 71.06 kB / 1.13 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.6455, allocations: 328.2 kB / 1.131 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6455, allocations: 4 kB / 1.131 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6455, allocations: 0 / 1.131 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6455, allocations: 11.92 kB / 1.131 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.646, allocations: 449.7 kB / 1.131 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.646, allocations: 0.9375 kB / 1.131 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.6461, allocations: 31.92 kB / 1.131 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6461, allocations: 4 kB / 1.131 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.6461, allocations: 11.98 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6461, allocations: 0 / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6461, allocations: 4 kB / 1.131 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000475/0.6466, allocations: 405.1 kB / 1.132 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.6468, allocations: 176.1 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.6469, allocations: 11.98 kB / 1.132 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6471, allocations: 11.98 kB / 1.132 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.6472, allocations: 29.28 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.6472, allocations: 15.98 kB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006396/0.6478, allocations: 0.5694 MB / 1.132 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004545/0.6483, allocations: 135.8 kB / 1.132 GB, free: 14.88 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.0007031/0.649, allocations: 379.5 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.6495, allocations: 392.7 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6496, allocations: 3.938 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.6497, allocations: 103.9 kB / 1.133 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.6505, allocations: 184.3 kB / 1.134 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.6519, allocations: 0.8991 MB / 1.134 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/0.6526, allocations: 1.007 MB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.6526, allocations: 0 / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of Templates: time 0.01222/0.6648, allocations: 6.833 MB / 1.142 GB, free: 5.285 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)