Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [: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.325/1.325, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.0009728/0.000973, allocations: 192.8 kB / 366.3 MB, free: 2.012 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.062/1.062, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0008287/0.0008287, allocations: 85.98 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.853e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4365, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5729, allocations: 137.7 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.5732, allocations: 73.45 kB / 1.107 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002368/0.5755, allocations: 0.6156 MB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.5756, allocations: 0 / 1.108 GB, free: 10.13 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004164/0.576, allocations: 386.9 kB / 1.108 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.576, allocations: 8.031 kB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.5761, allocations: 7.906 kB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5763, allocations: 188 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.5763, allocations: 3.906 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.5763, allocations: 4 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001212/0.5764, allocations: 71.94 kB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5766, allocations: 103.3 kB / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5766, allocations: 0 / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5766, allocations: 0.8438 kB / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5766, allocations: 8 kB / 1.108 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.577, allocations: 361.5 kB / 1.109 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.577, allocations: 57.14 kB / 1.109 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.5771, allocations: 41.75 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5771, allocations: 0 / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.5771, allocations: 34.5 kB / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5772, allocations: 0 / 1.109 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.5774, allocations: 89.5 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5774, allocations: 79.36 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.5775, allocations: 109.2 kB / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.5775, allocations: 25.7 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.5776, allocations: 92.03 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.5776, allocations: 7.844 kB / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5776, allocations: 0 / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5777, allocations: 322.9 kB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.5778, allocations: 23.97 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.5778, allocations: 41.62 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.5779, allocations: 19.98 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5779, allocations: 0 / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.578, allocations: 81.56 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.578, allocations: 4 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.578, allocations: 4.125 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.578, allocations: 1.688 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5782, allocations: 27.97 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5782, allocations: 0 / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.5783, allocations: 31.92 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.5783, allocations: 0 / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.482e-05/0.5784, allocations: 105 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.5784, allocations: 7.906 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.5785, allocations: 7.453 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5785, allocations: 4 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5785, allocations: 4 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5785, allocations: 0 / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.5787, allocations: 158.1 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5787, allocations: 0 / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.5788, allocations: 23.98 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5788, allocations: 4 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.5788, allocations: 0 / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5788, allocations: 3.984 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5788, allocations: 3.938 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001754/0.579, allocations: 271.8 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.5791, allocations: 81.02 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.5791, allocations: 4 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5792, allocations: 19.97 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.5793, allocations: 4 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.5793, allocations: 4.031 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.957e-05/0.5794, allocations: 101.2 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002352/0.5796, allocations: 11.91 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.94e-05/0.5797, allocations: 95.25 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5798, allocations: 55.94 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5798, allocations: 0 / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.5799, allocations: 39.91 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5801, allocations: 15 kB / 1.111 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.5804, allocations: 104.7 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.5807, allocations: 0.7114 MB / 1.112 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5807, allocations: 0 / 1.112 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of Templates: time 0.002189/0.5829, allocations: 0.7092 MB / 1.112 GB, free: 5.066 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)