Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") [: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.317/1.317, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001034/0.001034, allocations: 180.2 kB / 366.3 MB, free: 1.945 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0007863/0.0007862, allocations: 78.81 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.195e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4313, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5671, allocations: 138.2 MB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.5673, allocations: 64.66 kB / 1.108 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004745/0.5721, allocations: 1.513 MB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5721, allocations: 0 / 1.109 GB, free: 8.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002869/0.5724, allocations: 364.1 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.5725, allocations: 12.03 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.5725, allocations: 7.906 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.5727, allocations: 195 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.5727, allocations: 0 / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.5727, allocations: 4 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.794e-05/0.5728, allocations: 8 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.909e-05/0.5728, allocations: 41.69 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.5729, allocations: 0.5625 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.5729, allocations: 0 / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5729, allocations: 0 / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.5732, allocations: 289.3 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.5732, allocations: 22.56 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.5732, allocations: 11.33 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-06/0.5733, allocations: 0.8438 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.5733, allocations: 59.31 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.5733, allocations: 0 / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001244/0.5735, allocations: 53.66 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.5735, allocations: 51.41 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.5736, allocations: 101 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5736, allocations: 29.7 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.5736, allocations: 88.05 kB / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.5736, allocations: 7.906 kB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.5737, allocations: 1.781 kB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.5737, allocations: 322.8 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.5738, allocations: 24 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.5739, allocations: 46.56 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.574, allocations: 27.97 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5741, allocations: 0 / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002628/0.5743, allocations: 121.5 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5743, allocations: 4 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5744, allocations: 4 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.5744, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.417e-05/0.5744, allocations: 3.984 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5744, allocations: 7.938 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5746, allocations: 36.06 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5746, allocations: 4 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.255e-05/0.5747, allocations: 109 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.5747, allocations: 7.906 kB / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.5747, allocations: 7.984 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5747, allocations: 0 / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5747, allocations: 0 / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5747, allocations: 0.5625 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.87e-05/0.5748, allocations: 142.1 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5748, allocations: 320 / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.5748, allocations: 0 / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5749, allocations: 4 kB / 1.111 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5749, allocations: 12 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5749, allocations: 4.5 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5749, allocations: 3.984 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.1e-05/0.575, allocations: 72.97 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.575, allocations: 77.11 kB / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.575, allocations: 0 / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.575, allocations: 4 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.5751, allocations: 4.75 kB / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5751, allocations: 4 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.124e-05/0.5751, allocations: 87.27 kB / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001959/0.5753, allocations: 16 kB / 1.112 GB, free: 5.895 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001214/0.5754, allocations: 111.2 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.5756, allocations: 73.7 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5756, allocations: 0 / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.5756, allocations: 11.94 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5758, allocations: 13.81 kB / 1.112 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.5759, allocations: 70.28 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.5762, allocations: 0.6954 MB / 1.112 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.5762, allocations: 0 / 1.112 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.002424/0.5786, allocations: 0.904 MB / 1.113 GB, free: 3.996 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)