Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.394/2.394, allocations: 284.9 MB / 292.2 MB, free: 9.84 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.002189/0.002189, allocations: 183.3 kB / 360.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 0.6188 GB, free: 3.246 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 98.12 kB / 0.7318 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/1.001e-05, allocations: 2.594 kB / 0.8502 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5997/0.8011, allocations: 137.2 MB / 1.097 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.8014, allocations: 74.12 kB / 1.097 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004512/0.8059, allocations: 0.8286 MB / 1.098 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.806, allocations: 0.875 kB / 1.098 GB, free: 44.45 MB / 0.7136 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.0005395/0.8065, allocations: 370.8 kB / 1.098 GB, free: 44.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8066, allocations: 9.594 kB / 1.098 GB, free: 44.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.8066, allocations: 7.125 kB / 1.098 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.8068, allocations: 189.7 kB / 1.098 GB, free: 43.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8068, allocations: 3.984 kB / 1.098 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.8069, allocations: 3.188 kB / 1.098 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/0.807, allocations: 36.75 kB / 1.098 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8072, allocations: 61.81 kB / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8072, allocations: 0 / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.8072, allocations: 0.75 kB / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.8072, allocations: 0 / 1.098 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.8079, allocations: 319.7 kB / 1.099 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.012e-05/0.808, allocations: 34.98 kB / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.8081, allocations: 22.03 kB / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.8081, allocations: 0 / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.8081, allocations: 37 kB / 1.099 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.8082, allocations: 0 / 1.099 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000257/0.8084, allocations: 63.33 kB / 1.099 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.8085, allocations: 51.41 kB / 1.099 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.8085, allocations: 111.8 kB / 1.099 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.8086, allocations: 25.7 kB / 1.099 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.8086, allocations: 83.64 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.8086, allocations: 19.17 kB / 1.099 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.8086, allocations: 0 / 1.099 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.8087, allocations: 314.5 kB / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.8088, allocations: 10.94 kB / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.8088, allocations: 19.05 kB / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.8089, allocations: 15.44 kB / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8089, allocations: 0 / 1.099 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001636/0.8091, allocations: 62.61 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8091, allocations: 3.219 kB / 1.099 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.8091, allocations: 3.938 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8091, allocations: 0 / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.8094, allocations: 32.61 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.8094, allocations: 0 / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.8096, allocations: 19.22 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.8096, allocations: 3.5 kB / 1.1 GB, free: 42.84 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 7.428e-05/0.8097, allocations: 112.2 kB / 1.1 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.8097, allocations: 3.375 kB / 1.1 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.8099, allocations: 61.55 kB / 1.1 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.81, allocations: 0 / 1.1 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.81, allocations: 7.719 kB / 1.1 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.81, allocations: 0 / 1.1 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.8102, allocations: 154.9 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8102, allocations: 0 / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.8104, allocations: 27.25 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8104, allocations: 7.922 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8104, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.8104, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8104, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001808/0.8106, allocations: 162.9 kB / 1.1 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.8107, allocations: 81.02 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.8107, allocations: 3.656 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.8109, allocations: 17.58 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.811, allocations: 12.41 kB / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.811, allocations: 0 / 1.1 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.087e-05/0.811, allocations: 90.59 kB / 1.1 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000304/0.8114, allocations: 7.625 kB / 1.1 GB, free: 42.19 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.0001423/0.8115, allocations: 105.8 kB / 1.1 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.8117, allocations: 33.33 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8117, allocations: 0 / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.89e-05/0.8117, allocations: 17.94 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.812, allocations: 12.14 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.8123, allocations: 89.55 kB / 1.1 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.8126, allocations: 0.7059 MB / 1.101 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.8126, allocations: 3.875 kB / 1.101 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.003414/0.8161, allocations: 0.7052 MB / 1.102 GB, free: 57.25 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)