Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") [: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.003215/0.003215, allocations: 181.5 kB / 7.457 MB, free: 2.504 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.976/0.976, allocations: 194.2 MB / 202.1 MB, free: 8.828 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03264/0.03264, allocations: 7.928 MB / 254.9 MB, free: 1.719 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.001568/0.001568, allocations: 117.2 kB / 301.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.879e-06, allocations: 0 / 353.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1785, allocations: 46.2 MB / 400 MB, free: 70.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0665/0.245, allocations: 70.42 MB / 470.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001161/0.2452, allocations: 51.92 kB / 470.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.005914/0.2511, allocations: 2.54 MB / 473 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2511, allocations: 4 kB / 473 MB, free: 14.41 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0003973/0.2515, allocations: 422.3 kB / 473.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2516, allocations: 13.03 kB / 473.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.2516, allocations: 19.72 kB / 473.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.2519, allocations: 214.9 kB / 473.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2519, allocations: 8 kB / 473.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.2519, allocations: 11.98 kB / 473.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001914/0.2521, allocations: 92.75 kB / 473.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.2523, allocations: 136.3 kB / 473.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2524, allocations: 3.906 kB / 473.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2524, allocations: 0 / 473.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2524, allocations: 4 kB / 473.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.2531, allocations: 0.5353 MB / 474.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2533, allocations: 73.66 kB / 474.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.2534, allocations: 77.12 kB / 474.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2534, allocations: 4 kB / 474.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2534, allocations: 34.5 kB / 474.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2534, allocations: 0 / 474.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000236/0.2537, allocations: 117.6 kB / 474.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.2537, allocations: 55.41 kB / 474.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.2538, allocations: 116.6 kB / 474.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2538, allocations: 25.7 kB / 474.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.2538, allocations: 124.3 kB / 475 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.2539, allocations: 55.14 kB / 475.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2539, allocations: 0 / 475.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.254, allocations: 322.8 kB / 475.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.2541, allocations: 39.94 kB / 475.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.2541, allocations: 39.91 kB / 475.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.2542, allocations: 47.98 kB / 475.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2542, allocations: 0 / 475.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001814/0.2544, allocations: 136.8 kB / 475.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.2544, allocations: 4 kB / 475.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2544, allocations: 4 kB / 475.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2544, allocations: 0 / 475.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2546, allocations: 39.92 kB / 475.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2546, allocations: 0 / 475.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.2547, allocations: 7.844 kB / 475.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2547, allocations: 11.94 kB / 475.7 MB, free: 11.46 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 (18): * Single equations (assignments): 18 * 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.43e-05/0.2548, allocations: 108.8 kB / 475.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.2548, allocations: 15.81 kB / 475.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.2549, allocations: 12.44 kB / 475.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2549, allocations: 4 kB / 475.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2549, allocations: 3.984 kB / 475.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2549, allocations: 0 / 475.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.2551, allocations: 226 kB / 476.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2551, allocations: 7.984 kB / 476.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2553, allocations: 31.92 kB / 476.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2553, allocations: 4 kB / 476.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2553, allocations: 0 / 476.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2554, allocations: 0 / 476.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2554, allocations: 0 / 476.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002905/0.2557, allocations: 279.3 kB / 476.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2557, allocations: 92.98 kB / 476.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2557, allocations: 4 kB / 476.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.2558, allocations: 4 kB / 476.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.2558, allocations: 7.984 kB / 476.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2559, allocations: 0 / 476.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.233e-05/0.2559, allocations: 95.28 kB / 476.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.2561, allocations: 31.78 kB / 476.6 MB, free: 10.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001247/0.2563, allocations: 103.2 kB / 476.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.2564, allocations: 99.94 kB / 476.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2564, allocations: 0 / 476.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.2565, allocations: 63.59 kB / 476.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.2568, allocations: 32.89 kB / 476.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.2572, allocations: 221 kB / 477.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.2575, allocations: 0.7356 MB / 477.9 MB, free: 9.168 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2575, allocations: 0 / 477.9 MB, free: 9.168 MB / 330.7 MB Notification: Performance of Templates: time 0.003197/0.2608, allocations: 1.275 MB / 479.1 MB, free: 7.895 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)