Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.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.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009154/0.009154, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.0012/0.0012, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.572/1.572, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4764/0.4764, allocations: 28.8 MB / 319.4 MB, free: 5.809 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 55.91 kB / 386.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5544, allocations: 56.41 MB / 443 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.00453/0.559, allocations: 1.973 MB / 445 MB, free: 38.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006905/0.5598, allocations: 301.8 kB / 445.3 MB, free: 38.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.56, allocations: 5.75 kB / 445.3 MB, free: 38.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.5603, allocations: 43.17 kB / 445.3 MB, free: 38.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.5604, allocations: 14.72 kB / 445.3 MB, free: 38.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.5608, allocations: 142.9 kB / 445.5 MB, free: 38.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.5612, allocations: 345.8 kB / 445.8 MB, free: 38.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.5617, allocations: 250.3 kB / 446 MB, free: 38.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.5618, allocations: 127.8 kB / 446.2 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.562, allocations: 158.5 kB / 446.3 MB, free: 38.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.5621, allocations: 23.22 kB / 446.3 MB, free: 38.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.5621, allocations: 22.34 kB / 446.4 MB, free: 38.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.5622, allocations: 75.38 kB / 446.4 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.5624, allocations: 174.3 kB / 446.6 MB, free: 38.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.5627, allocations: 265 kB / 446.9 MB, free: 38.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5627, allocations: 0 / 446.9 MB, free: 38.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5627, allocations: 0 / 446.9 MB, free: 38.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.5627, allocations: 0 / 446.9 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001063/0.5638, allocations: 0.6765 MB / 447.5 MB, free: 37.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.5638, allocations: 12.69 kB / 447.6 MB, free: 37.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.5639, allocations: 55.78 kB / 447.6 MB, free: 37.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.5644, allocations: 314.6 kB / 447.9 MB, free: 37.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.5644, allocations: 33.75 kB / 447.9 MB, free: 37.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.5645, allocations: 53.34 kB / 448 MB, free: 37.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.5652, allocations: 438.6 kB / 448.4 MB, free: 37.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5652, allocations: 3.094 kB / 448.4 MB, free: 37.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.5653, allocations: 20.06 kB / 448.5 MB, free: 37.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.5653, allocations: 14.28 kB / 448.5 MB, free: 37.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.5657, allocations: 229.9 kB / 448.7 MB, free: 37.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.5673, allocations: 1.677 MB / 450.4 MB, free: 36.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.5677, allocations: 173.6 kB / 450.5 MB, free: 35.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5679, allocations: 79.3 kB / 450.6 MB, free: 35.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5679, allocations: 3 kB / 450.6 MB, free: 35.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.5682, allocations: 122.9 kB / 450.7 MB, free: 35.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.5682, allocations: 3.938 kB / 450.7 MB, free: 35.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004501/0.5686, allocations: 225.8 kB / 451 MB, free: 35.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5687, allocations: 62.34 kB / 451 MB, free: 35.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.5689, allocations: 255.3 kB / 451.3 MB, free: 35.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.569, allocations: 32.45 kB / 451.3 MB, free: 35.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5691, allocations: 238.7 kB / 451.5 MB, free: 35.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.5692, allocations: 72.94 kB / 451.6 MB, free: 35.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.5692, allocations: 53.62 kB / 451.7 MB, free: 35.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5693, allocations: 335.1 kB / 452 MB, free: 34.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.5695, allocations: 63.02 kB / 452 MB, free: 34.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5696, allocations: 141.3 kB / 452.2 MB, free: 34.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.5699, allocations: 209.3 kB / 452.4 MB, free: 34.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5699, allocations: 0 / 452.4 MB, free: 34.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003538/0.5702, allocations: 265.8 kB / 452.6 MB, free: 34.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5703, allocations: 9.344 kB / 452.7 MB, free: 34.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5703, allocations: 0 / 452.7 MB, free: 34.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.5703, allocations: 10.03 kB / 452.7 MB, free: 34.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.5705, allocations: 42.25 kB / 452.7 MB, free: 34.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5705, allocations: 5.469 kB / 452.7 MB, free: 34.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.5706, allocations: 30.86 kB / 452.7 MB, free: 34.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.5706, allocations: 19.89 kB / 452.8 MB, free: 34.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,Immune.Integrator1.local_reset,Sick.Integrator1.local_reset,Infected.Integrator1.local_reset,Non_infected.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.00015/0.5708, allocations: 154.7 kB / 452.9 MB, free: 34.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.5708, allocations: 25.59 kB / 452.9 MB, free: 34.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.5711, allocations: 199.1 kB / 453.1 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5712, allocations: 2.969 kB / 453.1 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5712, allocations: 3.938 kB / 453.1 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5712, allocations: 3.938 kB / 453.1 MB, free: 34.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.5718, allocations: 0.6374 MB / 453.8 MB, free: 33.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5718, allocations: 4 kB / 453.8 MB, free: 33.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.5719, allocations: 36.2 kB / 453.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.572, allocations: 2.812 kB / 453.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.572, allocations: 4 kB / 453.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.572, allocations: 2.906 kB / 453.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.572, allocations: 0 / 453.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.5724, allocations: 367.8 kB / 454.2 MB, free: 33.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.5724, allocations: 109.7 kB / 454.3 MB, free: 33.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5724, allocations: 6.938 kB / 454.3 MB, free: 33.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5725, allocations: 4 kB / 454.3 MB, free: 33.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.5726, allocations: 16.5 kB / 454.3 MB, free: 33.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5726, allocations: 5.938 kB / 454.3 MB, free: 33.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5727, allocations: 177.4 kB / 454.5 MB, free: 33.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5727, allocations: 0 / 454.5 MB, free: 33.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.573, allocations: 76.62 kB / 454.6 MB, free: 33.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Non_infected.Integrator1.y,Infected.Integrator1.y,Sick.Integrator1.y,Immune.Integrator1.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 6.708e-05/0.5731, allocations: 108.6 kB / 454.7 MB, free: 33.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.5733, allocations: 162.6 kB / 454.8 MB, free: 33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5734, allocations: 0 / 454.8 MB, free: 33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.5735, allocations: 79.52 kB / 454.9 MB, free: 32.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5738, allocations: 42.81 kB / 455 MB, free: 32.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.5746, allocations: 0.8193 MB / 455.8 MB, free: 32.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.5748, allocations: 0.7996 MB / 456.6 MB, free: 31.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.5749, allocations: 21.59 kB / 456.6 MB, free: 31.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5749, allocations: 0 / 456.6 MB, free: 31.66 MB / 366.1 MB Notification: Performance of Templates: time 0.00519/0.5801, allocations: 3.362 MB / 460 MB, free: 31.27 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.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.Influenza.FluCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.FluCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.FluCalcHelperMain.o] Error 1