Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009409/0.0009409, allocations: 189.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9797/0.9797, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0007327/0.0007327, allocations: 84.97 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.414e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3885, allocations: 116.3 MB / 0.9726 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5185, allocations: 138.3 MB / 1.108 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.5187, allocations: 67.95 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01109/0.5298, allocations: 3.763 MB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5298, allocations: 0 / 1.111 GB, free: 6.422 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.0003709/0.5302, allocations: 443.4 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5302, allocations: 12.03 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.5303, allocations: 15.91 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5304, allocations: 182.8 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5304, allocations: 4 kB / 1.112 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.5305, allocations: 15.98 kB / 1.112 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.041e-05/0.5306, allocations: 12.5 kB / 1.112 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.5306, allocations: 49.69 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5307, allocations: 4 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5307, allocations: 3.984 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.5307, allocations: 0 / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.5312, allocations: 393.8 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.5312, allocations: 30.58 kB / 1.112 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.5313, allocations: 16.86 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.5313, allocations: 7.906 kB / 1.112 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.696e-05/0.5314, allocations: 76.05 kB / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.5314, allocations: 0 / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001924/0.5316, allocations: 94.08 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5316, allocations: 51.41 kB / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.5317, allocations: 125.4 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.5318, allocations: 34.25 kB / 1.113 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.5318, allocations: 100.1 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.5319, allocations: 15.81 kB / 1.113 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.5319, allocations: 4 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.532, allocations: 326.8 kB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.5322, allocations: 79.92 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.5323, allocations: 122.6 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.5327, allocations: 103.9 kB / 1.114 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5328, allocations: 0 / 1.114 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006795/0.5334, allocations: 289.2 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.5335, allocations: 4 kB / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5335, allocations: 0 / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5335, allocations: 7.984 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-05/0.5335, allocations: 8.656 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5335, allocations: 7.938 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.534, allocations: 116.1 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.5341, allocations: 15.98 kB / 1.114 GB, free: 3.469 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.921e-05/0.5341, allocations: 121.4 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.5342, allocations: 7.906 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.5342, allocations: 16.36 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5342, allocations: 0.5625 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5342, allocations: 0 / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5342, allocations: 4 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5343, allocations: 158.2 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5344, allocations: 3.906 kB / 1.114 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.5344, allocations: 3.938 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5344, allocations: 8.75 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.5344, allocations: 3.984 kB / 1.114 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5344, allocations: 0 / 1.114 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5344, allocations: 0 / 1.114 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001268/0.5345, allocations: 113.5 kB / 1.114 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.5346, allocations: 85.02 kB / 1.115 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.5346, allocations: 4.75 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.5346, allocations: 0 / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.5347, allocations: 19.97 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.5347, allocations: 7.984 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.403e-05/0.5347, allocations: 97.39 kB / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002384/0.535, allocations: 43.92 kB / 1.115 GB, free: 2.703 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.000132/0.5351, allocations: 111.2 kB / 1.115 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.5354, allocations: 230 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5355, allocations: 4.312 kB / 1.115 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.5355, allocations: 36 kB / 1.115 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5357, allocations: 21.75 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.536, allocations: 115.4 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.5362, allocations: 0.7075 MB / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5362, allocations: 4 kB / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.003958/0.5402, allocations: 2.214 MB / 1.118 GB, free: 15.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)