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.0006972/0.0006972, allocations: 92.39 kB / 16.02 MB, free: 76 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.0007482/0.0007482, allocations: 184.1 kB / 16.92 MB, free: 6.926 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.163/1.163, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03557/0.03557, allocations: 8.107 MB / 279.5 MB, free: 13.11 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.000454/0.000454, allocations: 15.44 kB / 339.5 MB, free: 26.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06724/0.0677, allocations: 49.27 MB / 388.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0005917/0.06833, allocations: 285.9 kB / 389.1 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.06858, allocations: 127.6 kB / 389.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.06862, allocations: 0 / 389.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.06865, allocations: 3.938 kB / 389.2 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.06871, allocations: 8 kB / 389.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.06885, allocations: 27.92 kB / 389.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.06896, allocations: 59.84 kB / 389.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.06908, allocations: 39.97 kB / 389.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.06912, allocations: 23.86 kB / 389.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.06918, allocations: 31.83 kB / 389.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.0692, allocations: 8 kB / 389.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.06922, allocations: 4 kB / 389.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.06925, allocations: 15.94 kB / 389.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.0693, allocations: 57.5 kB / 389.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.06938, allocations: 67.83 kB / 389.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.0694, allocations: 7.938 kB / 389.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0694, allocations: 0 / 389.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.06941, allocations: 0 / 389.6 MB, free: 8.598 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.0003538/0.06977, allocations: 363.8 kB / 389.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.0698, allocations: 12.03 kB / 389.9 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.06984, allocations: 8.844 kB / 389.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.07, allocations: 196.1 kB / 390.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-06/0.07001, allocations: 4.562 kB / 390.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.07004, allocations: 16.36 kB / 390.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.07021, allocations: 101.9 kB / 390.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.07023, allocations: 0 / 390.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.07025, allocations: 7.938 kB / 390.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.07026, allocations: 4 kB / 390.3 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.07035, allocations: 47.97 kB / 390.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.07085, allocations: 412.5 kB / 390.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.07101, allocations: 86.55 kB / 390.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.07107, allocations: 40.84 kB / 390.8 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.07109, allocations: 4 kB / 390.8 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.07111, allocations: 34.5 kB / 390.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.07112, allocations: 0 / 390.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001971/0.07132, allocations: 101.6 kB / 391 MB, free: 7.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.07136, allocations: 51.41 kB / 391 MB, free: 6.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.07143, allocations: 113.8 kB / 391.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.07145, allocations: 29.7 kB / 391.2 MB, free: 6.797 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.0715, allocations: 104 kB / 391.3 MB, free: 6.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.07153, allocations: 27.56 kB / 391.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.07156, allocations: 21.7 kB / 391.3 MB, free: 6.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.07168, allocations: 314.8 kB / 391.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.07172, allocations: 19.98 kB / 391.6 MB, free: 6.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.07175, allocations: 19.94 kB / 391.6 MB, free: 6.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.07184, allocations: 56.84 kB / 391.7 MB, free: 6.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.07184, allocations: 4 kB / 391.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.07197, allocations: 97.66 kB / 391.8 MB, free: 6.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.07198, allocations: 8 kB / 391.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.07199, allocations: 0 / 391.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.07201, allocations: 0 / 391.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.07211, allocations: 15.94 kB / 391.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.07212, allocations: 4 kB / 391.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.07215, allocations: 7.875 kB / 391.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.07216, allocations: 0 / 391.8 MB, free: 6.082 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 7.962e-05/0.07224, allocations: 125.8 kB / 392 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.07228, allocations: 11.91 kB / 392 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.07231, allocations: 12.38 kB / 392 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.07232, allocations: 0 / 392 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.07232, allocations: 0 / 392 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.07233, allocations: 3.938 kB / 392 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.07252, allocations: 205.8 kB / 392.2 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.07253, allocations: 0 / 392.2 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.07262, allocations: 15.98 kB / 392.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.07263, allocations: 0 / 392.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.07264, allocations: 4 kB / 392.2 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.07265, allocations: 8 kB / 392.2 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.07266, allocations: 0 / 392.2 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.07285, allocations: 211.3 kB / 392.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.0729, allocations: 85.05 kB / 392.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.07292, allocations: 4 kB / 392.5 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.07298, allocations: 4 kB / 392.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.073, allocations: 11.92 kB / 392.5 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.07301, allocations: 0 / 392.5 MB, free: 5.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.07305, allocations: 91.34 kB / 392.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.07306, allocations: 0 / 392.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.07327, allocations: 19.94 kB / 392.6 MB, free: 5.191 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 8.033e-05/0.07335, allocations: 95.25 kB / 392.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.07346, allocations: 60.84 kB / 392.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.07347, allocations: 0 / 392.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.07351, allocations: 27.98 kB / 392.8 MB, free: 5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.0738, allocations: 19.78 kB / 392.8 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.07415, allocations: 277 kB / 393.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.07438, allocations: 0.7007 MB / 393.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.07441, allocations: 11.44 kB / 393.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.07441, allocations: 0 / 393.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of Templates: time 0.001969/0.07639, allocations: 1.049 MB / 394.9 MB, free: 2.898 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