Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.292/2.292, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001946/0.001945, allocations: 173.3 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.407/2.407, allocations: 205.4 MB / 0.5704 GB, free: 15.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001398/0.001397, allocations: 91.59 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.689e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7779/1.022, allocations: 135.2 MB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.022, allocations: 86.69 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1045/1.127, allocations: 22.03 MB / 1.042 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001096/1.127, allocations: 16 kB / 1.042 GB, free: 0.8047 MB / 0.6511 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.001985/1.129, allocations: 0.7534 MB / 1.042 GB, free: 40 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.129, allocations: 8.031 kB / 1.042 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004837/1.129, allocations: 67.33 kB / 1.042 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/1.132, allocations: 0.6481 MB / 1.043 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/1.132, allocations: 7.906 kB / 1.043 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/1.132, allocations: 8 kB / 1.043 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003759/1.132, allocations: 99.52 kB / 1.043 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/1.133, allocations: 196.8 kB / 1.043 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.133, allocations: 4 kB / 1.043 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/1.133, allocations: 0 / 1.043 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.133, allocations: 4 kB / 1.043 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/1.135, allocations: 1.038 MB / 1.044 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/1.136, allocations: 253.3 kB / 1.045 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/1.136, allocations: 93.94 kB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/1.136, allocations: 8 kB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/1.137, allocations: 194.6 kB / 1.045 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 3.807e-06/1.137, allocations: 0 / 1.045 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0009982/1.138, allocations: 291.4 kB / 1.045 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.138, allocations: 157.5 kB / 1.045 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.14, allocations: 0.8715 MB / 1.046 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/1.14, allocations: 33.69 kB / 1.046 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/1.14, allocations: 167.4 kB / 1.046 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/1.14, allocations: 73.22 kB / 1.046 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/1.141, allocations: 0 / 1.046 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002385/1.141, allocations: 391 kB / 1.047 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/1.141, allocations: 239.3 kB / 1.047 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/1.142, allocations: 314 kB / 1.047 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/1.143, allocations: 269.6 kB / 1.048 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.143, allocations: 0 / 1.048 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002019/1.145, allocations: 0.6821 MB / 1.048 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.145, allocations: 10.5 kB / 1.048 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.145, allocations: 3.984 kB / 1.048 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.145, allocations: 8 kB / 1.048 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/1.146, allocations: 119.2 kB / 1.048 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/1.146, allocations: 11.97 kB / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/1.147, allocations: 31.67 kB / 1.048 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.147, allocations: 35.67 kB / 1.049 GB, free: 10.66 MB / 0.6667 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.0002374/1.147, allocations: 128.4 kB / 1.049 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.147, allocations: 71.06 kB / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/1.149, allocations: 335.8 kB / 1.049 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.149, allocations: 4 kB / 1.049 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.149, allocations: 0 / 1.049 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.149, allocations: 7.906 kB / 1.049 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/1.15, allocations: 447.4 kB / 1.049 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.15, allocations: 0 / 1.049 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/1.15, allocations: 27.94 kB / 1.049 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/1.15, allocations: 7.984 kB / 1.05 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/1.15, allocations: 11.69 kB / 1.05 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.15, allocations: 0 / 1.05 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.15, allocations: 4 kB / 1.05 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001109/1.151, allocations: 402 kB / 1.05 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/1.151, allocations: 170.1 kB / 1.05 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.152, allocations: 7.062 kB / 1.05 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/1.152, allocations: 11.98 kB / 1.05 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.152, allocations: 27.53 kB / 1.05 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/1.152, allocations: 14.42 kB / 1.05 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001255/1.153, allocations: 0.5491 MB / 1.051 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001007/1.154, allocations: 119.8 kB / 1.051 GB, free: 8.617 MB / 0.6667 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.001138/1.156, allocations: 371.7 kB / 1.051 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.157, allocations: 382.7 kB / 1.051 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.157, allocations: 0 / 1.051 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.157, allocations: 108.8 kB / 1.052 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.159, allocations: 195.4 kB / 1.052 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.162, allocations: 0.8791 MB / 1.053 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.164, allocations: 1.004 MB / 1.054 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/1.164, allocations: 4 kB / 1.054 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of Templates: time 0.02479/1.188, allocations: 6.519 MB / 1.06 GB, free: 15.59 MB / 0.6823 GB