Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") [: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.378/1.378, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001001/0.001, allocations: 185.2 kB / 361.1 MB, free: 7.102 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.156/1.156, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.0008704/0.000871, allocations: 91.33 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.147e-05/1.149e-05, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6352, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.805, allocations: 137.4 MB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.8053, allocations: 68.53 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003426/0.8087, allocations: 0.8248 MB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.8087, allocations: 0.5625 kB / 1.099 GB, free: 1.801 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004446/0.8092, allocations: 376.3 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8092, allocations: 8.531 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.8093, allocations: 7.906 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.8095, allocations: 199.8 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8095, allocations: 1.219 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.8096, allocations: 4 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.8097, allocations: 24 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8098, allocations: 63.45 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8098, allocations: 3.938 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8098, allocations: 0 / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8098, allocations: 2.594 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.8104, allocations: 316.5 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/0.8105, allocations: 35.08 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.8105, allocations: 24.89 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.8106, allocations: 4 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.8106, allocations: 34.56 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8106, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002244/0.8108, allocations: 58.91 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.8109, allocations: 51.41 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.811, allocations: 109 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.811, allocations: 25.7 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.8111, allocations: 96.12 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.8111, allocations: 11.75 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.8111, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8112, allocations: 310.8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.8113, allocations: 12 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.8113, allocations: 15.98 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.8114, allocations: 8 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8114, allocations: 3.938 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.8115, allocations: 70.52 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8115, allocations: 8 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8115, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8115, allocations: 5.875 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.8117, allocations: 19.98 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8117, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.8118, allocations: 19.98 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.8118, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.815e-05/0.8119, allocations: 108.9 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.8119, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.8121, allocations: 83.45 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8121, allocations: 0.75 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8121, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8122, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.8123, allocations: 152.4 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8123, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.8124, allocations: 27.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8124, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.8124, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8125, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8125, allocations: 5.469 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001551/0.8126, allocations: 156.2 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.8127, allocations: 77.11 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.8127, allocations: 8 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.8128, allocations: 15.98 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.8129, allocations: 11.89 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.8129, allocations: 7.938 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.067e-05/0.8129, allocations: 94.12 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002068/0.8131, allocations: 8 kB / 1.101 GB, free: 14.89 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0001378/0.8133, allocations: 107 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.8134, allocations: 28.61 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8134, allocations: 3.938 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.8135, allocations: 19.98 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.8136, allocations: 1.594 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.8139, allocations: 101.6 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.8142, allocations: 0.7032 MB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8142, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.002865/0.8171, allocations: 0.7061 MB / 1.103 GB, free: 13.21 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)