Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.116/2.116, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001937/0.001937, allocations: 181.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001181, allocations: 98.72 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.136e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5551, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.7639, allocations: 140.5 MB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.7642, allocations: 79.2 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.09427/0.8585, allocations: 22.47 MB / 1.122 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.436e-05/0.8586, allocations: 20 kB / 1.122 GB, free: 9.809 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.001619/0.8602, allocations: 0.7751 MB / 1.123 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8603, allocations: 8.531 kB / 1.123 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.8605, allocations: 71.06 kB / 1.123 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.8628, allocations: 0.6904 MB / 1.124 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.8628, allocations: 7.984 kB / 1.124 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.8629, allocations: 16 kB / 1.124 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003057/0.8632, allocations: 91.91 kB / 1.124 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.8636, allocations: 197.3 kB / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8637, allocations: 0 / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.8637, allocations: 4 kB / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8637, allocations: 4 kB / 1.124 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.8655, allocations: 1.076 MB / 1.125 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.8661, allocations: 245.5 kB / 1.125 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.8664, allocations: 100.3 kB / 1.125 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.8664, allocations: 0 / 1.125 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.8668, allocations: 199.5 kB / 1.125 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.8668, allocations: 0 / 1.125 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0008325/0.8677, allocations: 287.2 kB / 1.126 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.8678, allocations: 154.2 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.8697, allocations: 0.918 MB / 1.127 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.8697, allocations: 27.39 kB / 1.127 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.8699, allocations: 176.8 kB / 1.127 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.87, allocations: 71.16 kB / 1.127 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.8701, allocations: 0 / 1.127 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8702, allocations: 330 kB / 1.127 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.8709, allocations: 237.2 kB / 1.128 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.8716, allocations: 325.8 kB / 1.128 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.873, allocations: 314.9 kB / 1.128 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.873, allocations: 0 / 1.128 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002451/0.8754, allocations: 0.7494 MB / 1.129 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8755, allocations: 8 kB / 1.129 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8755, allocations: 0 / 1.129 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.8755, allocations: 8.156 kB / 1.129 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.8764, allocations: 119.8 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.8764, allocations: 4 kB / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.877, allocations: 31.67 kB / 1.129 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.8771, allocations: 39.98 kB / 1.129 GB, free: 2.246 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.0001806/0.8773, allocations: 136.5 kB / 1.129 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.8775, allocations: 79.06 kB / 1.129 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.8784, allocations: 326.6 kB / 1.13 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.8785, allocations: 4 kB / 1.13 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.8785, allocations: 3.984 kB / 1.13 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.8785, allocations: 11.92 kB / 1.13 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.8792, allocations: 457.6 kB / 1.13 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8792, allocations: 3.984 kB / 1.13 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.8794, allocations: 24 kB / 1.13 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8795, allocations: 4 kB / 1.13 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.8795, allocations: 11.98 kB / 1.13 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.8795, allocations: 5.812 kB / 1.13 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8795, allocations: 0 / 1.13 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008397/0.8804, allocations: 410.9 kB / 1.131 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.8807, allocations: 168.1 kB / 1.131 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.8808, allocations: 12 kB / 1.131 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.8812, allocations: 11.98 kB / 1.131 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.8813, allocations: 27.97 kB / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.8814, allocations: 16.64 kB / 1.131 GB, free: 464 kB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001258/0.8827, allocations: 0.5733 MB / 1.131 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007597/0.8834, allocations: 127.8 kB / 1.131 GB, free: 15.76 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.001048/0.8845, allocations: 382 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.8855, allocations: 389.7 kB / 1.132 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8855, allocations: 0 / 1.132 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.8858, allocations: 111.9 kB / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.8873, allocations: 182.8 kB / 1.132 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.8897, allocations: 0.8978 MB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009953/0.8908, allocations: 1.008 MB / 1.134 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.8908, allocations: 0 / 1.134 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.02178/0.9126, allocations: 6.819 MB / 1.141 GB, free: 6.211 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)