Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",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.001864/0.001864, allocations: 186 kB / 7.464 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.8672/0.8672, allocations: 194.2 MB / 202.1 MB, free: 8.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03239/0.03239, allocations: 7.919 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.001549/0.001549, allocations: 117.1 kB / 301.5 MB, free: 3.32 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 0.07638/0.07796, allocations: 52.32 MB / 353.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.2305, allocations: 46.2 MB / 400.1 MB, free: 70.3 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06088/0.2914, allocations: 70.41 MB / 470.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001189/0.2916, allocations: 55.92 kB / 470.5 MB, free: 0.8984 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.01246/0.3041, allocations: 5.999 MB / 476.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.3041, allocations: 8 kB / 476.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.3042, allocations: 51.44 kB / 476.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.3046, allocations: 345.6 kB / 476.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3046, allocations: 23.98 kB / 476.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.3047, allocations: 24 kB / 477 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003931/0.3051, allocations: 225.9 kB / 477.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.3056, allocations: 347.9 kB / 477.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3056, allocations: 0 / 477.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3056, allocations: 7.984 kB / 477.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3057, allocations: 11.94 kB / 477.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3072, allocations: 1.351 MB / 478.9 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3075, allocations: 198.8 kB / 479.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3077, allocations: 147.4 kB / 479.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3077, allocations: 7.984 kB / 479.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3078, allocations: 39.19 kB / 479.3 MB, free: 7.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.3078, allocations: 0 / 479.3 MB, free: 7.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004304/0.3082, allocations: 249.2 kB / 479.5 MB, free: 7.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3083, allocations: 136.5 kB / 479.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3085, allocations: 231.3 kB / 479.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3085, allocations: 25.7 kB / 479.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.3086, allocations: 204 kB / 480.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.3087, allocations: 110.2 kB / 480.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.3087, allocations: 0 / 480.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.3088, allocations: 346.8 kB / 480.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3089, allocations: 88.88 kB / 480.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.3091, allocations: 163.1 kB / 480.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3093, allocations: 119.8 kB / 480.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3093, allocations: 0 / 480.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004198/0.3097, allocations: 317 kB / 481.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3097, allocations: 8.062 kB / 481.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3097, allocations: 4 kB / 481.2 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3097, allocations: 4 kB / 481.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.3101, allocations: 88.2 kB / 481.3 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3101, allocations: 8 kB / 481.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3102, allocations: 19.69 kB / 481.4 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3102, allocations: 19.98 kB / 481.4 MB, free: 5.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 8.022e-05/0.3103, allocations: 124.5 kB / 481.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3104, allocations: 31.62 kB / 481.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.3105, allocations: 37.73 kB / 481.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3105, allocations: 11.92 kB / 481.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3105, allocations: 0 / 481.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3105, allocations: 0 / 481.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.311, allocations: 397.6 kB / 482 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3111, allocations: 4 kB / 482 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.3114, allocations: 59.95 kB / 482 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3114, allocations: 7.938 kB / 482 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3114, allocations: 8 kB / 482 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3114, allocations: 8 kB / 482 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3114, allocations: 0 / 482 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005434/0.312, allocations: 0.6982 MB / 482.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007287/0.3127, allocations: 1.191 MB / 483.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3128, allocations: 108.7 kB / 484 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3128, allocations: 8 kB / 484.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3131, allocations: 0 / 484.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3131, allocations: 15.97 kB / 484.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3131, allocations: 12 kB / 484.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001277/0.3133, allocations: 175.1 kB / 484.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009359/0.3142, allocations: 71.59 kB / 484.3 MB, free: 2.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001238/0.3144, allocations: 115.7 kB / 484.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.3147, allocations: 227.8 kB / 484.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3147, allocations: 4 kB / 484.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3148, allocations: 120.6 kB / 484.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3153, allocations: 54.06 kB / 484.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.3162, allocations: 0.5544 MB / 485.4 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.3167, allocations: 0.8656 MB / 486.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3167, allocations: 0 / 486.3 MB, free: 0.6445 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)