Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.314/1.314, allocations: 289.8 MB / 297 MB, free: 6.672 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.000908/0.0009079, allocations: 185.2 kB / 366.3 MB, free: 1.98 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.013/1.013, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0007616/0.0007616, allocations: 87.8 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4076, allocations: 116.3 MB / 0.9726 GB, free: 68.74 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5475, allocations: 138.2 MB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.5478, allocations: 73.27 kB / 1.108 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007978/0.5558, allocations: 2.609 MB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.5558, allocations: 4 kB / 1.11 GB, free: 7.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003518/0.5562, allocations: 409.7 kB / 1.111 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5562, allocations: 8.031 kB / 1.111 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.5562, allocations: 9.125 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5564, allocations: 171.6 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.5564, allocations: 0 / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.5564, allocations: 8 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.138e-05/0.5565, allocations: 19.94 kB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/0.5566, allocations: 41.69 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.5566, allocations: 4.75 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.5566, allocations: 0 / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5566, allocations: 7.906 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.557, allocations: 326.4 kB / 1.111 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.5571, allocations: 26.58 kB / 1.111 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.5571, allocations: 16.8 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5572, allocations: 11.91 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.929e-05/0.5572, allocations: 67.47 kB / 1.111 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.5573, allocations: 1.688 kB / 1.111 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001605/0.5574, allocations: 69.59 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.5575, allocations: 51.41 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.5575, allocations: 113.1 kB / 1.112 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.5576, allocations: 29.7 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.5576, allocations: 92.23 kB / 1.112 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.5576, allocations: 19.83 kB / 1.112 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.5577, allocations: 4 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.5578, allocations: 319.4 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.5579, allocations: 55.92 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.558, allocations: 80.28 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.5583, allocations: 76.58 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5583, allocations: 0 / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004752/0.5588, allocations: 202.1 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5588, allocations: 4 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5588, allocations: 3.984 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5588, allocations: 4 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-05/0.5589, allocations: 0 / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5589, allocations: 7.297 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.5592, allocations: 80.75 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.5592, allocations: 11.98 kB / 1.112 GB, free: 5.062 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.041e-05/0.5593, allocations: 116.8 kB / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.5593, allocations: 4 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.5594, allocations: 16.28 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.5594, allocations: 1.031 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5594, allocations: 0 / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5594, allocations: 3.984 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.644e-05/0.5595, allocations: 154.7 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5595, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.5595, allocations: 0.5625 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5595, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5595, allocations: 4 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5595, allocations: 0 / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5595, allocations: 4.5 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001048/0.5597, allocations: 100.9 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.5597, allocations: 81.67 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5597, allocations: 0 / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.5597, allocations: 7.969 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.5598, allocations: 7.984 kB / 1.113 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.5598, allocations: 0 / 1.113 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.447e-05/0.5598, allocations: 96.48 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002143/0.5601, allocations: 31.94 kB / 1.113 GB, free: 4.363 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.0001442/0.5602, allocations: 115.2 kB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5604, allocations: 151.3 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5604, allocations: 0 / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.5605, allocations: 29.02 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5607, allocations: 16.23 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.5609, allocations: 87.58 kB / 1.113 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.5611, allocations: 0.7036 MB / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.5611, allocations: 0 / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of Templates: time 0.003338/0.5645, allocations: 1.575 MB / 1.116 GB, free: 1.676 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)