Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006885/0.0006886, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 185.3 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.4 MB / 223.1 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03575/0.03575, allocations: 8.108 MB / 279.5 MB, free: 13.36 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 19.44 kB / 339.5 MB, free: 26.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06836/0.06881, allocations: 49.27 MB / 388.8 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.0007256/0.06957, allocations: 421.4 kB / 389.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003148/0.06989, allocations: 179.3 kB / 389.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.06995, allocations: 4 kB / 389.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.06999, allocations: 15.88 kB / 389.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.07007, allocations: 7.875 kB / 389.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.07024, allocations: 51.95 kB / 389.5 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.07039, allocations: 127.7 kB / 389.6 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.07056, allocations: 66.08 kB / 389.7 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.07062, allocations: 51.72 kB / 389.7 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.07071, allocations: 63.62 kB / 389.8 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.07074, allocations: 12 kB / 389.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.07076, allocations: 8 kB / 389.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.0708, allocations: 35.84 kB / 389.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.07087, allocations: 89.31 kB / 389.9 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.07099, allocations: 131.7 kB / 390 MB, free: 8.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.071, allocations: 0 / 390 MB, free: 8.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.07101, allocations: 0 / 390 MB, free: 8.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07102, allocations: 0 / 390 MB, free: 8.113 MB / 286.1 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.0004615/0.07149, allocations: 435.6 kB / 390.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.07153, allocations: 11.97 kB / 390.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.07158, allocations: 28.69 kB / 390.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.07177, allocations: 223.8 kB / 390.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.0718, allocations: 16.75 kB / 390.7 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.07184, allocations: 20.38 kB / 390.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.0721, allocations: 160.9 kB / 390.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.07212, allocations: 192 / 390.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.07215, allocations: 15.94 kB / 390.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.07216, allocations: 4 kB / 390.9 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.07235, allocations: 115.7 kB / 391.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.07311, allocations: 0.5896 MB / 391.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.07332, allocations: 122.5 kB / 391.8 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.07344, allocations: 72.84 kB / 391.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.07346, allocations: 4 kB / 391.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.07349, allocations: 38.55 kB / 391.9 MB, free: 6.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.07349, allocations: 3.984 kB / 391.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.000289/0.07379, allocations: 173.7 kB / 392.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.07383, allocations: 59.41 kB / 392.1 MB, free: 5.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.07393, allocations: 129.8 kB / 392.2 MB, free: 5.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.07395, allocations: 25.7 kB / 392.3 MB, free: 5.699 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.07402, allocations: 132.2 kB / 392.4 MB, free: 5.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.07406, allocations: 59.19 kB / 392.4 MB, free: 5.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.0741, allocations: 17.72 kB / 392.5 MB, free: 5.484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.07421, allocations: 326.8 kB / 392.8 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.07428, allocations: 39.98 kB / 392.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.07434, allocations: 43.98 kB / 392.9 MB, free: 5.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.07449, allocations: 107.1 kB / 393 MB, free: 4.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0745, allocations: 4 kB / 393 MB, free: 4.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001868/0.07469, allocations: 147.8 kB / 393.1 MB, free: 4.816 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.07471, allocations: 4 kB / 393.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.07473, allocations: 3.984 kB / 393.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.07475, allocations: 4 kB / 393.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.07492, allocations: 35.92 kB / 393.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.07493, allocations: 0 / 393.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.07498, allocations: 15.88 kB / 393.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.07499, allocations: 4 kB / 393.2 MB, free: 4.75 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.07508, allocations: 121.8 kB / 393.3 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.07512, allocations: 11.91 kB / 393.3 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.07517, allocations: 20.48 kB / 393.3 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.07518, allocations: 7.938 kB / 393.3 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.07519, allocations: 0 / 393.3 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.0752, allocations: 3.938 kB / 393.3 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.07546, allocations: 277.4 kB / 393.6 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.07547, allocations: 4 kB / 393.6 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.07562, allocations: 31.91 kB / 393.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.07563, allocations: 0 / 393.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.07565, allocations: 4 kB / 393.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.07566, allocations: 0 / 393.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.07566, allocations: 0 / 393.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.07597, allocations: 298.9 kB / 394 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.07602, allocations: 85.02 kB / 394 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.07604, allocations: 12 kB / 394 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.07612, allocations: 0 / 394 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.07615, allocations: 8.031 kB / 394.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.07616, allocations: 11.94 kB / 394.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.07622, allocations: 95.27 kB / 394.2 MB, free: 3.688 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.07622, allocations: 0 / 394.2 MB, free: 3.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.07645, allocations: 35.78 kB / 394.2 MB, free: 3.652 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.491e-05/0.07655, allocations: 107.2 kB / 394.3 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.07673, allocations: 115.9 kB / 394.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.07674, allocations: 0 / 394.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.07681, allocations: 51.98 kB / 394.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.07714, allocations: 23.98 kB / 394.5 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.07767, allocations: 431.9 kB / 394.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.07797, allocations: 0.7239 MB / 395.6 MB, free: 2.145 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.07802, allocations: 15.44 kB / 395.6 MB, free: 2.133 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.07802, allocations: 0 / 395.6 MB, free: 2.133 MB / 286.1 MB Notification: Performance of Templates: time 0.002752/0.08078, allocations: 1.683 MB / 397.3 MB, free: 460 kB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpeciesCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpeciesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpeciesCalcHelperMain.o] Error 1