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.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.349/1.349, allocations: 285.5 MB / 292.8 MB, free: 9.891 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.001021/0.001021, allocations: 179.6 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.074/1.074, allocations: 205.1 MB / 0.6195 GB, free: 2.875 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007853, allocations: 79.06 kB / 0.7326 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/9.007e-06, allocations: 7.812 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 115.3 MB / 0.9637 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6291, allocations: 140.7 MB / 1.101 GB, free: 32.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.6294, allocations: 84.44 kB / 1.101 GB, free: 32.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05034/0.6797, allocations: 22.47 MB / 1.123 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.676e-05/0.6798, allocations: 15.66 kB / 1.123 GB, free: 31.02 MB / 0.7136 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.0008769/0.6807, allocations: 0.769 MB / 1.124 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.6807, allocations: 11.66 kB / 1.124 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.6808, allocations: 74.67 kB / 1.124 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.682, allocations: 0.6891 MB / 1.125 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.682, allocations: 5.328 kB / 1.125 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.6821, allocations: 15.64 kB / 1.125 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001694/0.6823, allocations: 89.84 kB / 1.125 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.6825, allocations: 201.3 kB / 1.125 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6825, allocations: 0 / 1.125 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.6825, allocations: 0.6094 kB / 1.125 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6825, allocations: 4.578 kB / 1.125 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009921/0.6835, allocations: 1.072 MB / 1.126 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.6838, allocations: 248.9 kB / 1.126 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.684, allocations: 98.56 kB / 1.126 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.684, allocations: 10.55 kB / 1.126 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.6842, allocations: 199.6 kB / 1.127 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.6842, allocations: 0 / 1.127 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004662/0.6847, allocations: 285.8 kB / 1.127 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6848, allocations: 158.8 kB / 1.127 GB, free: 28.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.6857, allocations: 0.9083 MB / 1.128 GB, free: 28.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.6858, allocations: 33.66 kB / 1.128 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6859, allocations: 179.4 kB / 1.128 GB, free: 28.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.686, allocations: 72.84 kB / 1.128 GB, free: 28.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.686, allocations: 0 / 1.128 GB, free: 28.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6861, allocations: 328.9 kB / 1.128 GB, free: 44.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.6864, allocations: 233.8 kB / 1.129 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.6868, allocations: 327 kB / 1.129 GB, free: 44.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.6876, allocations: 316.8 kB / 1.129 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6876, allocations: 0 / 1.129 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001269/0.6889, allocations: 0.7509 MB / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.6889, allocations: 7.75 kB / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6889, allocations: 0 / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6889, allocations: 7.688 kB / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.6893, allocations: 117.3 kB / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6893, allocations: 7.781 kB / 1.13 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.6896, allocations: 37.72 kB / 1.13 GB, free: 44.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6897, allocations: 37.5 kB / 1.13 GB, free: 44.09 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.0001239/0.6899, allocations: 136.7 kB / 1.13 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.6899, allocations: 73.38 kB / 1.13 GB, free: 43.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.6904, allocations: 319.8 kB / 1.131 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6904, allocations: 11.69 kB / 1.131 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6905, allocations: 4.062 kB / 1.131 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6905, allocations: 6.797 kB / 1.131 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.6908, allocations: 461 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6908, allocations: 3.875 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.6909, allocations: 22.69 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6909, allocations: 3.875 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.691, allocations: 6.703 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.691, allocations: 3.906 kB / 1.131 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.691, allocations: 7.938 kB / 1.131 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003716/0.6913, allocations: 404.6 kB / 1.132 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6915, allocations: 175 kB / 1.132 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.6916, allocations: 6.688 kB / 1.132 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.6918, allocations: 17.44 kB / 1.132 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.6918, allocations: 23.33 kB / 1.132 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.6919, allocations: 14.5 kB / 1.132 GB, free: 43.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005311/0.6924, allocations: 0.577 MB / 1.132 GB, free: 43.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004133/0.6928, allocations: 126 kB / 1.132 GB, free: 43.22 MB / 0.7292 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.0006385/0.6935, allocations: 391.6 kB / 1.133 GB, free: 43.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.6939, allocations: 384.1 kB / 1.133 GB, free: 43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6939, allocations: 0 / 1.133 GB, free: 43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6941, allocations: 112.8 kB / 1.133 GB, free: 43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.6948, allocations: 169.3 kB / 1.134 GB, free: 43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6959, allocations: 0.9009 MB / 1.134 GB, free: 42.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.6965, allocations: 1.01 MB / 1.135 GB, free: 42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.6965, allocations: 0 / 1.135 GB, free: 42 MB / 0.7292 GB Notification: Performance of Templates: time 0.0103/0.7068, allocations: 6.833 MB / 1.142 GB, free: 41.35 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)