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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",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 4.0.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 185.6 kB / 7.459 MB, free: 2.52 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.377/1.377, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001012/0.001012, allocations: 97.34 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1724/0.1724, 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 0.2249/0.3974, allocations: 63.6 MB / 423.3 MB, free: 44.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.526, allocations: 57.46 MB / 480.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.8586, allocations: 78.51 MB / 0.5462 GB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.8589, allocations: 59.97 kB / 0.5462 GB, free: 10.96 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.01435/0.8732, allocations: 5.975 MB / 0.5521 GB, free: 4.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8733, allocations: 11.83 kB / 0.5521 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.8734, allocations: 55.34 kB / 0.5521 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.8738, allocations: 311.1 kB / 0.5524 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.8738, allocations: 16 kB / 0.5525 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.8739, allocations: 31.91 kB / 0.5525 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004479/0.8743, allocations: 234.6 kB / 0.5527 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.8749, allocations: 392.6 kB / 0.5531 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.875, allocations: 0 / 0.5531 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.875, allocations: 4 kB / 0.5531 GB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.875, allocations: 12 kB / 0.5531 GB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.8767, allocations: 1.531 MB / 0.5546 GB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.877, allocations: 113.8 kB / 0.5547 GB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.8771, allocations: 72.86 kB / 0.5548 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.8771, allocations: 7.984 kB / 0.5548 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8772, allocations: 38.5 kB / 0.5548 GB, free: 1.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.8772, allocations: 0 / 0.5548 GB, free: 1.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003374/0.8775, allocations: 169.4 kB / 0.555 GB, free: 1.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.8776, allocations: 55.75 kB / 0.555 GB, free: 1.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.8777, allocations: 171.1 kB / 0.5552 GB, free: 1.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8778, allocations: 27.39 kB / 0.5552 GB, free: 1.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.8779, allocations: 247.4 kB / 0.5555 GB, free: 1.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.878, allocations: 70.95 kB / 0.5555 GB, free: 1.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.878, allocations: 0 / 0.5555 GB, free: 1.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8781, allocations: 334.7 kB / 0.5558 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.8782, allocations: 56 kB / 0.5559 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.8784, allocations: 111 kB / 0.556 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.8785, allocations: 73.73 kB / 0.5561 GB, free: 0.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8785, allocations: 0 / 0.5561 GB, free: 0.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003465/0.8788, allocations: 217.9 kB / 0.5563 GB, free: 416 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8789, allocations: 8 kB / 0.5563 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8789, allocations: 0 / 0.5563 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8789, allocations: 4 kB / 0.5563 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.8791, allocations: 43.91 kB / 0.5563 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8791, allocations: 4 kB / 0.5563 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.8792, allocations: 13.16 kB / 0.5564 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.8792, allocations: 12 kB / 0.5564 GB, free: 332 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 9.47e-05/0.8793, allocations: 114.6 kB / 0.5565 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.8794, allocations: 23.75 kB / 0.5565 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.8795, allocations: 25.58 kB / 0.5565 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8795, allocations: 3.906 kB / 0.5565 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8795, allocations: 4 kB / 0.5565 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8795, allocations: 0 / 0.5565 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.8802, allocations: 0.5801 MB / 0.5571 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8802, allocations: 0 / 0.5571 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.8804, allocations: 35.92 kB / 0.5571 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.8804, allocations: 0 / 0.5571 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.8804, allocations: 7.938 kB / 0.5571 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8804, allocations: 4 kB / 0.5571 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8804, allocations: 0 / 0.5571 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004196/0.8809, allocations: 347.1 kB / 0.5575 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008643/0.8817, allocations: 0.9365 MB / 0.5584 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.8818, allocations: 92.83 kB / 0.5585 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.8819, allocations: 4 kB / 0.5585 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.882, allocations: 0 / 0.5585 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.882, allocations: 11.89 kB / 0.5585 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.882, allocations: 4 kB / 0.5585 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001202/0.8822, allocations: 145.6 kB / 0.5586 GB, free: 13.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009697/0.8831, allocations: 79.38 kB / 0.5587 GB, free: 13.83 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.0001579/0.8833, allocations: 95.19 kB / 0.5588 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.8836, allocations: 159.8 kB / 0.5589 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8836, allocations: 0 / 0.5589 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.8837, allocations: 75.94 kB / 0.559 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.884, allocations: 24.66 kB / 0.559 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.885, allocations: 474.7 kB / 0.5595 GB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.8855, allocations: 0.8504 MB / 0.5603 GB, free: 12.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8855, allocations: 0 / 0.5603 GB, free: 12.1 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1)