Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [: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.338/1.338, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.0009068/0.0009069, allocations: 177.3 kB / 366.3 MB, free: 2.016 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.035/1.035, allocations: 205.2 MB / 0.6256 GB, free: 5.898 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.0007447/0.0007447, allocations: 88.64 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.707e-06/8.727e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4212, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5568, allocations: 138.5 MB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.557, allocations: 71.95 kB / 1.108 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0185/0.5755, allocations: 6.495 MB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.5755, allocations: 8 kB / 1.114 GB, free: 3.453 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.0004914/0.576, allocations: 0.5572 MB / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.576, allocations: 8.688 kB / 1.115 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.5761, allocations: 31.8 kB / 1.115 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.5765, allocations: 274.9 kB / 1.115 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5765, allocations: 4 kB / 1.115 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.5766, allocations: 24 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/0.5767, allocations: 75.97 kB / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5769, allocations: 135.3 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5769, allocations: 4.469 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.5769, allocations: 7.984 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.577, allocations: 0 / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.5778, allocations: 0.6688 MB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5779, allocations: 159.7 kB / 1.116 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.578, allocations: 37.42 kB / 1.116 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.578, allocations: 4.172 kB / 1.116 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.5781, allocations: 122 kB / 1.116 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.5782, allocations: 0 / 1.116 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002871/0.5784, allocations: 157.3 kB / 1.116 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.5785, allocations: 60.62 kB / 1.117 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.5786, allocations: 153.8 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.5787, allocations: 41.69 kB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.5788, allocations: 116.6 kB / 1.117 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.5788, allocations: 43.52 kB / 1.117 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5789, allocations: 8 kB / 1.117 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.579, allocations: 330.8 kB / 1.117 GB, free: 216 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.5792, allocations: 136 kB / 1.117 GB, free: 80 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.5795, allocations: 226 kB / 1.118 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.5802, allocations: 181.8 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5802, allocations: 3.906 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001122/0.5813, allocations: 472.7 kB / 1.118 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5814, allocations: 4 kB / 1.118 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5814, allocations: 5.656 kB / 1.118 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5814, allocations: 8 kB / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.119e-05/0.5814, allocations: 12 kB / 1.118 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5814, allocations: 11.88 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.5822, allocations: 203.7 kB / 1.118 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.5823, allocations: 27.98 kB / 1.118 GB, free: 14.91 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.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,mulAnd0.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.0001182/0.5824, allocations: 130.2 kB / 1.119 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.5825, allocations: 19.72 kB / 1.119 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.5825, allocations: 17.59 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5825, allocations: 0 / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5825, allocations: 8 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5825, allocations: 3.984 kB / 1.119 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.583, allocations: 434.9 kB / 1.119 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.583, allocations: 0 / 1.119 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.583, allocations: 16.94 kB / 1.119 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.583, allocations: 0 / 1.119 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.583, allocations: 4 kB / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.583, allocations: 0 / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.583, allocations: 0 / 1.119 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002181/0.5832, allocations: 250.2 kB / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.5833, allocations: 96.83 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.5833, allocations: 3.984 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.5834, allocations: 0 / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.5835, allocations: 19.97 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5835, allocations: 8 kB / 1.119 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.728e-05/0.5836, allocations: 116.4 kB / 1.119 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003279/0.5839, allocations: 71.98 kB / 1.12 GB, free: 13.65 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001461/0.584, allocations: 119.3 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.5846, allocations: 404.3 kB / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.5846, allocations: 0 / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.5847, allocations: 75.92 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.585, allocations: 42.69 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.5854, allocations: 224.7 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5857, allocations: 0.7588 MB / 1.121 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.5857, allocations: 4 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.00642/0.5921, allocations: 3.89 MB / 1.125 GB, free: 8.133 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)