Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [: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 4.0.0+maint.om/package.mo): time 0.003193/0.003193, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.4 MB / 229.3 MB, free: 3.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 95.84 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1517/0.1517, allocations: 28.83 MB / 359.7 MB, free: 1.543 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.102e-06, allocations: 0 / 423.2 MB, free: 43.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 57.48 MB / 480.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.4091, allocations: 78.51 MB / 0.5461 GB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4094, allocations: 59.97 kB / 0.5461 GB, free: 10.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01335/0.4228, allocations: 5.344 MB / 0.5514 GB, free: 5.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.4228, allocations: 15.98 kB / 0.5514 GB, free: 5.469 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0007643/0.4236, allocations: 0.6115 MB / 0.552 GB, free: 4.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4237, allocations: 15.52 kB / 0.552 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.4238, allocations: 55.34 kB / 0.552 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.4241, allocations: 307.1 kB / 0.5523 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4242, allocations: 20 kB / 0.5524 GB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.4242, allocations: 31.91 kB / 0.5524 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004084/0.4246, allocations: 230.6 kB / 0.5526 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.4252, allocations: 396.6 kB / 0.553 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4252, allocations: 0 / 0.553 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4253, allocations: 0 / 0.553 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4253, allocations: 16 kB / 0.553 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.4271, allocations: 1.535 MB / 0.5545 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.4273, allocations: 104.2 kB / 0.5546 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4274, allocations: 76.91 kB / 0.5547 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4275, allocations: 4 kB / 0.5547 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4275, allocations: 38.5 kB / 0.5547 GB, free: 1.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.4275, allocations: 0 / 0.5547 GB, free: 1.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003284/0.4278, allocations: 169.4 kB / 0.5549 GB, free: 1.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4279, allocations: 55.75 kB / 0.5549 GB, free: 1.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.428, allocations: 171.1 kB / 0.5551 GB, free: 1.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4281, allocations: 25.7 kB / 0.5551 GB, free: 1.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4282, allocations: 247.4 kB / 0.5554 GB, free: 1.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.4283, allocations: 66.95 kB / 0.5554 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.4283, allocations: 0 / 0.5554 GB, free: 1.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4284, allocations: 338.7 kB / 0.5557 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.4285, allocations: 56 kB / 0.5558 GB, free: 0.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4286, allocations: 112.6 kB / 0.5559 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4288, allocations: 69.75 kB / 0.556 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4288, allocations: 0 / 0.556 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003076/0.4291, allocations: 221.9 kB / 0.5562 GB, free: 296 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4291, allocations: 4 kB / 0.5562 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4291, allocations: 4 kB / 0.5562 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4291, allocations: 5.312 kB / 0.5562 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.4293, allocations: 39.92 kB / 0.5562 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4293, allocations: 7.984 kB / 0.5562 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.4294, allocations: 11.84 kB / 0.5563 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.4295, allocations: 8.188 kB / 0.5563 GB, free: 216 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.745e-05/0.4296, allocations: 120.8 kB / 0.5564 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.4296, allocations: 15.81 kB / 0.5564 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.4297, allocations: 29.58 kB / 0.5564 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4297, allocations: 3.906 kB / 0.5564 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4297, allocations: 0 / 0.5564 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4297, allocations: 0 / 0.5564 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.4303, allocations: 0.5806 MB / 0.557 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4303, allocations: 3.938 kB / 0.557 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4305, allocations: 43.92 kB / 0.557 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4305, allocations: 0 / 0.557 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4306, allocations: 4 kB / 0.557 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4306, allocations: 0 / 0.557 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4306, allocations: 3.938 kB / 0.557 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004068/0.431, allocations: 347.1 kB / 0.5574 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4311, allocations: 100.8 kB / 0.5575 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.4311, allocations: 0 / 0.5575 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.4312, allocations: 4 kB / 0.5575 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.4313, allocations: 7.984 kB / 0.5575 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4313, allocations: 4 kB / 0.5575 GB, free: 14.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001038/0.4314, allocations: 141.6 kB / 0.5576 GB, free: 14.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.4317, allocations: 79.38 kB / 0.5577 GB, free: 14.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001142/0.4318, allocations: 96.19 kB / 0.5578 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4321, allocations: 160.6 kB / 0.5579 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4321, allocations: 4 kB / 0.5579 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4322, allocations: 75.92 kB / 0.558 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4325, allocations: 28.56 kB / 0.558 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.4334, allocations: 447 kB / 0.5585 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.4338, allocations: 0.8383 MB / 0.5593 GB, free: 12.96 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4338, allocations: 4 kB / 0.5593 GB, free: 12.96 MB / 394.7 MB Notification: Performance of Templates: time 0.004506/0.4383, allocations: 1.756 MB / 0.561 GB, free: 11.21 MB / 394.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)