Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-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(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",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.002053/0.002053, allocations: 178 kB / 7.453 MB, free: 2.527 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.044/1.044, allocations: 221.4 MB / 229.3 MB, free: 3.238 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.0008987/0.0008988, allocations: 96.97 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2494/0.2494, allocations: 37.08 MB / 368 MB, free: 47.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08938/0.3388, allocations: 66.2 MB / 434.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.4353, allocations: 60.08 MB / 494.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.6596, allocations: 89.93 MB / 0.5705 GB, free: 9.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.6599, allocations: 72.33 kB / 0.5706 GB, free: 9.496 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.006272/0.6661, allocations: 2.533 MB / 0.573 GB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6662, allocations: 8 kB / 0.573 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.6662, allocations: 15.81 kB / 0.5731 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.6665, allocations: 203 kB / 0.5732 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6665, allocations: 4 kB / 0.5732 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6665, allocations: 8 kB / 0.5733 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001455/0.6667, allocations: 70.14 kB / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6668, allocations: 89.67 kB / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6668, allocations: 0 / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6669, allocations: 4 kB / 0.5734 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6669, allocations: 4 kB / 0.5734 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.6675, allocations: 417.7 kB / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.6676, allocations: 99.28 kB / 0.5739 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.6677, allocations: 47.59 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.6677, allocations: 0 / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.6677, allocations: 31.5 kB / 0.574 GB, free: 5.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.6677, allocations: 0.5625 kB / 0.574 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001973/0.6679, allocations: 98.53 kB / 0.5741 GB, free: 5.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.668, allocations: 59.62 kB / 0.5741 GB, free: 5.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.6681, allocations: 136.2 kB / 0.5743 GB, free: 5.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6681, allocations: 29.64 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.6682, allocations: 115.7 kB / 0.5744 GB, free: 5.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.6682, allocations: 46.02 kB / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.6682, allocations: 0 / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.6683, allocations: 322.8 kB / 0.5748 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.6684, allocations: 24 kB / 0.5748 GB, free: 5.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.6684, allocations: 27.91 kB / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.6685, allocations: 35.98 kB / 0.5748 GB, free: 4.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6685, allocations: 4 kB / 0.5748 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000174/0.6687, allocations: 117.5 kB / 0.575 GB, free: 4.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6687, allocations: 8 kB / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6687, allocations: 0 / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6687, allocations: 0 / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6689, allocations: 35.92 kB / 0.575 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.6689, allocations: 1.562 kB / 0.575 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.669, allocations: 11.84 kB / 0.575 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.669, allocations: 4 kB / 0.575 GB, free: 4.785 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" nominal = prey.NominalPopulation ) type: Real predator.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" nominal = predator.NominalPopulation ) type: Real 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 0.0001484/0.6691, allocations: 140.6 kB / 0.5751 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.6692, allocations: 9.219 kB / 0.5752 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.6692, allocations: 16.5 kB / 0.5752 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6692, allocations: 0 / 0.5752 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6692, allocations: 0 / 0.5752 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6692, allocations: 3.906 kB / 0.5752 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.6695, allocations: 202.1 kB / 0.5754 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6695, allocations: 4 kB / 0.5754 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.6696, allocations: 16 kB / 0.5754 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6696, allocations: 7.984 kB / 0.5754 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.6696, allocations: 3.906 kB / 0.5754 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6696, allocations: 2.031 kB / 0.5754 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6696, allocations: 0 / 0.5754 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002486/0.6699, allocations: 240.3 kB / 0.5756 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003812/0.6703, allocations: 0.6384 MB / 0.5763 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.6703, allocations: 92.94 kB / 0.5763 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.6704, allocations: 6.219 kB / 0.5763 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.6705, allocations: 0 / 0.5763 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.6705, allocations: 7.984 kB / 0.5764 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.6705, allocations: 4 kB / 0.5764 GB, free: 3.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.957e-05/0.6706, allocations: 111.5 kB / 0.5765 GB, free: 3.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007774/0.6713, allocations: 39.97 kB / 0.5765 GB, free: 3.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 9.12e-05/0.6714, allocations: 95.19 kB / 0.5766 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.6716, allocations: 76 kB / 0.5767 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6716, allocations: 0 / 0.5767 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.6717, allocations: 35.94 kB / 0.5767 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.6719, allocations: 24.17 kB / 0.5767 GB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.6724, allocations: 286.4 kB / 0.577 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.6728, allocations: 0.7433 MB / 0.5777 GB, free: 1.875 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6728, allocations: 3.938 kB / 0.5777 GB, free: 1.871 MB / 394.7 MB (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)