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/Chemical 1.4.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1019/0.1019, allocations: 15.28 MB / 31.05 MB, free: 4.363 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 105.6 kB / 36.03 MB, free: 3.434 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 201.1 kB / 41.12 MB, free: 7.523 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 268.9 MB, free: 7.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1775/0.1775, allocations: 23.36 MB / 346.6 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 99.83 kB / 418.1 MB, free: 30.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.136, allocations: 59.37 MB / 477.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003975/0.14, allocations: 2.368 MB / 479.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003205/0.1403, allocations: 143.5 kB / 480 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.1404, allocations: 4 kB / 480 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1406, allocations: 11.86 kB / 480 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1407, allocations: 51.61 kB / 480.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1409, allocations: 31.97 kB / 480.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1411, allocations: 171.1 kB / 480.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1413, allocations: 57.83 kB / 480.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1413, allocations: 59.72 kB / 480.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1415, allocations: 63.7 kB / 480.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1415, allocations: 8 kB / 480.4 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.1416, allocations: 12 kB / 480.4 MB, free: 472 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.1416, allocations: 15.92 kB / 480.5 MB, free: 456 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.1417, allocations: 79.55 kB / 480.5 MB, free: 376 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1418, allocations: 112 kB / 480.6 MB, free: 264 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1418, allocations: 0 / 480.6 MB, free: 264 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1419, allocations: 0 / 480.6 MB, free: 264 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1419, allocations: 0 / 480.6 MB, free: 264 kB / 334.1 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.0005834/0.1425, allocations: 435 kB / 481.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1425, allocations: 8.594 kB / 481.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.1426, allocations: 16.75 kB / 481.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1428, allocations: 222.5 kB / 481.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1428, allocations: 4.375 kB / 481.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1429, allocations: 16.38 kB / 481.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1431, allocations: 122.6 kB / 481.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1431, allocations: 192 / 481.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1432, allocations: 15.92 kB / 481.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1432, allocations: 4 kB / 481.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1433, allocations: 71.97 kB / 481.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.1441, allocations: 448.3 kB / 482 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1443, allocations: 114.6 kB / 482.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.1444, allocations: 48.84 kB / 482.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1444, allocations: 0 / 482.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1444, allocations: 42.5 kB / 482.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.1444, allocations: 4 kB / 482.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002863/0.1447, allocations: 129.8 kB / 482.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1448, allocations: 59.34 kB / 482.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1449, allocations: 150.2 kB / 482.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.145, allocations: 29.7 kB / 482.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.145, allocations: 119.7 kB / 482.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1451, allocations: 47.36 kB / 482.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.1451, allocations: 29.7 kB / 482.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1453, allocations: 326.8 kB / 483.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.1453, allocations: 31.98 kB / 483.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1454, allocations: 28 kB / 483.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.1458, allocations: 159.3 kB / 483.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1458, allocations: 0 / 483.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002008/0.1461, allocations: 133.4 kB / 483.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1461, allocations: 10.28 kB / 483.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1461, allocations: 4 kB / 483.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1461, allocations: 4 kB / 483.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1463, allocations: 31.98 kB / 483.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1463, allocations: 4 kB / 483.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.1464, allocations: 7.906 kB / 483.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1464, allocations: 8 kB / 483.5 MB, free: 13.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" fixed = true nominal = prey.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 () * 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 0.0002655/0.1466, allocations: 140.3 kB / 483.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1467, allocations: 15.84 kB / 483.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.1467, allocations: 20.7 kB / 483.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1467, allocations: 0 / 483.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1468, allocations: 4 kB / 483.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1468, allocations: 3.984 kB / 483.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.147, allocations: 241.4 kB / 483.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.147, allocations: 0 / 483.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1472, allocations: 19.98 kB / 483.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1472, allocations: 7.875 kB / 483.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1472, allocations: 4 kB / 483.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1472, allocations: 8 kB / 483.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1473, allocations: 3.938 kB / 483.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1476, allocations: 235.4 kB / 484.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1476, allocations: 96.88 kB / 484.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1477, allocations: 0 / 484.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.1477, allocations: 8 kB / 484.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1478, allocations: 7.984 kB / 484.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1478, allocations: 4.062 kB / 484.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.1479, allocations: 122 kB / 484.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1479, allocations: 0 / 484.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1481, allocations: 39.94 kB / 484.4 MB, free: 12.15 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.806e-05/0.1482, allocations: 107.1 kB / 484.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1484, allocations: 87.91 kB / 484.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1484, allocations: 0 / 484.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.1485, allocations: 39.94 kB / 484.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1488, allocations: 31.36 kB / 484.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.1496, allocations: 457.5 kB / 485.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.15, allocations: 0.7088 MB / 485.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.15, allocations: 19.44 kB / 485.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.15, allocations: 0 / 485.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003221/0.1532, allocations: 1.74 MB / 487.6 MB, free: 8.922 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.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 OMCppPhysiolibrary_Physiolibrary.Population.Examples.PredatorPreyCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Population.Examples.PredatorPreyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Population.Examples.PredatorPreyCalcHelperMain.o] Error 1