Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") [: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.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009677/0.0009677, allocations: 185.2 kB / 361.1 MB, free: 7.059 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007718/0.0007719, allocations: 94.36 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 4 kB / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4124, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.545, allocations: 136.7 MB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5452, allocations: 73.83 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001471/0.5467, allocations: 338.4 kB / 1.098 GB, free: 2.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5467, allocations: 1.938 kB / 1.098 GB, free: 2.906 MB / 0.698 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.0003032/0.547, allocations: 338.7 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5471, allocations: 9.344 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.5471, allocations: 3.906 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.5472, allocations: 171 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5473, allocations: 4 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.5473, allocations: 3.906 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.432e-05/0.5474, allocations: 22.45 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.81e-05/0.5474, allocations: 41.69 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5474, allocations: 0.75 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5475, allocations: 2.312 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5475, allocations: 0 / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.5478, allocations: 264 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.5479, allocations: 19.02 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.5479, allocations: 9.547 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.5479, allocations: 2.281 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5479, allocations: 38.31 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5479, allocations: 0 / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.5481, allocations: 38.73 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.5481, allocations: 51.41 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.5482, allocations: 98.89 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5482, allocations: 26.36 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.5482, allocations: 84.7 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.5482, allocations: 4.625 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5483, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.5483, allocations: 319.5 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.5484, allocations: 6.125 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.5484, allocations: 7.938 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.408e-05/0.5484, allocations: 4 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5484, allocations: 0 / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.383e-05/0.5485, allocations: 34.55 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.5485, allocations: 4 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5485, allocations: 5.344 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5485, allocations: 4 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.5486, allocations: 12.64 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.5486, allocations: 1.406 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.5487, allocations: 8.766 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.5487, allocations: 8 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.216e-05/0.5488, allocations: 102.3 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.5488, allocations: 3.906 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.5488, allocations: 3.844 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5488, allocations: 2.969 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5488, allocations: 5.969 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5488, allocations: 0.625 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.549, allocations: 138.2 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.549, allocations: 0.6875 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.549, allocations: 12.88 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.549, allocations: 0 / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5491, allocations: 3.938 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5491, allocations: 3.906 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5491, allocations: 0 / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.864e-05/0.5492, allocations: 131.5 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.5492, allocations: 86.52 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.5492, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.5493, allocations: 16.02 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.5493, allocations: 0.5156 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5494, allocations: 1.219 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.377e-05/0.5494, allocations: 83.28 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002096/0.5496, allocations: 4 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 0.0001006/0.5497, allocations: 107 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.5498, allocations: 11.94 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5498, allocations: 3.938 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.5498, allocations: 4 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.55, allocations: 7.906 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.5502, allocations: 64.53 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.5504, allocations: 0.694 MB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.5504, allocations: 128 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.001785/0.5522, allocations: 389.3 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)