Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 181.5 kB / 7.461 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6132/0.6132, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 105.7 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.743e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4398, allocations: 110.7 MB / 0.7413 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001599/0.44, allocations: 68.61 kB / 0.7414 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002717/0.4427, allocations: 0.8452 MB / 0.7422 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4427, allocations: 0 / 0.7422 GB, free: 10.58 MB / 0.4948 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.000396/0.4431, allocations: 378.2 kB / 0.7426 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4432, allocations: 11.62 kB / 0.7426 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.4432, allocations: 13.5 kB / 0.7426 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.4434, allocations: 184 kB / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.4434, allocations: 3.875 kB / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4434, allocations: 0 / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.167e-05/0.4435, allocations: 30.59 kB / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.4436, allocations: 58 kB / 0.7429 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4436, allocations: 0 / 0.7429 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.4436, allocations: 3.906 kB / 0.7429 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4436, allocations: 0 / 0.7429 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.444, allocations: 326.1 kB / 0.7432 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.4441, allocations: 33.69 kB / 0.7432 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.4441, allocations: 18.36 kB / 0.7432 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4442, allocations: 4.531 kB / 0.7432 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4442, allocations: 34.56 kB / 0.7433 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4442, allocations: 0 / 0.7433 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001755/0.4444, allocations: 62.45 kB / 0.7433 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.4444, allocations: 52.25 kB / 0.7434 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.4445, allocations: 108.4 kB / 0.7435 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.4445, allocations: 25.7 kB / 0.7435 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.4446, allocations: 89.25 kB / 0.7436 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.4446, allocations: 12.47 kB / 0.7436 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4446, allocations: 0 / 0.7436 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.4447, allocations: 324.6 kB / 0.7439 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.4447, allocations: 12.17 kB / 0.7439 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.4447, allocations: 8.484 kB / 0.7439 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.4448, allocations: 13.91 kB / 0.744 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4448, allocations: 0.8438 kB / 0.744 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/0.4449, allocations: 60.56 kB / 0.744 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.4449, allocations: 5.016 kB / 0.744 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4449, allocations: 3.875 kB / 0.744 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.4449, allocations: 0 / 0.744 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4451, allocations: 27.45 kB / 0.744 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.4451, allocations: 0 / 0.744 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.398e-05/0.4452, allocations: 28.16 kB / 0.7441 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4452, allocations: 192 / 0.7441 GB, free: 24.96 MB / 0.5105 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 5.311e-05/0.4452, allocations: 110.5 kB / 0.7442 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.4453, allocations: 7.75 kB / 0.7442 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.4454, allocations: 73.19 kB / 0.7443 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4454, allocations: 0 / 0.7443 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4454, allocations: 0 / 0.7443 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4454, allocations: 4 kB / 0.7443 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4456, allocations: 152.7 kB / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4456, allocations: 0 / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4457, allocations: 23.33 kB / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4457, allocations: 6.188 kB / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.4457, allocations: 4 kB / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4457, allocations: 0 / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4457, allocations: 0 / 0.7444 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001253/0.4458, allocations: 157.8 kB / 0.7446 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.4459, allocations: 80.95 kB / 0.7447 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4459, allocations: 9.734 kB / 0.7447 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.446, allocations: 19.86 kB / 0.7447 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4461, allocations: 8.047 kB / 0.7447 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.4461, allocations: 0 / 0.7447 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.486e-05/0.4461, allocations: 88.22 kB / 0.7448 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001991/0.4463, allocations: 13 kB / 0.7448 GB, free: 24.32 MB / 0.5105 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.0001001/0.4464, allocations: 106.4 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.758e-05/0.4465, allocations: 32.33 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.4465, allocations: 0 / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.4465, allocations: 17.17 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.4467, allocations: 3.844 kB / 0.7449 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.4469, allocations: 95.67 kB / 0.745 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.4471, allocations: 0.7096 MB / 0.7457 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.4471, allocations: 4 kB / 0.7457 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.002067/0.4492, allocations: 0.7054 MB / 0.7464 GB, free: 23.38 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)