Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [: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.257/2.257, allocations: 253.1 MB / 260.4 MB, free: 7.453 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.001654/0.001654, allocations: 192.9 kB / 319.6 MB, free: 3.332 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.125/2.125, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001354/0.001354, allocations: 90.98 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.915e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.656/0.8726, allocations: 132.4 MB / 1.017 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.8729, allocations: 67.22 kB / 1.017 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004316/0.8773, allocations: 0.7868 MB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8773, allocations: 0 / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000514/0.8779, allocations: 354.2 kB / 1.019 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.8779, allocations: 8.031 kB / 1.019 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.878, allocations: 7.906 kB / 1.019 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.8782, allocations: 171 kB / 1.019 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8782, allocations: 4 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.8782, allocations: 4.844 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/0.8783, allocations: 27.72 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.8785, allocations: 51.95 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8785, allocations: 0 / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.8785, allocations: 7.984 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8785, allocations: 3.938 kB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.8791, allocations: 270.2 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.8793, allocations: 56.5 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.8794, allocations: 23.45 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8794, allocations: 0 / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.8795, allocations: 62.41 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.528e-06/0.8795, allocations: 96 / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002346/0.8798, allocations: 68.84 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.8798, allocations: 59.39 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.88, allocations: 99.16 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.88, allocations: 25.7 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8801, allocations: 86.95 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.8802, allocations: 27.2 kB / 1.02 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.8802, allocations: 0 / 1.02 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8804, allocations: 314.3 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.8804, allocations: 14.81 kB / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.8805, allocations: 42.61 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.8806, allocations: 22.8 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8806, allocations: 4 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002065/0.8808, allocations: 83.7 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8809, allocations: 4 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8809, allocations: 4 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8809, allocations: 0 / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.881, allocations: 11.98 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.881, allocations: 3.938 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.8812, allocations: 8 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.8812, allocations: 8.031 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.000104/0.8813, allocations: 124.1 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.8813, allocations: 3.984 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.8814, allocations: 11.16 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8814, allocations: 4 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8814, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8814, allocations: 96 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.882, allocations: 328.1 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.882, allocations: 3.984 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.8821, allocations: 4 kB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8821, allocations: 0 / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.8821, allocations: 0 / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8821, allocations: 3.938 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8821, allocations: 4 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001971/0.8823, allocations: 162.4 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.8824, allocations: 89 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.8825, allocations: 0 / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.8826, allocations: 8.062 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.8827, allocations: 15.73 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.8827, allocations: 8 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.907e-05/0.8828, allocations: 85.7 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003328/0.8831, allocations: 8 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001424/0.8833, allocations: 98.62 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.8835, allocations: 48.44 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8835, allocations: 0 / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.8836, allocations: 26.19 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.8839, allocations: 18.61 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.8845, allocations: 113.7 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.8849, allocations: 0.704 MB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.8849, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of Templates: time 0.004089/0.889, allocations: 0.7092 MB / 1.023 GB, free: 0.6133 MB / 0.6355 GB