Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") [: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.476/1.476, allocations: 289.8 MB / 297.1 MB, free: 12.64 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.001128/0.001128, allocations: 185.4 kB / 366.3 MB, free: 11.96 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.292/1.292, allocations: 205.1 MB / 0.6256 GB, free: 2.035 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.0009091/0.0009091, allocations: 96.05 kB / 0.7396 GB, free: 46.9 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/8.917e-06, allocations: 4 kB / 0.859 GB, free: 7.191 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5101, allocations: 116.3 MB / 0.9726 GB, free: 81.49 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.6716, allocations: 137.7 MB / 1.107 GB, free: 6.281 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.6719, allocations: 71.95 kB / 1.107 GB, free: 6.211 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.001357/0.6733, allocations: 306.3 kB / 1.107 GB, free: 5.922 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.6733, allocations: 5 kB / 1.107 GB, free: 5.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002539/0.6736, allocations: 319 kB / 1.108 GB, free: 5.562 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6736, allocations: 9.031 kB / 1.108 GB, free: 5.555 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.6736, allocations: 5.375 kB / 1.108 GB, free: 5.551 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.6737, allocations: 165.9 kB / 1.108 GB, free: 5.352 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.6737, allocations: 1.031 kB / 1.108 GB, free: 5.352 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.6738, allocations: 0 / 1.108 GB, free: 5.352 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.467e-05/0.6738, allocations: 7.984 kB / 1.108 GB, free: 5.344 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.6739, allocations: 71.7 kB / 1.108 GB, free: 5.254 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6739, allocations: 4.391 kB / 1.108 GB, free: 5.254 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6739, allocations: 8.516 kB / 1.108 GB, free: 5.246 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.674, allocations: 1.812 kB / 1.108 GB, free: 5.246 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.6741, allocations: 163.2 kB / 1.108 GB, free: 5.039 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.6742, allocations: 91.73 kB / 1.108 GB, free: 4.906 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.6743, allocations: 35.45 kB / 1.108 GB, free: 4.859 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.6744, allocations: 86.25 kB / 1.108 GB, free: 4.758 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.6745, allocations: 35.66 kB / 1.108 GB, free: 4.715 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.6745, allocations: 0.75 kB / 1.108 GB, free: 4.715 MB / 0.7059 GB Notification: Performance of matching and sorting (n=5): time 0.0004182/0.6749, allocations: 99.09 kB / 1.108 GB, free: 4.613 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.675, allocations: 155.5 kB / 1.109 GB, free: 4.426 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.783e-05/0.675, allocations: 85 kB / 1.109 GB, free: 4.336 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.675, allocations: 30.2 kB / 1.109 GB, free: 4.301 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.6751, allocations: 84.94 kB / 1.109 GB, free: 4.215 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.6751, allocations: 19.66 kB / 1.109 GB, free: 4.195 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.6751, allocations: 0.6562 kB / 1.109 GB, free: 4.195 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6752, allocations: 315.7 kB / 1.109 GB, free: 3.879 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.6753, allocations: 0 / 1.109 GB, free: 3.879 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.6753, allocations: 38.28 kB / 1.109 GB, free: 3.828 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.6755, allocations: 49.56 kB / 1.109 GB, free: 3.781 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6755, allocations: 4 kB / 1.109 GB, free: 3.777 MB / 0.7059 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003113/0.6759, allocations: 102.3 kB / 1.109 GB, free: 3.672 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6759, allocations: 4 kB / 1.109 GB, free: 3.668 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.6759, allocations: 1.5 kB / 1.109 GB, free: 3.668 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6759, allocations: 4 kB / 1.109 GB, free: 3.664 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.676, allocations: 8 kB / 1.109 GB, free: 3.656 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.676, allocations: 9.156 kB / 1.109 GB, free: 3.648 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.676, allocations: 7.984 kB / 1.109 GB, free: 3.641 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6761, allocations: 0 / 1.109 GB, free: 3.641 MB / 0.7059 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.546e-05/0.6761, allocations: 110.8 kB / 1.109 GB, free: 3.527 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.6761, allocations: 3.906 kB / 1.109 GB, free: 3.523 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.6766, allocations: 139.4 kB / 1.11 GB, free: 3.383 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6766, allocations: 0 / 1.11 GB, free: 3.383 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6766, allocations: 4 kB / 1.11 GB, free: 3.379 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6766, allocations: 0 / 1.11 GB, free: 3.379 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.6768, allocations: 144.2 kB / 1.11 GB, free: 3.203 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6768, allocations: 1.062 kB / 1.11 GB, free: 3.203 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.6768, allocations: 15.98 kB / 1.11 GB, free: 3.188 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.6768, allocations: 4 kB / 1.11 GB, free: 3.184 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6769, allocations: 0 / 1.11 GB, free: 3.184 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6769, allocations: 12.75 kB / 1.11 GB, free: 3.172 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6769, allocations: 0 / 1.11 GB, free: 3.172 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003527/0.6772, allocations: 203.8 kB / 1.11 GB, free: 2.918 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.6773, allocations: 85.92 kB / 1.11 GB, free: 2.816 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6773, allocations: 4 kB / 1.11 GB, free: 2.812 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.6773, allocations: 0 / 1.11 GB, free: 2.812 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.6773, allocations: 11.89 kB / 1.11 GB, free: 2.801 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.6774, allocations: 4 kB / 1.11 GB, free: 2.797 MB / 0.7059 GB Notification: Performance of sort global known variables: time 3.234e-05/0.6774, allocations: 79.28 kB / 1.11 GB, free: 2.719 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0002046/0.6776, allocations: 12.56 kB / 1.11 GB, free: 2.707 MB / 0.7059 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001614/0.6778, allocations: 107.2 kB / 1.11 GB, free: 2.59 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.6779, allocations: 27.92 kB / 1.11 GB, free: 2.562 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6779, allocations: 3.938 kB / 1.11 GB, free: 2.559 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.6779, allocations: 25 kB / 1.11 GB, free: 2.535 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.678, allocations: 8.125 kB / 1.11 GB, free: 2.527 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.6783, allocations: 96.86 kB / 1.11 GB, free: 2.398 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.6785, allocations: 0.6958 MB / 1.111 GB, free: 1.676 MB / 0.7059 GB Notification: Performance of SimCode: time 2.51e-07/0.6786, allocations: 0 / 1.111 GB, free: 1.676 MB / 0.7059 GB Notification: Performance of Templates: time 0.002343/0.6809, allocations: 0.5453 MB / 1.112 GB, free: 1.16 MB / 0.7059 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)