Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [: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.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009168/0.0009168, allocations: 181.2 kB / 366.3 MB, free: 1.996 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.029/1.029, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0007835/0.0007835, allocations: 90.59 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.885e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5633, allocations: 138.5 MB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.5636, allocations: 68.8 kB / 1.108 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01884/0.5824, allocations: 6.504 MB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5825, allocations: 0 / 1.114 GB, free: 3.438 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005653/0.583, allocations: 0.5611 MB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5831, allocations: 8.031 kB / 1.115 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.5832, allocations: 27.81 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5835, allocations: 280 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5835, allocations: 7.984 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.5836, allocations: 28 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001483/0.5838, allocations: 75.97 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.584, allocations: 131.3 kB / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.584, allocations: 3.906 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.584, allocations: 3.938 kB / 1.115 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.584, allocations: 4 kB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.5848, allocations: 0.6688 MB / 1.116 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.585, allocations: 163.6 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.5851, allocations: 41.98 kB / 1.116 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5851, allocations: 4 kB / 1.116 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.5852, allocations: 119.4 kB / 1.116 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/0.5853, allocations: 0 / 1.116 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0003051/0.5856, allocations: 160.2 kB / 1.116 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5856, allocations: 59.39 kB / 1.117 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5857, allocations: 161.8 kB / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.5858, allocations: 37.7 kB / 1.117 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.5859, allocations: 116.6 kB / 1.117 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.5859, allocations: 35.52 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.586, allocations: 8 kB / 1.117 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5861, allocations: 326.8 kB / 1.117 GB, free: 192 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.5864, allocations: 137.6 kB / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.5867, allocations: 226 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.5874, allocations: 185.8 kB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5874, allocations: 7.906 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001132/0.5886, allocations: 465.5 kB / 1.118 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5886, allocations: 8 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5886, allocations: 0 / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5886, allocations: 4 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.141e-05/0.5887, allocations: 15.92 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5887, allocations: 11.88 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.5895, allocations: 199.8 kB / 1.118 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.5895, allocations: 31.97 kB / 1.118 GB, free: 14.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001163/0.5897, allocations: 124.9 kB / 1.119 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.5897, allocations: 23.72 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.5897, allocations: 21.58 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5898, allocations: 4 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5898, allocations: 0 / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5898, allocations: 2.156 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.5902, allocations: 438.9 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5902, allocations: 0 / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.5902, allocations: 11.94 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5903, allocations: 4 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5903, allocations: 7.984 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5903, allocations: 0 / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5903, allocations: 0 / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002231/0.5905, allocations: 245.8 kB / 1.119 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.5906, allocations: 92.83 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.5906, allocations: 0 / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.5907, allocations: 4 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5907, allocations: 19.97 kB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.5908, allocations: 15.98 kB / 1.119 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.019e-05/0.5908, allocations: 107.3 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003305/0.5912, allocations: 72 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000162/0.5913, allocations: 119.3 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.5919, allocations: 408.9 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5919, allocations: 4.062 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.592, allocations: 67.94 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5923, allocations: 32.81 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.5927, allocations: 224.8 kB / 1.12 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.593, allocations: 0.7588 MB / 1.121 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.5931, allocations: 0 / 1.121 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.006432/0.5995, allocations: 3.919 MB / 1.125 GB, free: 8.098 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)