Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [: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.328/1.328, allocations: 289.8 MB / 297.1 MB, free: 12.73 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 184.8 kB / 366.3 MB, free: 11.98 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.024/1.024, allocations: 205.1 MB / 0.6256 GB, free: 2.059 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 86.03 kB / 0.7395 GB, free: 46.99 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 6.772e-06/6.802e-06, allocations: 0 / 0.859 GB, free: 7.238 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4172, allocations: 116.3 MB / 0.9726 GB, free: 81.54 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.5517, allocations: 138.8 MB / 1.108 GB, free: 5.25 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.5519, allocations: 67.95 kB / 1.108 GB, free: 5.184 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.01078/0.5627, allocations: 3.696 MB / 1.112 GB, free: 1.535 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5627, allocations: 5.688 kB / 1.112 GB, free: 1.531 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006929/0.5634, allocations: 0.5385 MB / 1.112 GB, free: 0.9258 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5635, allocations: 8.031 kB / 1.112 GB, free: 0.918 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.5636, allocations: 35.8 kB / 1.112 GB, free: 0.8828 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5637, allocations: 170.9 kB / 1.112 GB, free: 0.6758 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.5637, allocations: 15.97 kB / 1.113 GB, free: 0.6602 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.5638, allocations: 35.98 kB / 1.113 GB, free: 0.625 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002145/0.564, allocations: 109.6 kB / 1.113 GB, free: 0.5195 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.5644, allocations: 232.8 kB / 1.113 GB, free: 296 kB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5644, allocations: 0 / 1.113 GB, free: 296 kB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.5644, allocations: 11.97 kB / 1.113 GB, free: 284 kB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5644, allocations: 0 / 1.113 GB, free: 284 kB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.5651, allocations: 0.5365 MB / 1.113 GB, free: 15.7 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.5656, allocations: 386.6 kB / 1.114 GB, free: 15.3 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5658, allocations: 186.5 kB / 1.114 GB, free: 15.12 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.5658, allocations: 3.984 kB / 1.114 GB, free: 15.11 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.5662, allocations: 281.7 kB / 1.114 GB, free: 14.82 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=46): time 1.573e-06/0.5662, allocations: 3.938 kB / 1.114 GB, free: 14.82 MB / 0.7215 GB Notification: Performance of matching and sorting (n=46): time 0.000599/0.5668, allocations: 373.6 kB / 1.115 GB, free: 14.45 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5669, allocations: 63.41 kB / 1.115 GB, free: 14.38 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.567, allocations: 127.3 kB / 1.115 GB, free: 14.25 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.567, allocations: 41.7 kB / 1.115 GB, free: 14.2 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.5671, allocations: 101 kB / 1.115 GB, free: 14.09 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.5672, allocations: 94.86 kB / 1.115 GB, free: 14 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.5672, allocations: 4 kB / 1.115 GB, free: 14 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.5673, allocations: 338.7 kB / 1.115 GB, free: 13.66 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.5675, allocations: 129.3 kB / 1.115 GB, free: 13.53 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.5678, allocations: 268.6 kB / 1.116 GB, free: 13.21 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.5683, allocations: 165.1 kB / 1.116 GB, free: 13.05 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5683, allocations: 4 kB / 1.116 GB, free: 13.05 MB / 0.7215 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008562/0.5691, allocations: 472.1 kB / 1.116 GB, free: 12.58 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5692, allocations: 8 kB / 1.116 GB, free: 12.57 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5692, allocations: 6.812 kB / 1.116 GB, free: 12.57 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5692, allocations: 9.375 kB / 1.116 GB, free: 12.56 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.5693, allocations: 39.86 kB / 1.116 GB, free: 12.52 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5694, allocations: 15.92 kB / 1.116 GB, free: 12.51 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.5698, allocations: 112 kB / 1.116 GB, free: 12.4 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.5699, allocations: 32.78 kB / 1.117 GB, free: 12.37 MB / 0.7215 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 0.0001231/0.57, allocations: 150 kB / 1.117 GB, free: 12.21 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.57, allocations: 27.72 kB / 1.117 GB, free: 12.18 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.5701, allocations: 25.72 kB / 1.117 GB, free: 12.15 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5701, allocations: 12 kB / 1.117 GB, free: 12.14 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5701, allocations: 0 / 1.117 GB, free: 12.14 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5701, allocations: 0 / 1.117 GB, free: 12.14 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.5713, allocations: 0.8479 MB / 1.118 GB, free: 11.25 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5713, allocations: 5.156 kB / 1.118 GB, free: 11.24 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.5713, allocations: 19.92 kB / 1.118 GB, free: 11.22 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5714, allocations: 4 kB / 1.118 GB, free: 11.22 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.5714, allocations: 15.97 kB / 1.118 GB, free: 11.2 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5714, allocations: 7.938 kB / 1.118 GB, free: 11.2 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5714, allocations: 0 / 1.118 GB, free: 11.2 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005278/0.5719, allocations: 0.4999 MB / 1.118 GB, free: 10.66 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.572, allocations: 100.8 kB / 1.118 GB, free: 10.54 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.5721, allocations: 19.97 kB / 1.118 GB, free: 10.52 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5723, allocations: 37.77 kB / 1.118 GB, free: 10.49 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.5724, allocations: 39.92 kB / 1.118 GB, free: 10.45 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.5724, allocations: 31.98 kB / 1.118 GB, free: 10.42 MB / 0.7215 GB Notification: Performance of sort global known variables: time 4.688e-05/0.5725, allocations: 107.2 kB / 1.118 GB, free: 10.31 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0003588/0.5728, allocations: 83.98 kB / 1.118 GB, free: 10.23 MB / 0.7215 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000194/0.573, allocations: 147.1 kB / 1.119 GB, free: 10.08 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.5736, allocations: 436.3 kB / 1.119 GB, free: 9.641 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5736, allocations: 8 kB / 1.119 GB, free: 9.633 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.5739, allocations: 285.3 kB / 1.119 GB, free: 9.355 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.5742, allocations: 30.2 kB / 1.119 GB, free: 9.328 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.5748, allocations: 355 kB / 1.12 GB, free: 8.957 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.5751, allocations: 0.7725 MB / 1.12 GB, free: 8.164 MB / 0.7215 GB Notification: Performance of SimCode: time 2.4e-07/0.5751, allocations: 0 / 1.12 GB, free: 8.164 MB / 0.7215 GB Notification: Performance of Templates: time 0.006374/0.5815, allocations: 4.065 MB / 1.124 GB, free: 4.172 MB / 0.7215 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)