Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 176.1 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007842, allocations: 91.28 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.464e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4094, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.545, allocations: 137.3 MB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.5452, allocations: 68.56 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0114/0.5566, allocations: 3.75 MB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5567, allocations: 8 kB / 1.102 GB, free: 14.98 MB / 0.7136 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.0003951/0.5571, allocations: 447.4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5571, allocations: 12.03 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.5572, allocations: 11.91 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.5573, allocations: 181.7 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5573, allocations: 4.656 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.5574, allocations: 15.98 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.961e-05/0.5574, allocations: 12 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.5575, allocations: 53.69 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5575, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.5576, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5576, allocations: 4 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.5581, allocations: 402 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.5582, allocations: 26.58 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.5582, allocations: 20.86 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.5582, allocations: 3.906 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.07e-05/0.5583, allocations: 80.92 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5583, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001959/0.5585, allocations: 91.73 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5586, allocations: 51.41 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.5586, allocations: 124.8 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5587, allocations: 33.7 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.5588, allocations: 99.97 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.5588, allocations: 19.81 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.5588, allocations: 4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.5589, allocations: 326.8 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5591, allocations: 75.98 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.5593, allocations: 118.5 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.5597, allocations: 105.8 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5597, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000703/0.5604, allocations: 281.2 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5604, allocations: 4 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5604, allocations: 1.172 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5605, allocations: 4 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.5605, allocations: 11.92 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5605, allocations: 1.875 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.561, allocations: 119.9 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.561, allocations: 19.98 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.628e-05/0.5611, allocations: 117.9 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.5612, allocations: 7.906 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.5612, allocations: 16.36 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.5612, allocations: 0 / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5612, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5612, allocations: 3.984 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5613, allocations: 163.9 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5614, allocations: 7.906 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.5614, allocations: 4 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5614, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5614, allocations: 3.984 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5614, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5614, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001362/0.5616, allocations: 114.1 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.5616, allocations: 85.02 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.5616, allocations: 7.906 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.5616, allocations: 4 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.5617, allocations: 7.984 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.5617, allocations: 9.984 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.101e-05/0.5618, allocations: 101 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002467/0.562, allocations: 43.94 kB / 1.105 GB, free: 11.29 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001457/0.5622, allocations: 119 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.5625, allocations: 237 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5625, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.5626, allocations: 32 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.5628, allocations: 22.2 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.563, allocations: 116.2 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.5633, allocations: 0.7125 MB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5633, allocations: 0 / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.004307/0.5676, allocations: 2.231 MB / 1.108 GB, free: 7.836 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)