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.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009592/0.0009592, allocations: 183.7 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.019/1.019, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007882/0.0007884, allocations: 84.92 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.366e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4071, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.5403, allocations: 137.5 MB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.5405, allocations: 74.08 kB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01925/0.5598, allocations: 6.498 MB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.5598, allocations: 4 kB / 1.104 GB, free: 11.97 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.0005099/0.5603, allocations: 0.5573 MB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5604, allocations: 12.03 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.5605, allocations: 33.81 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.5608, allocations: 274.7 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5608, allocations: 4 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.5609, allocations: 25.31 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001507/0.5611, allocations: 75.97 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.5613, allocations: 132.1 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5613, allocations: 3.906 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5613, allocations: 7.984 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5613, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.5621, allocations: 0.6727 MB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.5623, allocations: 155.9 kB / 1.106 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.5624, allocations: 40.8 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.5624, allocations: 0 / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.5625, allocations: 119 kB / 1.106 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.5625, allocations: 4 kB / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002842/0.5628, allocations: 161.3 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.5629, allocations: 55.41 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.563, allocations: 153.3 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.563, allocations: 37.7 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.5631, allocations: 120.6 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5632, allocations: 36.17 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.5632, allocations: 12 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5633, allocations: 334.8 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.5636, allocations: 136 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.5639, allocations: 210.3 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.5646, allocations: 191.7 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.5646, allocations: 3.906 kB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001129/0.5657, allocations: 472.4 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.5657, allocations: 4 kB / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5658, allocations: 4 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5658, allocations: 4 kB / 1.108 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.812e-05/0.5658, allocations: 17.94 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5658, allocations: 4.344 kB / 1.108 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.5666, allocations: 199.7 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.5667, allocations: 31.97 kB / 1.109 GB, free: 7.441 MB / 0.7136 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.0001161/0.5668, allocations: 136.7 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.5669, allocations: 19.72 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.5669, allocations: 17.59 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5669, allocations: 0 / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5669, allocations: 0 / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5669, allocations: 7.984 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.5673, allocations: 438.8 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5674, allocations: 2.062 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.5674, allocations: 11.98 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5674, allocations: 0 / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5674, allocations: 4 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5674, allocations: 0 / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5674, allocations: 0 / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002217/0.5676, allocations: 255.7 kB / 1.109 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.5677, allocations: 92.83 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.5677, allocations: 0 / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.5678, allocations: 3.984 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.5678, allocations: 15.98 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5679, allocations: 15.98 kB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.153e-05/0.5679, allocations: 113.5 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003451/0.5683, allocations: 68 kB / 1.11 GB, free: 6.184 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: 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.0001515/0.5684, allocations: 123 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.569, allocations: 400.3 kB / 1.11 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.569, allocations: 0 / 1.11 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.5691, allocations: 75.92 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5694, allocations: 39.41 kB / 1.11 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.5698, allocations: 232.6 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5701, allocations: 0.7557 MB / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5701, allocations: 0 / 1.111 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of Templates: time 0.006243/0.5763, allocations: 3.909 MB / 1.115 GB, free: 0.707 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)