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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [: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.341/1.341, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009828/0.0009827, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007609/0.000761, allocations: 85.81 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.283e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5456, allocations: 137.3 MB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.5459, allocations: 67.95 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.007932/0.5538, allocations: 2.607 MB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5538, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003288/0.5542, allocations: 405.7 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5542, allocations: 8.031 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.5543, allocations: 12 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5544, allocations: 178.9 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5544, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.5544, allocations: 8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.341e-05/0.5545, allocations: 13.03 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.54e-05/0.5546, allocations: 46.38 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5546, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.5546, allocations: 4 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.5546, allocations: 3.906 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.555, allocations: 329.3 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.5551, allocations: 31.12 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.5551, allocations: 16.86 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.5551, allocations: 3.906 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/0.5552, allocations: 61.12 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.5552, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001623/0.5554, allocations: 82.16 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5554, allocations: 55.41 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.5555, allocations: 106.3 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.5556, allocations: 33.69 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.5556, allocations: 96.17 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.5556, allocations: 7.906 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.5557, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5558, allocations: 322.7 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5559, allocations: 52 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.556, allocations: 84.41 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5563, allocations: 79.86 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5563, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004761/0.5568, allocations: 198 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.5568, allocations: 4 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5568, allocations: 4 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5568, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.5569, allocations: 12.06 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.5569, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.5572, allocations: 77.53 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.5572, allocations: 15.98 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.11e-05/0.5573, allocations: 112.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.5573, allocations: 7.984 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.5574, allocations: 8.938 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5574, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5574, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5574, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.5575, allocations: 152.1 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5575, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.5575, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5575, allocations: 7.938 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5575, allocations: 3.984 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5575, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5576, allocations: 0.5625 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001103/0.5577, allocations: 103.3 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.5577, allocations: 81.11 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5577, allocations: 6.328 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.5578, allocations: 3.906 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.5578, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5578, allocations: 11.98 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.161e-05/0.5579, allocations: 83.28 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002145/0.5581, allocations: 35.94 kB / 1.103 GB, free: 12.91 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001272/0.5582, allocations: 121 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.5585, allocations: 153.3 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.5585, allocations: 0 / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.5585, allocations: 27.94 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.5587, allocations: 11.98 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.5589, allocations: 101 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.5591, allocations: 0.7004 MB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5591, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.003293/0.5624, allocations: 1.58 MB / 1.106 GB, free: 10.22 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)