Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.123/2.123, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001576/0.001575, allocations: 181.3 kB / 360.4 MB, free: 7.504 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.634/1.634, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001218/0.001218, allocations: 81.91 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.093e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5367, allocations: 115.2 MB / 0.9628 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.7488, allocations: 137.1 MB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.7491, allocations: 65.14 kB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.1034/0.8525, allocations: 20.52 MB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.8525, allocations: 4 kB / 1.117 GB, free: 15.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008175/0.8534, allocations: 497.9 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.8534, allocations: 8.531 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.8536, allocations: 31.72 kB / 1.117 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.8545, allocations: 379.3 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.8545, allocations: 9.609 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.8546, allocations: 15.91 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002989/0.8549, allocations: 115.9 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.8554, allocations: 196.1 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8554, allocations: 0 / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.8554, allocations: 0 / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.8555, allocations: 0 / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.856, allocations: 363.5 kB / 1.118 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.8568, allocations: 323.9 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.8571, allocations: 130.5 kB / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.8572, allocations: 0 / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/0.8576, allocations: 225.8 kB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.953e-06/0.8577, allocations: 0 / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0009092/0.8586, allocations: 310 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.8587, allocations: 114.8 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.8593, allocations: 339.5 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.8594, allocations: 37.7 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.8595, allocations: 115.6 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.8596, allocations: 43.45 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.8596, allocations: 0 / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8598, allocations: 346.8 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.86, allocations: 79.95 kB / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.8607, allocations: 462.6 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.8615, allocations: 166.9 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8615, allocations: 0 / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001202/0.8627, allocations: 336.9 kB / 1.121 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8627, allocations: 9.75 kB / 1.121 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8627, allocations: 4 kB / 1.121 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8628, allocations: 4 kB / 1.121 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.863, allocations: 35.91 kB / 1.121 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.863, allocations: 17.34 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.8644, allocations: 45.56 kB / 1.121 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.8644, allocations: 15.91 kB / 1.121 GB, free: 10.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001844/0.8646, allocations: 132.7 kB / 1.121 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.8647, allocations: 31.62 kB / 1.122 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.8648, allocations: 33.89 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8648, allocations: 0 / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.8649, allocations: 7.984 kB / 1.122 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8649, allocations: 4.922 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.8652, allocations: 262 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8653, allocations: 0 / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.8653, allocations: 7.984 kB / 1.122 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8653, allocations: 0 / 1.122 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.8653, allocations: 8 kB / 1.122 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.8654, allocations: 7.312 kB / 1.122 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8654, allocations: 3.938 kB / 1.122 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007919/0.8662, allocations: 362.9 kB / 1.122 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.8663, allocations: 125.3 kB / 1.122 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.8664, allocations: 0 / 1.122 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.8666, allocations: 3.984 kB / 1.122 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.8667, allocations: 15.98 kB / 1.122 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.8667, allocations: 12 kB / 1.122 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004228/0.8671, allocations: 279 kB / 1.123 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000552/0.8677, allocations: 79.94 kB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002689/0.868, allocations: 142.8 kB / 1.123 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.8686, allocations: 243.9 kB / 1.123 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8686, allocations: 0 / 1.123 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.8689, allocations: 143.9 kB / 1.123 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.8692, allocations: 27.09 kB / 1.123 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.8703, allocations: 455.3 kB / 1.124 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.8708, allocations: 0.8021 MB / 1.124 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.8709, allocations: 0 / 1.124 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of Templates: time 0.01204/0.8829, allocations: 4.234 MB / 1.129 GB, free: 2.703 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)