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.0008586/0.0008581, allocations: 100.8 kB / 15.71 MB, free: 456 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.0008902/0.0008902, allocations: 176 kB / 16.58 MB, free: 6.402 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.563/1.563, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4785/0.4785, allocations: 28.84 MB / 320.5 MB, free: 6.305 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 8 kB / 388.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3782, allocations: 57.47 MB / 446 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002082/0.3804, allocations: 1.924 MB / 447.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.3813, allocations: 0.5908 MB / 448.5 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3815, allocations: 2.75 kB / 448.5 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3816, allocations: 31.33 kB / 448.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.3817, allocations: 25.42 kB / 448.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.3821, allocations: 83.69 kB / 448.6 MB, free: 31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3823, allocations: 239 kB / 448.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3825, allocations: 149.8 kB / 449 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.3826, allocations: 64.47 kB / 449.1 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.3827, allocations: 79.59 kB / 449.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3827, allocations: 8.812 kB / 449.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.3828, allocations: 28.08 kB / 449.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3829, allocations: 61.91 kB / 449.2 MB, free: 30.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.3829, allocations: 65.02 kB / 449.3 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.3832, allocations: 210.6 kB / 449.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3832, allocations: 0 / 449.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3832, allocations: 2.75 kB / 449.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3832, allocations: 0 / 449.5 MB, free: 30.61 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.0007714/0.384, allocations: 0.6011 MB / 450.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.384, allocations: 9.031 kB / 450.1 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.3841, allocations: 39.78 kB / 450.2 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3844, allocations: 273.9 kB / 450.4 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3844, allocations: 38.53 kB / 450.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.3845, allocations: 28.53 kB / 450.5 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.385, allocations: 346 kB / 450.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.385, allocations: 3.125 kB / 450.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.385, allocations: 18.77 kB / 450.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.385, allocations: 5.906 kB / 450.9 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.3855, allocations: 241.2 kB / 451.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3866, allocations: 1.17 MB / 452.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.387, allocations: 227.3 kB / 452.5 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.3872, allocations: 103.5 kB / 452.6 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.3872, allocations: 22.86 kB / 452.6 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.3875, allocations: 166.4 kB / 452.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.3875, allocations: 0 / 452.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006066/0.3882, allocations: 335.5 kB / 453.1 MB, free: 28.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3882, allocations: 53.94 kB / 453.2 MB, free: 28.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3884, allocations: 266.8 kB / 453.4 MB, free: 28.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3885, allocations: 31.58 kB / 453.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3886, allocations: 221.5 kB / 453.7 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3886, allocations: 58.02 kB / 453.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.3886, allocations: 10.72 kB / 453.7 MB, free: 27.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.3887, allocations: 335 kB / 454.1 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3889, allocations: 94.39 kB / 454.2 MB, free: 27.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3891, allocations: 143.2 kB / 454.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3893, allocations: 124.4 kB / 454.4 MB, free: 27.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3893, allocations: 0 / 454.4 MB, free: 27.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004767/0.3898, allocations: 339.2 kB / 454.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.3899, allocations: 34.97 kB / 454.8 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3899, allocations: 6.312 kB / 454.8 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3899, allocations: 2.188 kB / 454.8 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3901, allocations: 51.06 kB / 454.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3901, allocations: 2.656 kB / 454.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3902, allocations: 32.75 kB / 454.9 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3903, allocations: 5.031 kB / 454.9 MB, free: 27.21 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 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.3904, allocations: 166.9 kB / 455 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3904, allocations: 22.56 kB / 455.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.3909, allocations: 272.3 kB / 455.3 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3909, allocations: 6.953 kB / 455.3 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3909, allocations: 0 / 455.3 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3909, allocations: 3.281 kB / 455.3 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.3916, allocations: 0.6693 MB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3916, allocations: 0 / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3917, allocations: 32.58 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3918, allocations: 2.188 kB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3918, allocations: 6.062 kB / 456 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3918, allocations: 4 kB / 456 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3918, allocations: 0 / 456 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.3924, allocations: 482 kB / 456.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.3925, allocations: 104.6 kB / 456.6 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3925, allocations: 4 kB / 456.6 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3926, allocations: 15.81 kB / 456.6 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.3927, allocations: 14.77 kB / 456.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3927, allocations: 16.55 kB / 456.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3929, allocations: 186.7 kB / 456.9 MB, free: 26.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3929, allocations: 4.062 kB / 456.9 MB, free: 26.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.3932, allocations: 65.12 kB / 456.9 MB, free: 26.01 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 (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.0001223/0.3933, allocations: 106.9 kB / 457 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.3937, allocations: 287.7 kB / 457.3 MB, free: 25.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3937, allocations: 3.938 kB / 457.3 MB, free: 25.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.3939, allocations: 105.6 kB / 457.4 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3943, allocations: 32.62 kB / 457.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.3952, allocations: 0.7152 MB / 458.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3954, allocations: 0.7868 MB / 458.9 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.3955, allocations: 17.94 kB / 459 MB, free: 24.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3955, allocations: 0 / 459 MB, free: 24.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005155/0.4006, allocations: 2.981 MB / 461.9 MB, free: 24.26 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++ 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 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