Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009631/0.0009633, allocations: 177.3 kB / 361.1 MB, free: 7.078 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.048/1.048, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000787/0.000787, allocations: 95.22 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.366e-06, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.407, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.5328, allocations: 136.7 MB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.533, allocations: 76.75 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001301/0.5343, allocations: 318.3 kB / 1.098 GB, free: 3.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5344, allocations: 0 / 1.098 GB, free: 3.004 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.0002133/0.5346, allocations: 318.4 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.5346, allocations: 8.031 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.5346, allocations: 1.125 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.5347, allocations: 167.9 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5347, allocations: 5.078 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.5348, allocations: 0.7188 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.5e-05/0.5348, allocations: 4 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.5349, allocations: 72.3 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5349, allocations: 2.078 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.5349, allocations: 1.562 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.5349, allocations: 1.625 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.5351, allocations: 168.2 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.5351, allocations: 90.33 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.5352, allocations: 38.27 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.5353, allocations: 86.73 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5354, allocations: 38.56 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.5354, allocations: 3.562 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003658/0.5358, allocations: 93.47 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.5358, allocations: 162.2 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.174e-05/0.5359, allocations: 85 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.5359, allocations: 25.7 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.5359, allocations: 80.67 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.5359, allocations: 23.34 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.5359, allocations: 0 / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.536, allocations: 314.8 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.536, allocations: 4 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.5361, allocations: 36.03 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.5363, allocations: 57.59 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5363, allocations: 0.8438 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002787/0.5366, allocations: 96.95 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.5366, allocations: 8 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.5366, allocations: 0 / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.5367, allocations: 1.031 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.5367, allocations: 15.98 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.5367, allocations: 11.84 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.5368, allocations: 0 / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.5368, allocations: 6.969 kB / 1.1 GB, free: 0.7266 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 5.018e-05/0.5368, allocations: 101.6 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.5369, allocations: 8.5 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.5372, allocations: 130.3 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5373, allocations: 4.688 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5373, allocations: 0 / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5373, allocations: 5.094 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.5374, allocations: 142.1 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5374, allocations: 5.438 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.5374, allocations: 16.55 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5375, allocations: 0.8125 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.5375, allocations: 5.172 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5375, allocations: 0.5625 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5375, allocations: 10.98 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003294/0.5378, allocations: 208.1 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.5379, allocations: 85.11 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.5379, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.5379, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.5379, allocations: 7.891 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.5379, allocations: 9.812 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.967e-05/0.538, allocations: 75.28 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002/0.5382, allocations: 8 kB / 1.1 GB, free: 15.81 MB / 0.7136 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.0001327/0.5383, allocations: 119 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.5384, allocations: 29.44 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5384, allocations: 0 / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.5384, allocations: 23.88 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.5385, allocations: 11.98 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.5387, allocations: 92.73 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5389, allocations: 0.6958 MB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5389, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.001877/0.5408, allocations: 0.5518 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)