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: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",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.002177/0.002177, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.9749/0.9749, 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.03362/0.03362, allocations: 7.927 MB / 254.9 MB, free: 1.711 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.001555/0.001555, allocations: 133 kB / 301.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09766/0.09924, allocations: 52.32 MB / 353.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.2805, allocations: 46.19 MB / 400 MB, free: 70.31 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06705/0.3476, allocations: 70.42 MB / 470.5 MB, free: 1.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001386/0.3478, allocations: 55.92 kB / 470.5 MB, free: 1.012 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.007046/0.3549, allocations: 2.96 MB / 473.5 MB, free: 14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3549, allocations: 8 kB / 473.5 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.355, allocations: 23.72 kB / 473.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3552, allocations: 215 kB / 473.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3553, allocations: 4 kB / 473.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3553, allocations: 15.98 kB / 473.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002133/0.3555, allocations: 100.7 kB / 473.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.3557, allocations: 128.3 kB / 474 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3558, allocations: 7.891 kB / 474 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3558, allocations: 0 / 474 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3558, allocations: 4 kB / 474 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.3566, allocations: 0.5353 MB / 474.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3567, allocations: 69.72 kB / 474.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3568, allocations: 77.12 kB / 474.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3568, allocations: 3.938 kB / 474.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3569, allocations: 42.5 kB / 474.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3569, allocations: 0 / 474.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002527/0.3571, allocations: 117.6 kB / 474.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.3572, allocations: 51.41 kB / 474.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.3573, allocations: 116.6 kB / 475 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3573, allocations: 25.7 kB / 475 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3573, allocations: 128.3 kB / 475.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.3574, allocations: 51.2 kB / 475.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3574, allocations: 0 / 475.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3575, allocations: 322.8 kB / 475.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.3576, allocations: 39.94 kB / 475.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.3577, allocations: 39.91 kB / 475.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.3577, allocations: 43.92 kB / 475.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3577, allocations: 0 / 475.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001958/0.3579, allocations: 140.9 kB / 475.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.358, allocations: 12 kB / 475.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.358, allocations: 0 / 475.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.358, allocations: 0 / 475.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3582, allocations: 31.98 kB / 475.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3582, allocations: 0 / 475.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.3583, allocations: 7.844 kB / 475.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3583, allocations: 4 kB / 475.8 MB, free: 11.53 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 7.945e-05/0.3584, allocations: 116.7 kB / 475.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3584, allocations: 19.81 kB / 475.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3585, allocations: 12.44 kB / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3585, allocations: 4 kB / 476 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3585, allocations: 0 / 476 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3585, allocations: 0 / 476 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3587, allocations: 226 kB / 476.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3587, allocations: 0 / 476.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.3589, allocations: 31.97 kB / 476.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3589, allocations: 0 / 476.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.359, allocations: 4 kB / 476.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.359, allocations: 7.938 kB / 476.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.359, allocations: 0 / 476.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/0.3593, allocations: 271.3 kB / 476.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004744/0.3598, allocations: 0.699 MB / 477.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.3598, allocations: 93.14 kB / 477.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3599, allocations: 4 kB / 477.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.3599, allocations: 0 / 477.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.36, allocations: 11.92 kB / 477.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.36, allocations: 8 kB / 477.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.442e-05/0.36, allocations: 98.78 kB / 477.4 MB, free: 9.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007726/0.3608, allocations: 31.84 kB / 477.4 MB, free: 9.812 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.0001073/0.3609, allocations: 95.25 kB / 477.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3611, allocations: 99.84 kB / 477.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3611, allocations: 4 kB / 477.6 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3612, allocations: 63.92 kB / 477.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3615, allocations: 25.05 kB / 477.7 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.362, allocations: 224.9 kB / 477.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.3623, allocations: 0.7434 MB / 478.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3623, allocations: 0 / 478.7 MB, free: 8.504 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)