Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.297/2.297, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002113, allocations: 177.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.001239, allocations: 88.45 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.493e-05, allocations: 4 kB / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5849, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.7967, allocations: 136.6 MB / 1.096 GB, free: 4.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.7971, allocations: 72.61 kB / 1.096 GB, free: 4.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00204/0.7991, allocations: 319.2 kB / 1.097 GB, free: 3.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7992, allocations: 0 / 1.097 GB, free: 3.855 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.0003256/0.7995, allocations: 319.8 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7996, allocations: 8.031 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.7996, allocations: 1.375 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.7997, allocations: 166.7 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.7997, allocations: 4 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.7998, allocations: 0 / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.7999, allocations: 11.98 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8, allocations: 65.92 kB / 1.097 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8, allocations: 1.969 kB / 1.097 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.8001, allocations: 1.875 kB / 1.097 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8001, allocations: 0.75 kB / 1.097 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.8003, allocations: 166.7 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.8004, allocations: 95.7 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.8005, allocations: 32.83 kB / 1.097 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.8007, allocations: 85.81 kB / 1.097 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.8008, allocations: 40.28 kB / 1.097 GB, free: 2.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 4.699e-06/0.8008, allocations: 0.5 kB / 1.097 GB, free: 2.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.00063/0.8014, allocations: 99.53 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.8015, allocations: 155 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.703e-05/0.8016, allocations: 85 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.8016, allocations: 26.3 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.8016, allocations: 80.98 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.8017, allocations: 23.64 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.8017, allocations: 0.5625 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8018, allocations: 315.4 kB / 1.098 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.8019, allocations: 4.531 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.783e-05/0.8019, allocations: 45.31 kB / 1.098 GB, free: 1.758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.8023, allocations: 46.34 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8024, allocations: 0 / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005042/0.8029, allocations: 102.9 kB / 1.098 GB, free: 1.609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8029, allocations: 8 kB / 1.098 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8029, allocations: 0.6094 kB / 1.098 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8029, allocations: 0 / 1.098 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8031, allocations: 8 kB / 1.098 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.8031, allocations: 13.41 kB / 1.098 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.8031, allocations: 0 / 1.098 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.8032, allocations: 7.984 kB / 1.098 GB, free: 1.574 MB / 0.698 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 8.654e-05/0.8033, allocations: 106 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.8033, allocations: 13.56 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.804, allocations: 131.1 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8041, allocations: 4.844 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8041, allocations: 0 / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.8041, allocations: 4 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.8043, allocations: 142.1 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.8043, allocations: 4.625 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.8044, allocations: 15.98 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.8044, allocations: 0 / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.8044, allocations: 4 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.8045, allocations: 6.062 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8045, allocations: 8.125 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005765/0.8051, allocations: 209 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.8052, allocations: 81.11 kB / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.8052, allocations: 0 / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.8053, allocations: 4.984 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.8053, allocations: 11.89 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.8053, allocations: 4 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.179e-05/0.8054, allocations: 75.28 kB / 1.099 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002998/0.8057, allocations: 12 kB / 1.099 GB, free: 0.6406 MB / 0.698 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.0002022/0.8059, allocations: 107.2 kB / 1.099 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.806, allocations: 31.92 kB / 1.099 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8061, allocations: 3.938 kB / 1.099 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.8061, allocations: 23.94 kB / 1.099 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.8063, allocations: 1.406 kB / 1.099 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.8066, allocations: 96.11 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.8069, allocations: 0.6997 MB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.8069, allocations: 2.344 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.003445/0.8104, allocations: 0.552 MB / 1.101 GB, free: 15.09 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)