Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [: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.533/2.533, allocations: 253.1 MB / 260.4 MB, free: 0.543 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.001806/0.001806, allocations: 186.6 kB / 319.6 MB, free: 7.66 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.311/2.311, allocations: 205.4 MB / 0.5704 GB, free: 25.6 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.001357/0.001357, allocations: 104.2 kB / 0.6746 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.722e-05, allocations: 4 kB / 0.7843 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5476, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2911/0.8388, allocations: 131.5 MB / 1.016 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.8392, allocations: 67.97 kB / 1.017 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01167/0.8509, allocations: 1.064 MB / 1.018 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8509, allocations: 3.938 kB / 1.018 GB, free: 8.297 MB / 0.6667 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.0008698/0.8518, allocations: 354.3 kB / 1.018 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.153e-05/0.8519, allocations: 12.02 kB / 1.018 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.852, allocations: 7.906 kB / 1.018 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.8523, allocations: 159.1 kB / 1.018 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.8524, allocations: 4 kB / 1.018 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.8524, allocations: 8 kB / 1.018 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003989/0.8528, allocations: 27.89 kB / 1.018 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.8536, allocations: 49.62 kB / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.8536, allocations: 0 / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.8537, allocations: 0 / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.8537, allocations: 4 kB / 1.018 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.8554, allocations: 269.3 kB / 1.018 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.8556, allocations: 46.61 kB / 1.018 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.8557, allocations: 25.08 kB / 1.018 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.8557, allocations: 0 / 1.018 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.8559, allocations: 79.28 kB / 1.019 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.8559, allocations: 0 / 1.019 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9): time 0.0002595/0.8562, allocations: 69.56 kB / 1.019 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.8562, allocations: 51.41 kB / 1.019 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.8564, allocations: 100.9 kB / 1.019 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.8564, allocations: 25.7 kB / 1.019 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.8565, allocations: 88.12 kB / 1.019 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.8565, allocations: 23.64 kB / 1.019 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.8566, allocations: 4 kB / 1.019 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8567, allocations: 322.8 kB / 1.019 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.8569, allocations: 12 kB / 1.019 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.857, allocations: 43.38 kB / 1.019 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.8571, allocations: 19.92 kB / 1.019 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8571, allocations: 0 / 1.019 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002351/0.8574, allocations: 93.47 kB / 1.019 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8574, allocations: 5.875 kB / 1.019 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8574, allocations: 0 / 1.019 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8575, allocations: 4 kB / 1.019 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.8576, allocations: 16.05 kB / 1.019 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8576, allocations: 0 / 1.019 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.8578, allocations: 8 kB / 1.019 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.8578, allocations: 32 / 1.019 GB, free: 6.191 MB / 0.6667 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.0001162/0.8579, allocations: 125.9 kB / 1.02 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.8579, allocations: 4 kB / 1.02 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.858, allocations: 11.97 kB / 1.02 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.858, allocations: 0 / 1.02 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.858, allocations: 4 kB / 1.02 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.858, allocations: 0 / 1.02 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.8592, allocations: 319 kB / 1.02 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.8593, allocations: 4 kB / 1.02 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.8594, allocations: 0 / 1.02 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.8595, allocations: 4 kB / 1.02 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8595, allocations: 0 / 1.02 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.8595, allocations: 0 / 1.02 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.8595, allocations: 0 / 1.02 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004392/0.86, allocations: 182 kB / 1.02 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8601, allocations: 81.02 kB / 1.02 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.8602, allocations: 4 kB / 1.02 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.8607, allocations: 7.984 kB / 1.02 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.8608, allocations: 7.984 kB / 1.02 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.8608, allocations: 288 / 1.02 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001108/0.8609, allocations: 91.27 kB / 1.02 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007079/0.8617, allocations: 12 kB / 1.02 GB, free: 5.273 MB / 0.6667 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.0002328/0.8619, allocations: 101.4 kB / 1.02 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.8623, allocations: 51.92 kB / 1.02 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8623, allocations: 0 / 1.02 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.8625, allocations: 20 kB / 1.02 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.863, allocations: 11.97 kB / 1.02 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.8637, allocations: 99.5 kB / 1.02 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000859/0.8646, allocations: 0.6958 MB / 1.021 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of SimCode: time 1.944e-06/0.8646, allocations: 0 / 1.021 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of Templates: time 0.008083/0.8727, allocations: 0.7211 MB / 1.022 GB, free: 3.527 MB / 0.6667 GB