Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [: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 3.2.2+maint.om/package.mo): time 0.002581/0.002581, allocations: 186.9 kB / 7.459 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9991/0.9991, allocations: 194.2 MB / 202.1 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03254/0.03254, allocations: 7.923 MB / 254.9 MB, free: 1.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001522/0.001522, allocations: 117.1 kB / 301.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/7.344e-06, allocations: 4 kB / 353.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1806, allocations: 46.19 MB / 399.9 MB, free: 70.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06444/0.2451, allocations: 70.35 MB / 470.3 MB, free: 1.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001122/0.2452, allocations: 43.98 kB / 470.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.002963/0.2482, allocations: 1.218 MB / 471.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.2482, allocations: 8 kB / 471.6 MB, free: 15.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003134/0.2485, allocations: 362.4 kB / 471.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2486, allocations: 13.03 kB / 471.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.2486, allocations: 7.906 kB / 471.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2488, allocations: 190.9 kB / 472.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2488, allocations: 4 kB / 472.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2488, allocations: 4 kB / 472.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001254/0.249, allocations: 48.31 kB / 472.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.2491, allocations: 80.02 kB / 472.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2491, allocations: 0 / 472.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2491, allocations: 0 / 472.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2491, allocations: 4 kB / 472.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.2496, allocations: 369.5 kB / 472.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.2497, allocations: 41.72 kB / 472.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.2498, allocations: 40.86 kB / 472.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.2498, allocations: 4 kB / 472.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2499, allocations: 37 kB / 472.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2499, allocations: 0 / 472.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001777/0.2501, allocations: 73.59 kB / 472.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2501, allocations: 59.41 kB / 472.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.2502, allocations: 101 kB / 473 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2502, allocations: 25.7 kB / 473 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.2502, allocations: 99.88 kB / 473.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2503, allocations: 31.56 kB / 473.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.2503, allocations: 0 / 473.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.2504, allocations: 318.8 kB / 473.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.2504, allocations: 20 kB / 473.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.2504, allocations: 16 kB / 473.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.2505, allocations: 32.05 kB / 473.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2505, allocations: 0 / 473.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.2506, allocations: 81.53 kB / 473.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2506, allocations: 4 kB / 473.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2506, allocations: 4 kB / 473.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2507, allocations: 3.984 kB / 473.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2508, allocations: 23.94 kB / 473.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.2508, allocations: 0 / 473.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.2508, allocations: 7.891 kB / 473.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2508, allocations: 4 kB / 473.6 MB, free: 13.56 MB / 330.7 MB 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 (10): * Single equations (assignments): 10 * 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.792e-05/0.2509, allocations: 104.8 kB / 473.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.2509, allocations: 7.906 kB / 473.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.251, allocations: 8.375 kB / 473.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.251, allocations: 8 kB / 473.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.251, allocations: 0 / 473.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.251, allocations: 0 / 473.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2512, allocations: 178.2 kB / 473.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2512, allocations: 0 / 473.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2513, allocations: 15.98 kB / 474 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2513, allocations: 0 / 474 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2513, allocations: 0 / 474 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2513, allocations: 0 / 474 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2514, allocations: 3.938 kB / 474 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002026/0.2516, allocations: 203.4 kB / 474.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.2516, allocations: 88.95 kB / 474.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2516, allocations: 0 / 474.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2517, allocations: 0 / 474.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.2517, allocations: 4 kB / 474.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2517, allocations: 3.984 kB / 474.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.59e-05/0.2518, allocations: 87.75 kB / 474.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.252, allocations: 15.97 kB / 474.3 MB, free: 12.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001215/0.2521, allocations: 103.2 kB / 474.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2522, allocations: 56.2 kB / 474.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2522, allocations: 0 / 474.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.2523, allocations: 27.98 kB / 474.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.2525, allocations: 8.156 kB / 474.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2528, allocations: 148.3 kB / 474.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.2531, allocations: 0.7153 MB / 475.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2531, allocations: 0 / 475.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of Templates: time 0.002563/0.2557, allocations: 0.7692 MB / 476.2 MB, free: 10.89 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)