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: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) [: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.002046/0.002046, allocations: 187 kB / 7.46 MB, free: 2.242 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.9914/0.9914, allocations: 194.2 MB / 202.1 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03314/0.03314, allocations: 7.919 MB / 254.9 MB, free: 1.766 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.001633/0.001633, allocations: 129 kB / 301.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09594/0.09762, allocations: 52.31 MB / 353.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.2741, allocations: 46.19 MB / 400 MB, free: 70.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06368/0.3378, allocations: 70.35 MB / 470.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001341/0.338, allocations: 47.98 kB / 470.4 MB, free: 0.9883 MB / 314.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.003465/0.3415, allocations: 1.578 MB / 472 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3415, allocations: 8 kB / 472 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3416, allocations: 15.91 kB / 472 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3417, allocations: 190.8 kB / 472.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3418, allocations: 4 kB / 472.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3418, allocations: 4 kB / 472.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001267/0.3419, allocations: 48.36 kB / 472.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3421, allocations: 80.03 kB / 472.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3421, allocations: 0 / 472.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3421, allocations: 0 / 472.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3421, allocations: 0 / 472.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.3427, allocations: 381.4 kB / 472.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/0.3428, allocations: 45.7 kB / 472.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.3428, allocations: 32.86 kB / 472.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3429, allocations: 4 kB / 472.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3429, allocations: 34.56 kB / 472.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3429, allocations: 4 kB / 472.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001785/0.3431, allocations: 73.59 kB / 472.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.3431, allocations: 51.41 kB / 473 MB, free: 14.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.3432, allocations: 100.9 kB / 473.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3432, allocations: 25.7 kB / 473.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.3432, allocations: 103.9 kB / 473.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.3433, allocations: 31.55 kB / 473.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.3433, allocations: 0 / 473.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.3434, allocations: 322.8 kB / 473.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.3434, allocations: 16 kB / 473.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.3435, allocations: 20 kB / 473.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.3435, allocations: 16 kB / 473.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3435, allocations: 192 / 473.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.3436, allocations: 93.47 kB / 473.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3437, allocations: 4 kB / 473.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3437, allocations: 3.938 kB / 473.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3437, allocations: 0 / 473.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3438, allocations: 19.98 kB / 473.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3438, allocations: 4 kB / 473.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.3438, allocations: 3.906 kB / 473.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3439, allocations: 4 kB / 473.7 MB, free: 13.51 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.518e-05/0.3439, allocations: 108.7 kB / 473.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.344, allocations: 7.906 kB / 473.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.344, allocations: 12.36 kB / 473.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.344, allocations: 0 / 473.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.344, allocations: 0 / 473.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.344, allocations: 4 kB / 473.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3442, allocations: 182.2 kB / 474 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3442, allocations: 0 / 474 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3443, allocations: 15.98 kB / 474 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3443, allocations: 4 kB / 474.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3444, allocations: 0 / 474.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3444, allocations: 0 / 474.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3444, allocations: 0 / 474.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001968/0.3446, allocations: 195.4 kB / 474.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003012/0.3449, allocations: 0.5943 MB / 474.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3449, allocations: 85.05 kB / 474.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.345, allocations: 4 kB / 474.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.345, allocations: 3.906 kB / 474.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.3451, allocations: 4.062 kB / 474.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3451, allocations: 8 kB / 474.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.147e-05/0.3451, allocations: 95.31 kB / 475 MB, free: 12.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007626/0.3459, allocations: 15.91 kB / 475 MB, free: 12.09 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.0001225/0.346, allocations: 99.23 kB / 475.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3461, allocations: 56.02 kB / 475.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3461, allocations: 192 / 475.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.3462, allocations: 27.94 kB / 475.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3464, allocations: 15.92 kB / 475.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.3467, allocations: 144.5 kB / 475.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.3469, allocations: 0.7153 MB / 476.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.347, allocations: 0 / 476.1 MB, free: 10.97 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)