Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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) Running command: translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.62 kB / 16.02 MB, free: 80 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.001329/0.001329, allocations: 175 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.2 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4566/0.4566, allocations: 28.84 MB / 320.9 MB, free: 6.109 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8 kB / 389.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4174, allocations: 57.49 MB / 446.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002194/0.4197, allocations: 1.724 MB / 448.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005833/0.4203, allocations: 297.2 kB / 448.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.4205, allocations: 5.656 kB / 448.6 MB, free: 31.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.4207, allocations: 46.92 kB / 448.7 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.4208, allocations: 18.72 kB / 448.7 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.4211, allocations: 131.3 kB / 448.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.4214, allocations: 377.6 kB / 449.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.4219, allocations: 324.2 kB / 449.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.422, allocations: 84.55 kB / 449.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4221, allocations: 118.2 kB / 449.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.4221, allocations: 8.75 kB / 449.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.4222, allocations: 16.88 kB / 449.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.4222, allocations: 48.84 kB / 449.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.4223, allocations: 180.2 kB / 450 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4226, allocations: 273.5 kB / 450.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4226, allocations: 0 / 450.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4226, allocations: 0 / 450.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4226, allocations: 0 / 450.2 MB, free: 30.5 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0007712/0.4234, allocations: 0.6257 MB / 450.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4235, allocations: 14.56 kB / 450.9 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.158e-05/0.4236, allocations: 53.75 kB / 450.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4239, allocations: 330.5 kB / 451.2 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.424, allocations: 40.94 kB / 451.3 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.424, allocations: 50.75 kB / 451.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.4247, allocations: 496.3 kB / 451.8 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4247, allocations: 192 / 451.8 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.4247, allocations: 26.44 kB / 451.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4248, allocations: 12.06 kB / 451.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.4252, allocations: 279.3 kB / 452.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.4269, allocations: 1.638 MB / 453.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.4273, allocations: 191.9 kB / 454 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4274, allocations: 80.53 kB / 454 MB, free: 27.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.4274, allocations: 6.656 kB / 454 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.4274, allocations: 40.69 kB / 454.1 MB, free: 27.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.4274, allocations: 0 / 454.1 MB, free: 27.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004238/0.4279, allocations: 245 kB / 454.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4279, allocations: 55.34 kB / 454.4 MB, free: 27.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.4281, allocations: 262.6 kB / 454.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4282, allocations: 33.64 kB / 454.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4283, allocations: 259.9 kB / 454.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.4284, allocations: 75.67 kB / 455 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.4284, allocations: 28.73 kB / 455 MB, free: 27.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.4285, allocations: 338.9 kB / 455.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/0.4286, allocations: 60.53 kB / 455.4 MB, free: 26.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.4287, allocations: 117 kB / 455.5 MB, free: 26.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.429, allocations: 197.6 kB / 455.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.429, allocations: 0 / 455.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003055/0.4293, allocations: 244.1 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4293, allocations: 5.531 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4293, allocations: 2.5 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4294, allocations: 2.969 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4295, allocations: 52.56 kB / 456 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.4296, allocations: 3 kB / 456 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.4296, allocations: 29.59 kB / 456.1 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.4297, allocations: 5.969 kB / 456.1 MB, free: 26.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001333/0.4298, allocations: 151.8 kB / 456.2 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4299, allocations: 31.03 kB / 456.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.4299, allocations: 34.11 kB / 456.3 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4299, allocations: 0 / 456.3 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4299, allocations: 3.938 kB / 456.3 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.43, allocations: 9.875 kB / 456.3 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.4307, allocations: 0.6709 MB / 457 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4307, allocations: 0 / 457 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.4308, allocations: 29.81 kB / 457 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4309, allocations: 4 kB / 457 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4309, allocations: 6.406 kB / 457 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4309, allocations: 3.938 kB / 457 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4309, allocations: 3.938 kB / 457 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.4313, allocations: 362.5 kB / 457.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.4314, allocations: 101.7 kB / 457.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.4314, allocations: 6.625 kB / 457.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.4315, allocations: 7.938 kB / 457.5 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.4315, allocations: 12.84 kB / 457.5 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4316, allocations: 5.125 kB / 457.5 MB, free: 25.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.4317, allocations: 192.2 kB / 457.7 MB, free: 25.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4317, allocations: 0 / 457.7 MB, free: 25.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.432, allocations: 82.72 kB / 457.8 MB, free: 25.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * 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 (20): * Single equations (assignments): 20 * 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.169e-05/0.4321, allocations: 96.31 kB / 457.8 MB, free: 25.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.4324, allocations: 168.1 kB / 458 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4324, allocations: 0 / 458 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4325, allocations: 89.73 kB / 458.1 MB, free: 25.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4329, allocations: 33.16 kB / 458.1 MB, free: 25.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.4338, allocations: 0.8819 MB / 459 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4341, allocations: 0.8072 MB / 459.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.4342, allocations: 20.56 kB / 459.8 MB, free: 23.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4342, allocations: 0 / 459.8 MB, free: 23.78 MB / 350.1 MB Notification: Performance of Templates: time 0.006054/0.4403, allocations: 3.351 MB / 463.2 MB, free: 23.43 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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 OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.GilpinCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.GilpinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.GilpinCalcHelperMain.o] Error 1