Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [: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.377/2.377, allocations: 253.1 MB / 260.4 MB, free: 7.418 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.001661/0.00166, allocations: 177.3 kB / 319.6 MB, free: 3.305 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.177/2.177, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001398, allocations: 96.77 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.256e-05/1.276e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7467/1.005, allocations: 132.1 MB / 1.017 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.005, allocations: 73.45 kB / 1.017 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01011/1.015, allocations: 1.975 MB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.005e-05/1.016, allocations: 8 kB / 1.019 GB, free: 4.48 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001075/1.017, allocations: 481.5 kB / 1.02 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.017, allocations: 8.031 kB / 1.02 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/1.017, allocations: 23.8 kB / 1.02 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/1.017, allocations: 223 kB / 1.02 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.017, allocations: 11.98 kB / 1.02 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/1.017, allocations: 23.98 kB / 1.02 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003784/1.018, allocations: 108.9 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/1.018, allocations: 147.3 kB / 1.02 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.018, allocations: 7.938 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/1.018, allocations: 11.91 kB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.018, allocations: 4 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/1.02, allocations: 0.5098 MB / 1.021 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/1.021, allocations: 180.3 kB / 1.021 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/1.021, allocations: 99.48 kB / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/1.021, allocations: 0 / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/1.021, allocations: 196.9 kB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.005e-06/1.021, allocations: 0 / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.000816/1.022, allocations: 243.9 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/1.022, allocations: 66.72 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/1.023, allocations: 141.8 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/1.023, allocations: 33.14 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.023, allocations: 104.6 kB / 1.022 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.023, allocations: 83.22 kB / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.023, allocations: 0 / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002523/1.023, allocations: 339.9 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/1.023, allocations: 76.75 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/1.024, allocations: 141.3 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/1.024, allocations: 84.39 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.024, allocations: 0 / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007678/1.025, allocations: 274 kB / 1.023 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.025, allocations: 8.125 kB / 1.023 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.025, allocations: 0 / 1.023 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.025, allocations: 4 kB / 1.023 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.025, allocations: 42.67 kB / 1.023 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.025, allocations: 4 kB / 1.023 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/1.026, allocations: 46.91 kB / 1.023 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/1.026, allocations: 19.94 kB / 1.023 GB, free: 1.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002095/1.026, allocations: 133.6 kB / 1.023 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/1.026, allocations: 15.81 kB / 1.023 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/1.026, allocations: 24.78 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.026, allocations: 4 kB / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.026, allocations: 6.625 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.026, allocations: 3.984 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/1.028, allocations: 0.6382 MB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.028, allocations: 4 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/1.028, allocations: 8 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/1.028, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.028, allocations: 7.547 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.028, allocations: 7.906 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.028, allocations: 0 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007752/1.029, allocations: 355.1 kB / 1.024 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.029, allocations: 100.8 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/1.029, allocations: 15.73 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/1.03, allocations: 23.97 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.03, allocations: 42.55 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/1.03, allocations: 19.73 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001107/1.03, allocations: 108.6 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004818/1.03, allocations: 56 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002709/1.031, allocations: 121.6 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007039/1.031, allocations: 250.2 kB / 1.025 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.032, allocations: 256 / 1.025 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/1.032, allocations: 153.8 kB / 1.025 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/1.032, allocations: 27.06 kB / 1.025 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/1.033, allocations: 285.9 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/1.034, allocations: 0.7717 MB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.333e-06/1.034, allocations: 0 / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.01005/1.044, allocations: 2.791 MB / 1.028 GB, free: 11.45 MB / 0.6511 GB