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.119/0.119, allocations: 15.26 MB / 31.19 MB, free: 4.344 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.0007365/0.0007364, allocations: 98.61 kB / 36.21 MB, free: 3.457 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.001272/0.001272, allocations: 181.2 kB / 41.34 MB, free: 7.508 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.654/1.654, allocations: 223.2 MB / 269.6 MB, free: 8.285 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1683/0.1683, allocations: 23.39 MB / 348.3 MB, free: 76 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005292, allocations: 16 kB / 420.9 MB, free: 30.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 60.48 MB / 481.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003856/0.1359, allocations: 2.021 MB / 483.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.1366, allocations: 143.4 kB / 483.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1369, allocations: 4 kB / 483.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.1371, allocations: 15.86 kB / 483.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1374, allocations: 47.61 kB / 483.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1377, allocations: 35.97 kB / 483.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.1382, allocations: 167.1 kB / 483.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.1384, allocations: 57.83 kB / 483.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1386, allocations: 51.73 kB / 483.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1388, allocations: 55.7 kB / 483.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.1389, allocations: 4 kB / 483.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.1389, allocations: 8 kB / 483.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.139, allocations: 19.92 kB / 484 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1391, allocations: 89.31 kB / 484.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1393, allocations: 108 kB / 484.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1393, allocations: 0 / 484.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.1393, allocations: 0 / 484.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1393, allocations: 3.938 kB / 484.2 MB, free: 15.09 MB / 350.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.0006499/0.14, allocations: 415.1 kB / 484.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.1401, allocations: 8.594 kB / 484.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.1401, allocations: 16.75 kB / 484.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1404, allocations: 212 kB / 484.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1405, allocations: 12.38 kB / 484.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.1405, allocations: 16.31 kB / 484.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1408, allocations: 118.7 kB / 484.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1408, allocations: 4.172 kB / 485 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1409, allocations: 7.938 kB / 485 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1409, allocations: 4 kB / 485 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.1411, allocations: 71.95 kB / 485 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.1418, allocations: 448.3 kB / 485.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1421, allocations: 118.5 kB / 485.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.1422, allocations: 52.89 kB / 485.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1422, allocations: 0 / 485.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1422, allocations: 42.5 kB / 485.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1422, allocations: 4 kB / 485.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003328/0.1426, allocations: 125.5 kB / 485.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1426, allocations: 59.28 kB / 485.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1428, allocations: 153.5 kB / 486 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1428, allocations: 29.7 kB / 486 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1429, allocations: 127.7 kB / 486.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.143, allocations: 39.36 kB / 486.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.143, allocations: 25.7 kB / 486.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1432, allocations: 326.8 kB / 486.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1432, allocations: 31.98 kB / 486.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.1433, allocations: 31.98 kB / 486.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1437, allocations: 155 kB / 486.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1437, allocations: 0 / 486.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002214/0.144, allocations: 133.4 kB / 486.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.144, allocations: 11.94 kB / 486.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.144, allocations: 0 / 486.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.144, allocations: 0 / 486.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1442, allocations: 31.98 kB / 486.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1442, allocations: 0 / 486.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.1443, allocations: 15.89 kB / 487 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1443, allocations: 4 kB / 487 MB, free: 12.07 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.0002253/0.1445, allocations: 142.1 kB / 487.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.1446, allocations: 19.84 kB / 487.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1446, allocations: 12.7 kB / 487.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1446, allocations: 7.984 kB / 487.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1446, allocations: 0 / 487.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1446, allocations: 0 / 487.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.1449, allocations: 237.4 kB / 487.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1449, allocations: 0 / 487.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1451, allocations: 19.98 kB / 487.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1451, allocations: 7.938 kB / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1451, allocations: 0 / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1451, allocations: 4 kB / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.1451, allocations: 3.938 kB / 487.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1454, allocations: 247.7 kB / 487.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1455, allocations: 96.83 kB / 487.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1455, allocations: 8 kB / 487.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.1456, allocations: 4 kB / 487.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.1457, allocations: 7.984 kB / 487.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1457, allocations: 8.062 kB / 487.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.1458, allocations: 117.3 kB / 487.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 4 kB / 487.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.146, allocations: 39.94 kB / 487.9 MB, free: 11.01 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 9.655e-05/0.1461, allocations: 99.11 kB / 488 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1463, allocations: 90.25 kB / 488.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1463, allocations: 0 / 488.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.1464, allocations: 35.94 kB / 488.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1468, allocations: 35.89 kB / 488.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.1476, allocations: 490 kB / 488.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1479, allocations: 0.7165 MB / 489.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1479, allocations: 19.44 kB / 489.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1479, allocations: 3.938 kB / 489.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Templates: time 0.003941/0.1519, allocations: 1.714 MB / 491.1 MB, free: 7.766 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