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.001263/0.001263, allocations: 102.6 kB / 15.71 MB, free: 460 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.00209/0.00209, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.978/1.978, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04154/0.04154, allocations: 8.103 MB / 279.1 MB, free: 13.21 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.0005645/0.0005645, allocations: 18.97 kB / 338.9 MB, free: 27.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 49.27 MB / 388.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001235/0.1376, allocations: 397.8 kB / 388.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.1381, allocations: 171.4 kB / 388.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.1382, allocations: 4 kB / 388.7 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.1383, allocations: 15.86 kB / 388.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1384, allocations: 7.938 kB / 388.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1386, allocations: 39.89 kB / 388.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1388, allocations: 123.8 kB / 388.9 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1391, allocations: 70.05 kB / 389 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.1392, allocations: 43.8 kB / 389 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1393, allocations: 59.69 kB / 389.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1393, allocations: 8 kB / 389.1 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.1394, allocations: 12 kB / 389.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.1394, allocations: 31.84 kB / 389.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.1395, allocations: 45.64 kB / 389.2 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1396, allocations: 135.7 kB / 389.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1396, allocations: 0 / 389.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1397, allocations: 0 / 389.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1397, allocations: 8 kB / 389.3 MB, free: 8.531 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.000643/0.1403, allocations: 435.3 kB / 389.8 MB, free: 8.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1404, allocations: 8.031 kB / 389.8 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.1405, allocations: 23.8 kB / 389.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1407, allocations: 210.8 kB / 390 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1407, allocations: 16.38 kB / 390 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1408, allocations: 16 kB / 390 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1411, allocations: 176.5 kB / 390.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1411, allocations: 3.984 kB / 390.2 MB, free: 7.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1412, allocations: 8 kB / 390.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1412, allocations: 8 kB / 390.2 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1414, allocations: 111.6 kB / 390.3 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.1423, allocations: 0.582 MB / 390.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.1426, allocations: 130.3 kB / 391 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1427, allocations: 80.77 kB / 391.1 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1428, allocations: 11.94 kB / 391.1 MB, free: 6.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1428, allocations: 34.56 kB / 391.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.1428, allocations: 0 / 391.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003631/0.1432, allocations: 169.8 kB / 391.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1432, allocations: 55.41 kB / 391.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1434, allocations: 129.8 kB / 391.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1434, allocations: 25.7 kB / 391.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.1435, allocations: 132.3 kB / 391.7 MB, free: 6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.1435, allocations: 55.25 kB / 391.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1435, allocations: 0 / 391.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1437, allocations: 330.8 kB / 392 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.1438, allocations: 35.98 kB / 392.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.1438, allocations: 50.17 kB / 392.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.1439, allocations: 48 kB / 392.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1439, allocations: 0 / 392.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002067/0.1441, allocations: 145.5 kB / 392.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1442, allocations: 6.812 kB / 392.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1442, allocations: 4 kB / 392.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1442, allocations: 4 kB / 392.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1444, allocations: 35.92 kB / 392.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1444, allocations: 0 / 392.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.1444, allocations: 11.84 kB / 392.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1445, allocations: 4 kB / 392.4 MB, free: 5.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.1446, allocations: 125.8 kB / 392.5 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1446, allocations: 15.89 kB / 392.5 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.1447, allocations: 28.38 kB / 392.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1447, allocations: 4 kB / 392.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1447, allocations: 0 / 392.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1447, allocations: 0 / 392.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.145, allocations: 269.5 kB / 392.8 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.145, allocations: 3.984 kB / 392.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1452, allocations: 31.92 kB / 392.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1452, allocations: 4 kB / 392.8 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1452, allocations: 0 / 392.8 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1452, allocations: 0 / 392.8 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1452, allocations: 4 kB / 392.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1456, allocations: 299 kB / 393.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1457, allocations: 85.02 kB / 393.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1457, allocations: 8.031 kB / 393.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.1458, allocations: 4 kB / 393.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1458, allocations: 4 kB / 393.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1459, allocations: 8 kB / 393.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.915e-05/0.1459, allocations: 103.2 kB / 393.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 4 kB / 393.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1462, allocations: 31.84 kB / 393.4 MB, free: 4.172 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 (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.0001343/0.1463, allocations: 99.25 kB / 393.5 MB, free: 4.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1466, allocations: 111.8 kB / 393.6 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1466, allocations: 4 kB / 393.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/0.1467, allocations: 55.92 kB / 393.6 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.147, allocations: 27.94 kB / 393.7 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.1478, allocations: 419.9 kB / 394.1 MB, free: 3.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1482, allocations: 0.724 MB / 394.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1482, allocations: 15.44 kB / 394.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1482, allocations: 0 / 394.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of Templates: time 0.003614/0.1519, allocations: 1.679 MB / 396.5 MB, free: 0.9766 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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