Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",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.003091/0.003091, allocations: 187.2 kB / 7.465 MB, free: 2.504 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.9635/0.9635, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03339/0.03339, allocations: 7.928 MB / 254.9 MB, free: 1.719 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.001608/0.001608, allocations: 117.2 kB / 301.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09324/0.09488, allocations: 52.33 MB / 353.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.2794, allocations: 46.18 MB / 400 MB, free: 70.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06887/0.3483, allocations: 70.5 MB / 470.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001422/0.3485, allocations: 51.92 kB / 470.6 MB, free: 0.8359 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.00876/0.3573, allocations: 3.666 MB / 474.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3574, allocations: 8 kB / 474.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3574, allocations: 27.66 kB / 474.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3577, allocations: 226.9 kB / 474.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3577, allocations: 4 kB / 474.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3578, allocations: 12 kB / 474.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002227/0.358, allocations: 96.73 kB / 474.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3582, allocations: 132.3 kB / 474.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3583, allocations: 3.906 kB / 474.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.3583, allocations: 0 / 474.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3583, allocations: 4 kB / 474.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.3591, allocations: 0.5352 MB / 475.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3592, allocations: 77.72 kB / 475.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.3594, allocations: 72.84 kB / 475.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3594, allocations: 0 / 475.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3594, allocations: 38.56 kB / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3594, allocations: 0 / 475.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002497/0.3597, allocations: 113.9 kB / 475.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.3597, allocations: 55.41 kB / 475.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.3598, allocations: 120.7 kB / 475.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3598, allocations: 33.7 kB / 475.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.3599, allocations: 120.3 kB / 475.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.3599, allocations: 51.27 kB / 476 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.3599, allocations: 0 / 476 MB, free: 11.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.36, allocations: 322.8 kB / 476.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.3601, allocations: 36 kB / 476.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/0.3601, allocations: 39.84 kB / 476.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.3602, allocations: 39.98 kB / 476.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3602, allocations: 4 kB / 476.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005805/0.3608, allocations: 237.6 kB / 476.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3608, allocations: 4 kB / 476.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3609, allocations: 0 / 476.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.3614, allocations: 140.7 kB / 476.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.3615, allocations: 11.94 kB / 476.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.3635, allocations: 1.757 MB / 478.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.3635, allocations: 7.938 kB / 478.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3636, allocations: 4 kB / 478.6 MB, free: 8.562 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.3637, allocations: 112.7 kB / 478.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3637, allocations: 11.91 kB / 478.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.3637, allocations: 20.38 kB / 478.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3638, allocations: 0 / 478.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3638, allocations: 0 / 478.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3638, allocations: 7.938 kB / 478.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.364, allocations: 234 kB / 478.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.364, allocations: 0 / 478.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3642, allocations: 31.97 kB / 479 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3642, allocations: 3.906 kB / 479 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3642, allocations: 0 / 479 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3642, allocations: 8 kB / 479 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3642, allocations: 4 kB / 479 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002747/0.3645, allocations: 275.3 kB / 479.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004326/0.365, allocations: 0.6912 MB / 479.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.365, allocations: 89.23 kB / 480 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.365, allocations: 4 kB / 480 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.3651, allocations: 0 / 480 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.3652, allocations: 7.984 kB / 480 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3652, allocations: 8 kB / 480 MB, free: 6.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.437e-05/0.3652, allocations: 95.03 kB / 480.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007988/0.366, allocations: 43.69 kB / 480.2 MB, free: 6.836 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.0001299/0.3662, allocations: 99.19 kB / 480.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.3666, allocations: 241.6 kB / 480.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3667, allocations: 0 / 480.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3668, allocations: 55.94 kB / 480.6 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.367, allocations: 21.11 kB / 480.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.3675, allocations: 233.3 kB / 480.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.3678, allocations: 0.7439 MB / 481.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3678, allocations: 0 / 481.6 MB, free: 5.383 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1)