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.001031/0.001031, allocations: 96.14 kB / 15.87 MB, free: 16 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.001052/0.001052, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.677/1.677, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04034/0.04034, allocations: 8.099 MB / 278.1 MB, free: 13.64 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.001395/0.001395, allocations: 63.91 kB / 337.2 MB, free: 27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 48.29 MB / 385.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002252/0.1206, allocations: 0.762 MB / 386.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004215/0.1211, allocations: 175.4 kB / 386.4 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.1212, allocations: 0 / 386.4 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.43e-05/0.1212, allocations: 15.88 kB / 386.4 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.1213, allocations: 7.875 kB / 386.4 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1215, allocations: 55.94 kB / 386.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1218, allocations: 131.7 kB / 386.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.122, allocations: 74.05 kB / 386.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1221, allocations: 47.8 kB / 386.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1222, allocations: 71.61 kB / 386.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1222, allocations: 12 kB / 386.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.075e-05/0.1222, allocations: 19.94 kB / 386.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1223, allocations: 35.84 kB / 386.8 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.1224, allocations: 71.59 kB / 386.9 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1225, allocations: 143.7 kB / 387 MB, free: 9.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1225, allocations: 3.938 kB / 387.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1226, allocations: 4 kB / 387.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1226, allocations: 0 / 387.1 MB, free: 9.027 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.000682/0.1233, allocations: 467.5 kB / 387.5 MB, free: 8.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1233, allocations: 11.97 kB / 387.5 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.1234, allocations: 20.75 kB / 387.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1236, allocations: 212.1 kB / 387.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1236, allocations: 16.75 kB / 387.8 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1237, allocations: 16.38 kB / 387.8 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.124, allocations: 168.9 kB / 388 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.124, allocations: 192 / 388 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.124, allocations: 15.94 kB / 388 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1241, allocations: 4 kB / 388 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.1243, allocations: 111.7 kB / 388.1 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.1252, allocations: 0.5895 MB / 388.7 MB, free: 7.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1254, allocations: 130.5 kB / 388.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1256, allocations: 76.83 kB / 388.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1256, allocations: 4 kB / 388.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1256, allocations: 34.56 kB / 388.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.1256, allocations: 0 / 388.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.126, allocations: 177.1 kB / 389.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.126, allocations: 51.41 kB / 389.1 MB, free: 6.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.1261, allocations: 137.8 kB / 389.3 MB, free: 6.625 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1262, allocations: 25.7 kB / 389.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.1263, allocations: 132.2 kB / 389.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.1263, allocations: 59.19 kB / 389.5 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1264, allocations: 29.7 kB / 389.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1265, allocations: 326.8 kB / 389.8 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.1266, allocations: 39.98 kB / 389.9 MB, free: 6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1267, allocations: 46.64 kB / 389.9 MB, free: 5.957 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1268, allocations: 104.8 kB / 390 MB, free: 5.852 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1268, allocations: 0 / 390 MB, free: 5.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002044/0.127, allocations: 152.1 kB / 390.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1271, allocations: 7.938 kB / 390.2 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1271, allocations: 0 / 390.2 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1271, allocations: 7.938 kB / 390.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1273, allocations: 27.98 kB / 390.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1273, allocations: 3.938 kB / 390.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1274, allocations: 11.84 kB / 390.2 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1274, allocations: 8 kB / 390.2 MB, free: 5.633 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 0.0001069/0.1275, allocations: 125.8 kB / 390.4 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1275, allocations: 11.91 kB / 390.4 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.1276, allocations: 16.5 kB / 390.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1276, allocations: 4 kB / 390.4 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1276, allocations: 0 / 390.4 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1276, allocations: 3.938 kB / 390.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1279, allocations: 277.4 kB / 390.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1279, allocations: 0 / 390.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1281, allocations: 31.92 kB / 390.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1281, allocations: 4 kB / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1281, allocations: 0 / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1281, allocations: 0 / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1281, allocations: 0 / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1285, allocations: 298.8 kB / 391 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1286, allocations: 85.05 kB / 391.1 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1286, allocations: 8 kB / 391.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.1287, allocations: 4 kB / 391.1 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1287, allocations: 15.98 kB / 391.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1287, allocations: 7.938 kB / 391.1 MB, free: 4.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.931e-05/0.1288, allocations: 95.27 kB / 391.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1288, allocations: 0 / 391.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1291, allocations: 39.69 kB / 391.2 MB, free: 4.535 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 0.0001309/0.1292, allocations: 107.3 kB / 391.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1294, allocations: 111.9 kB / 391.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1294, allocations: 4 kB / 391.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.1295, allocations: 55.98 kB / 391.5 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1299, allocations: 27.86 kB / 391.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.1306, allocations: 419.8 kB / 391.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1309, allocations: 0.7277 MB / 392.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.131, allocations: 15.44 kB / 392.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.131, allocations: 0 / 392.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of Templates: time 0.003515/0.1345, allocations: 1.71 MB / 394.4 MB, free: 1.297 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++ -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