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.008618/0.008618, allocations: 100.2 kB / 15.87 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.0014/0.0014, allocations: 191.9 kB / 16.78 MB, free: 5.809 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.603/1.603, allocations: 222.9 MB / 240.4 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4795/0.4795, allocations: 28.8 MB / 319.4 MB, free: 5.891 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.91 kB / 386.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5283, allocations: 56.41 MB / 443 MB, free: 39.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003222/0.5316, allocations: 2.371 MB / 445.4 MB, free: 38.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.5326, allocations: 0.6222 MB / 446 MB, free: 38.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.5328, allocations: 5.844 kB / 446 MB, free: 38.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.533, allocations: 28.58 kB / 446 MB, free: 38.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.5331, allocations: 21.09 kB / 446 MB, free: 38.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.5334, allocations: 109.5 kB / 446.1 MB, free: 38.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.5336, allocations: 250.7 kB / 446.4 MB, free: 38.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.5338, allocations: 178.3 kB / 446.6 MB, free: 38.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.5339, allocations: 97.45 kB / 446.6 MB, free: 38.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.534, allocations: 119.4 kB / 446.8 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.5341, allocations: 14.12 kB / 446.8 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.5342, allocations: 39.25 kB / 446.8 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.5342, allocations: 74.77 kB / 446.9 MB, free: 38.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.5343, allocations: 140.5 kB / 447 MB, free: 38.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.5345, allocations: 218.4 kB / 447.2 MB, free: 38.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5345, allocations: 0 / 447.2 MB, free: 38.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.5345, allocations: 0 / 447.2 MB, free: 38.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.5345, allocations: 0 / 447.2 MB, free: 38.09 MB / 366.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.0007539/0.5353, allocations: 0.6604 MB / 447.9 MB, free: 37.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5353, allocations: 8.688 kB / 447.9 MB, free: 37.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.5354, allocations: 46.84 kB / 448 MB, free: 37.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.5356, allocations: 282 kB / 448.2 MB, free: 37.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5357, allocations: 25.31 kB / 448.3 MB, free: 37.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.5357, allocations: 34.31 kB / 448.3 MB, free: 37.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.5362, allocations: 347.3 kB / 448.6 MB, free: 37.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5362, allocations: 0 / 448.6 MB, free: 37.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.5362, allocations: 16.3 kB / 448.6 MB, free: 37.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.5362, allocations: 8.719 kB / 448.7 MB, free: 37.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.5368, allocations: 233.3 kB / 448.9 MB, free: 37.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.5385, allocations: 1.158 MB / 450 MB, free: 36.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.539, allocations: 227.6 kB / 450.3 MB, free: 36.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.5392, allocations: 106.1 kB / 450.4 MB, free: 36.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.5393, allocations: 14.16 kB / 450.4 MB, free: 36.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.5397, allocations: 147.3 kB / 450.5 MB, free: 36.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.5397, allocations: 0 / 450.5 MB, free: 36.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007472/0.5405, allocations: 330.5 kB / 450.8 MB, free: 36.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.5405, allocations: 61 kB / 450.9 MB, free: 36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.5408, allocations: 266.7 kB / 451.2 MB, free: 35.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5408, allocations: 32.55 kB / 451.2 MB, free: 35.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.541, allocations: 208.4 kB / 451.4 MB, free: 35.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.541, allocations: 58.59 kB / 451.5 MB, free: 35.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.5411, allocations: 49.42 kB / 451.5 MB, free: 35.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5412, allocations: 338.2 kB / 451.8 MB, free: 35.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.5414, allocations: 96 kB / 451.9 MB, free: 35.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.5417, allocations: 125.7 kB / 452.1 MB, free: 35.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.5421, allocations: 253.4 kB / 452.3 MB, free: 35.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5421, allocations: 6.625 kB / 452.3 MB, free: 35.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005255/0.5426, allocations: 320.8 kB / 452.6 MB, free: 34.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.5427, allocations: 34.81 kB / 452.7 MB, free: 34.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5427, allocations: 128 / 452.7 MB, free: 34.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5427, allocations: 6.812 kB / 452.7 MB, free: 34.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5429, allocations: 45.73 kB / 452.7 MB, free: 34.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.5429, allocations: 2.406 kB / 452.7 MB, free: 34.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.5431, allocations: 31 kB / 452.7 MB, free: 34.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.5431, allocations: 8.406 kB / 452.7 MB, free: 34.8 MB / 366.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.0001529/0.5433, allocations: 164.3 kB / 452.9 MB, free: 34.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.5433, allocations: 28.78 kB / 452.9 MB, free: 34.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.5438, allocations: 259 kB / 453.2 MB, free: 34.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5438, allocations: 6.812 kB / 453.2 MB, free: 34.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5439, allocations: 0 / 453.2 MB, free: 34.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5439, allocations: 0 / 453.2 MB, free: 34.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.5446, allocations: 0.6595 MB / 453.9 MB, free: 34.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5447, allocations: 0 / 453.9 MB, free: 34.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.5448, allocations: 41.16 kB / 453.9 MB, free: 34.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5448, allocations: 0 / 453.9 MB, free: 34.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5449, allocations: 6.562 kB / 453.9 MB, free: 34.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5449, allocations: 0 / 453.9 MB, free: 34.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5449, allocations: 6.719 kB / 453.9 MB, free: 34.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.5456, allocations: 456.8 kB / 454.4 MB, free: 33.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.5457, allocations: 102.3 kB / 454.5 MB, free: 33.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.5457, allocations: 2.375 kB / 454.5 MB, free: 33.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.5459, allocations: 16.2 kB / 454.5 MB, free: 33.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.546, allocations: 22.59 kB / 454.5 MB, free: 33.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.546, allocations: 12.86 kB / 454.5 MB, free: 33.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.5462, allocations: 188.4 kB / 454.7 MB, free: 33.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5462, allocations: 0 / 454.7 MB, free: 33.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.5465, allocations: 69.16 kB / 454.8 MB, free: 33.61 MB / 366.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.0001704/0.5467, allocations: 107.6 kB / 454.9 MB, free: 33.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005425/0.5472, allocations: 270.2 kB / 455.1 MB, free: 33.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5472, allocations: 0 / 455.1 MB, free: 33.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.5474, allocations: 107.1 kB / 455.2 MB, free: 33.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.5478, allocations: 30.09 kB / 455.3 MB, free: 33.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5489, allocations: 0.7447 MB / 456 MB, free: 32.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5493, allocations: 0.795 MB / 456.8 MB, free: 32.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.5493, allocations: 22.41 kB / 456.8 MB, free: 32.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.8e-07/0.5494, allocations: 0 / 456.8 MB, free: 32.12 MB / 366.1 MB Notification: Performance of Templates: time 0.005202/0.5546, allocations: 3.008 MB / 459.8 MB, free: 31.78 MB / 366.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