Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 98.72 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.00172/0.00172, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.606/1.606, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4849/0.4849, allocations: 28.84 MB / 320.9 MB, free: 6.227 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 8 kB / 389.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4336, allocations: 57.48 MB / 446.6 MB, free: 32.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002573/0.4363, allocations: 1.991 MB / 448.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.4377, allocations: 0.6125 MB / 449.2 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.438, allocations: 9.531 kB / 449.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.4382, allocations: 28.53 kB / 449.3 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.4384, allocations: 20.47 kB / 449.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.4389, allocations: 109.8 kB / 449.4 MB, free: 30.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.4393, allocations: 251.8 kB / 449.6 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.4397, allocations: 171.9 kB / 449.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.4399, allocations: 69.94 kB / 449.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.44, allocations: 84.11 kB / 449.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.4401, allocations: 5.75 kB / 450 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4402, allocations: 32.53 kB / 450 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4403, allocations: 54.08 kB / 450 MB, free: 30.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4404, allocations: 149.5 kB / 450.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.4407, allocations: 206.3 kB / 450.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4407, allocations: 0 / 450.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4407, allocations: 0 / 450.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4407, allocations: 0 / 450.4 MB, free: 30.48 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00102/0.4417, allocations: 0.602 MB / 451 MB, free: 29.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4418, allocations: 12.12 kB / 451 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.4419, allocations: 40.59 kB / 451 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.4422, allocations: 286.2 kB / 451.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.4423, allocations: 22.59 kB / 451.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.4424, allocations: 37.59 kB / 451.4 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.443, allocations: 344.2 kB / 451.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.443, allocations: 3.938 kB / 451.7 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.443, allocations: 10.91 kB / 451.7 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4431, allocations: 11.88 kB / 451.7 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.4435, allocations: 253.5 kB / 452 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.4449, allocations: 1.171 MB / 453.2 MB, free: 28.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.4453, allocations: 221.1 kB / 453.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.4455, allocations: 112.7 kB / 453.5 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.4456, allocations: 14.7 kB / 453.5 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.4459, allocations: 159.5 kB / 453.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.4459, allocations: 0 / 453.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.000694/0.4466, allocations: 348.7 kB / 454 MB, free: 28.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.4467, allocations: 54.31 kB / 454 MB, free: 28.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.4469, allocations: 268.1 kB / 454.3 MB, free: 28.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.447, allocations: 35.86 kB / 454.3 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4471, allocations: 213 kB / 454.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.4471, allocations: 59 kB / 454.6 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.4472, allocations: 27.3 kB / 454.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.4473, allocations: 340.5 kB / 455 MB, free: 27.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.4475, allocations: 95.09 kB / 455.1 MB, free: 27.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.4477, allocations: 137.9 kB / 455.2 MB, free: 27.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.4481, allocations: 257.5 kB / 455.4 MB, free: 27.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.4481, allocations: 6.562 kB / 455.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005537/0.4487, allocations: 340.8 kB / 455.8 MB, free: 27.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4487, allocations: 36.72 kB / 455.8 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4488, allocations: 0 / 455.8 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4488, allocations: 2.625 kB / 455.8 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.449, allocations: 48.67 kB / 455.9 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.449, allocations: 128 / 455.9 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.4492, allocations: 35.62 kB / 455.9 MB, free: 26.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4492, allocations: 11.88 kB / 455.9 MB, free: 26.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001567/0.4494, allocations: 165.2 kB / 456.1 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.4494, allocations: 22.34 kB / 456.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.4499, allocations: 275.4 kB / 456.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4499, allocations: 0 / 456.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4499, allocations: 2.844 kB / 456.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.4499, allocations: 0 / 456.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.4508, allocations: 0.6749 MB / 457 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4508, allocations: 0 / 457 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.451, allocations: 36.97 kB / 457.1 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.451, allocations: 3.938 kB / 457.1 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.451, allocations: 2.875 kB / 457.1 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.451, allocations: 3.938 kB / 457.1 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.451, allocations: 3.938 kB / 457.1 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.4517, allocations: 476.8 kB / 457.6 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.4518, allocations: 108.8 kB / 457.7 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.4519, allocations: 2.438 kB / 457.7 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.452, allocations: 17.41 kB / 457.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.4521, allocations: 20.31 kB / 457.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4521, allocations: 6.109 kB / 457.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.4523, allocations: 189.5 kB / 457.9 MB, free: 25.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4523, allocations: 3.938 kB / 457.9 MB, free: 25.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.4526, allocations: 71.19 kB / 458 MB, free: 25.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001536/0.4528, allocations: 108.8 kB / 458.1 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.4533, allocations: 283.7 kB / 458.4 MB, free: 25.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4533, allocations: 0 / 458.4 MB, free: 25.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.4535, allocations: 113.9 kB / 458.5 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4539, allocations: 27.11 kB / 458.5 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.455, allocations: 0.7453 MB / 459.2 MB, free: 25.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.4553, allocations: 0.786 MB / 460 MB, free: 24.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.4554, allocations: 30.91 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4554, allocations: 0 / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006271/0.4617, allocations: 2.973 MB / 463 MB, free: 23.99 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.Hair_Lynx_InteractionCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_InteractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_InteractionCalcHelperMain.o] Error 1