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.0011/0.0011, allocations: 102.6 kB / 15.71 MB, free: 460 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.001569/0.001569, allocations: 171.8 kB / 16.58 MB, free: 5.938 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.91/1.91, allocations: 205.4 MB / 222.8 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04145/0.04145, allocations: 8.113 MB / 279.1 MB, free: 13.45 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.0005943/0.0005943, allocations: 22.97 kB / 338.9 MB, free: 27.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1486, allocations: 49.28 MB / 388.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001063/0.1497, allocations: 266.1 kB / 388.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004085/0.1502, allocations: 119.7 kB / 388.6 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.1503, allocations: 0 / 388.6 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.1504, allocations: 3.938 kB / 388.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.1504, allocations: 11.94 kB / 388.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1507, allocations: 15.98 kB / 388.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1508, allocations: 63.84 kB / 388.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.151, allocations: 31.97 kB / 388.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.1511, allocations: 19.94 kB / 388.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.1512, allocations: 31.83 kB / 388.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1512, allocations: 8 kB / 388.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.1512, allocations: 4 kB / 388.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.1513, allocations: 11.92 kB / 388.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.1513, allocations: 41.64 kB / 388.8 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1515, allocations: 71.78 kB / 388.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1515, allocations: 0 / 388.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1515, allocations: 0 / 388.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1515, allocations: 0 / 388.9 MB, free: 9.023 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.0006415/0.1522, allocations: 371.6 kB / 389.2 MB, free: 8.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.1522, allocations: 8.031 kB / 389.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.335e-05/0.1523, allocations: 7.906 kB / 389.3 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1526, allocations: 190.8 kB / 389.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1527, allocations: 12.19 kB / 389.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.1527, allocations: 12 kB / 389.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.153, allocations: 95.11 kB / 389.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.153, allocations: 4 kB / 389.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.153, allocations: 0 / 389.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.153, allocations: 4 kB / 389.6 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1532, allocations: 52.47 kB / 389.6 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.154, allocations: 409.4 kB / 390 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1543, allocations: 78.56 kB / 390.1 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.1544, allocations: 44.84 kB / 390.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1544, allocations: 0 / 390.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1544, allocations: 34.72 kB / 390.2 MB, free: 7.562 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1544, allocations: 7.938 kB / 390.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003079/0.1547, allocations: 105.5 kB / 390.3 MB, free: 7.445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1548, allocations: 59.39 kB / 390.3 MB, free: 7.375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.1549, allocations: 102.2 kB / 390.4 MB, free: 7.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.155, allocations: 33.69 kB / 390.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.155, allocations: 95.98 kB / 390.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.1551, allocations: 31.55 kB / 390.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.1551, allocations: 0 / 390.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1553, allocations: 326.8 kB / 390.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.1553, allocations: 16 kB / 390.9 MB, free: 6.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.1554, allocations: 23.98 kB / 391 MB, free: 6.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.1554, allocations: 23.94 kB / 391 MB, free: 6.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1555, allocations: 0 / 391 MB, free: 6.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.1556, allocations: 89.59 kB / 391.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1557, allocations: 7.938 kB / 391.1 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1557, allocations: 0 / 391.1 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1557, allocations: 3.938 kB / 391.1 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1558, allocations: 27.98 kB / 391.1 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1558, allocations: 4.266 kB / 391.1 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.1559, allocations: 4 kB / 391.1 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1559, allocations: 4 kB / 391.1 MB, free: 6.562 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.156, allocations: 117.8 kB / 391.2 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1561, allocations: 7.906 kB / 391.2 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1561, allocations: 12.38 kB / 391.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1561, allocations: 0 / 391.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1561, allocations: 288 / 391.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1561, allocations: 11.95 kB / 391.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1564, allocations: 201.6 kB / 391.5 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1564, allocations: 7.938 kB / 391.5 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.1565, allocations: 19.92 kB / 391.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1566, allocations: 0 / 391.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1566, allocations: 0 / 391.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1566, allocations: 3.984 kB / 391.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1566, allocations: 0 / 391.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1569, allocations: 219.4 kB / 391.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1569, allocations: 85 kB / 391.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.157, allocations: 0 / 391.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.157, allocations: 8.031 kB / 391.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1571, allocations: 3.984 kB / 391.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1571, allocations: 4 kB / 391.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.1572, allocations: 83.28 kB / 391.9 MB, free: 5.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1572, allocations: 3.938 kB / 391.9 MB, free: 5.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1574, allocations: 15.94 kB / 391.9 MB, free: 5.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.1576, allocations: 111.2 kB / 392 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1577, allocations: 51.98 kB / 392.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1577, allocations: 0 / 392.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.1578, allocations: 35.92 kB / 392.1 MB, free: 5.469 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1582, allocations: 11.98 kB / 392.1 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1588, allocations: 272.7 kB / 392.4 MB, free: 5.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1593, allocations: 0.6965 MB / 393.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1593, allocations: 11.44 kB / 393.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1593, allocations: 0 / 393.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of Templates: time 0.004152/0.1635, allocations: 1.046 MB / 394.1 MB, free: 3.391 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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