Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") [: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.143/2.143, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001613/0.001613, allocations: 181.3 kB / 360.4 MB, free: 7.535 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.647/1.647, allocations: 205.2 MB / 0.6188 GB, free: 13.2 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.001612/0.001612, allocations: 86.33 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.805e-06, allocations: 0 / 0.8502 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5428, allocations: 115.2 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.7447, allocations: 137.6 MB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.745, allocations: 70.09 kB / 1.097 GB, free: 3.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004574/0.7496, allocations: 0.8775 MB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.7496, allocations: 7.844 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005346/0.7502, allocations: 377.5 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7502, allocations: 13.22 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.7503, allocations: 3.984 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.7504, allocations: 167.6 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.7505, allocations: 4.75 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.7505, allocations: 0 / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.102e-05/0.7506, allocations: 18.47 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.7507, allocations: 47.16 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.7508, allocations: 3.938 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7508, allocations: 0.6562 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7508, allocations: 7.906 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.7512, allocations: 242.7 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.7513, allocations: 35.48 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.7514, allocations: 19.08 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7514, allocations: 9.125 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.7516, allocations: 93.98 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.7516, allocations: 1 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002249/0.7518, allocations: 69.69 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.7519, allocations: 88.7 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.752, allocations: 101.8 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.7521, allocations: 25.7 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.7521, allocations: 84.14 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.7521, allocations: 15.8 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.7522, allocations: 0 / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7523, allocations: 322.8 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.7524, allocations: 15.94 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.7524, allocations: 36.94 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.7525, allocations: 18.88 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7525, allocations: 4 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001841/0.7527, allocations: 81.52 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7527, allocations: 8 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7527, allocations: 1.125 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7528, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.7528, allocations: 4.516 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7528, allocations: 11.95 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7529, allocations: 8 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.753, allocations: 4 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001199/0.7531, allocations: 143.7 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.7531, allocations: 13.02 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.7532, allocations: 8.375 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.7532, allocations: 4.094 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7532, allocations: 6.25 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7532, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.7537, allocations: 330.8 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7537, allocations: 0 / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.7537, allocations: 0 / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.7537, allocations: 4 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.7538, allocations: 0 / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7538, allocations: 0 / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7538, allocations: 0 / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002398/0.754, allocations: 181.9 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.7541, allocations: 84.95 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.7541, allocations: 0.7969 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.7543, allocations: 19.98 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.7544, allocations: 3.984 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.7544, allocations: 11.91 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.52e-05/0.7545, allocations: 87.28 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003096/0.7548, allocations: 15.94 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001246/0.755, allocations: 98.19 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.7552, allocations: 77.62 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7552, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.7553, allocations: 57.7 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.7556, allocations: 12.12 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.7559, allocations: 92.44 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.7563, allocations: 0.7035 MB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.7563, allocations: 0 / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.003803/0.7602, allocations: 0.7807 MB / 1.103 GB, free: 13.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)