Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01235/0.01235, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.598/1.598, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04142/0.04142, allocations: 8.108 MB / 278.1 MB, free: 13.37 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.001391/0.001391, allocations: 59.92 kB / 337.2 MB, free: 26.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1327, allocations: 48.3 MB / 385.5 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002171/0.135, allocations: 0.6103 MB / 386.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.1353, allocations: 119.5 kB / 386.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.1354, allocations: 4 kB / 386.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.955e-05/0.1355, allocations: 7.875 kB / 386.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/0.1356, allocations: 4 kB / 386.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1357, allocations: 27.92 kB / 386.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1359, allocations: 71.84 kB / 386.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1361, allocations: 35.95 kB / 386.3 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.1361, allocations: 27.86 kB / 386.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.1362, allocations: 35.84 kB / 386.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1363, allocations: 4 kB / 386.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.1363, allocations: 8 kB / 386.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1363, allocations: 19.92 kB / 386.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.1364, allocations: 43.72 kB / 386.5 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1365, allocations: 63.88 kB / 386.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1365, allocations: 0 / 386.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1365, allocations: 4 kB / 386.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1365, allocations: 0 / 386.5 MB, free: 9.52 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005424/0.1371, allocations: 379.8 kB / 386.9 MB, free: 9.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1371, allocations: 8.031 kB / 386.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1372, allocations: 16.75 kB / 386.9 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1374, allocations: 188.2 kB / 387.1 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1374, allocations: 8.562 kB / 387.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.1375, allocations: 12.36 kB / 387.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1377, allocations: 93.98 kB / 387.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1377, allocations: 0 / 387.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1377, allocations: 8 kB / 387.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1377, allocations: 0 / 387.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1379, allocations: 55.91 kB / 387.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.1385, allocations: 412.5 kB / 387.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1387, allocations: 82.56 kB / 387.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.1388, allocations: 40.84 kB / 387.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1388, allocations: 0 / 387.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1389, allocations: 34.56 kB / 387.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 3.056e-06/0.1389, allocations: 0 / 387.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003188/0.1392, allocations: 113.6 kB / 388 MB, free: 7.926 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1393, allocations: 59.41 kB / 388 MB, free: 7.855 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.1394, allocations: 109.8 kB / 388.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1394, allocations: 25.7 kB / 388.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.1395, allocations: 107.9 kB / 388.2 MB, free: 7.598 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1395, allocations: 27.56 kB / 388.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.1396, allocations: 29.7 kB / 388.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1397, allocations: 318.8 kB / 388.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.1397, allocations: 27.98 kB / 388.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.1398, allocations: 23.88 kB / 388.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.1399, allocations: 56.84 kB / 388.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1399, allocations: 0 / 388.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001421/0.14, allocations: 89.62 kB / 388.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1401, allocations: 6.188 kB / 388.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1401, allocations: 0 / 388.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1401, allocations: 0 / 388.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1402, allocations: 16 kB / 388.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.1403, allocations: 3.984 kB / 388.8 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.1403, allocations: 15.78 kB / 388.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1403, allocations: 4 kB / 388.9 MB, free: 6.969 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 (10): * Single equations (assignments): 10 * 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.0001175/0.1404, allocations: 117.8 kB / 389 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1405, allocations: 7.938 kB / 389 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.1405, allocations: 8.375 kB / 389 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1405, allocations: 0 / 389 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1406, allocations: 0 / 389 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1406, allocations: 3.938 kB / 389 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1408, allocations: 205.5 kB / 389.2 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1408, allocations: 4 kB / 389.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1409, allocations: 19.98 kB / 389.2 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.141, allocations: 0 / 389.2 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.141, allocations: 8.281 kB / 389.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.141, allocations: 0 / 389.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.141, allocations: 0 / 389.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1413, allocations: 219.4 kB / 389.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1414, allocations: 81.02 kB / 389.5 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1414, allocations: 4.062 kB / 389.5 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1415, allocations: 4 kB / 389.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.1415, allocations: 7.922 kB / 389.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1415, allocations: 4 kB / 389.5 MB, free: 6.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.1416, allocations: 83.28 kB / 389.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1416, allocations: 0 / 389.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1418, allocations: 23.84 kB / 389.6 MB, free: 6.086 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0001183/0.1419, allocations: 103.2 kB / 389.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.1421, allocations: 63.86 kB / 389.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1421, allocations: 0 / 389.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.1422, allocations: 28 kB / 389.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1426, allocations: 11.98 kB / 389.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1431, allocations: 262.4 kB / 390.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1435, allocations: 0.7043 MB / 390.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1435, allocations: 11.44 kB / 390.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1435, allocations: 0 / 390.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of Templates: time 0.00344/0.147, allocations: 1.059 MB / 391.9 MB, free: 3.785 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterraCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterraCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterraCalcHelperMain.o] Error 1