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.001091/0.001091, allocations: 98.88 kB / 16.02 MB, free: 72 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.00201/0.00201, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.577/1.577, allocations: 223.2 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.4602/0.4602, allocations: 28.84 MB / 320.9 MB, free: 6.234 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004608, allocations: 12 kB / 389.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3945, allocations: 57.48 MB / 446.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001925/0.3965, allocations: 1.581 MB / 448.2 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005838/0.3971, allocations: 305.1 kB / 448.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.3972, allocations: 3.188 kB / 448.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3974, allocations: 43.94 kB / 448.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.3975, allocations: 22.22 kB / 448.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3978, allocations: 132.9 kB / 448.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.3981, allocations: 343.6 kB / 449 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.3984, allocations: 255.7 kB / 449.3 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.3984, allocations: 81.38 kB / 449.4 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3986, allocations: 108.5 kB / 449.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.3986, allocations: 8.156 kB / 449.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.3986, allocations: 10.5 kB / 449.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.3987, allocations: 51.41 kB / 449.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3988, allocations: 168.8 kB / 449.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.399, allocations: 254.9 kB / 449.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.399, allocations: 0 / 449.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.399, allocations: 0 / 449.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3991, allocations: 0 / 449.9 MB, free: 30.74 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00071/0.3998, allocations: 0.5966 MB / 450.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3998, allocations: 11.62 kB / 450.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.3999, allocations: 51.41 kB / 450.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4002, allocations: 311.1 kB / 450.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.4002, allocations: 37.91 kB / 450.9 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.4003, allocations: 45.72 kB / 451 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.4009, allocations: 440.2 kB / 451.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4009, allocations: 192 / 451.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.4009, allocations: 25.78 kB / 451.4 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.401, allocations: 15.75 kB / 451.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.4013, allocations: 225.1 kB / 451.7 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4028, allocations: 1.676 MB / 453.4 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4032, allocations: 175.7 kB / 453.5 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4033, allocations: 84.89 kB / 453.6 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4034, allocations: 2.594 kB / 453.6 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4036, allocations: 115.1 kB / 453.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/0.4036, allocations: 10.53 kB / 453.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004104/0.404, allocations: 233.8 kB / 454 MB, free: 27.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4041, allocations: 58.09 kB / 454 MB, free: 27.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4043, allocations: 254 kB / 454.3 MB, free: 27.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4043, allocations: 33.08 kB / 454.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.4045, allocations: 240.2 kB / 454.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.4045, allocations: 76.62 kB / 454.6 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.4046, allocations: 33.48 kB / 454.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4047, allocations: 341.7 kB / 455 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4048, allocations: 56.52 kB / 455 MB, free: 27.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4049, allocations: 137.6 kB / 455.2 MB, free: 26.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4052, allocations: 209.3 kB / 455.4 MB, free: 26.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4052, allocations: 4 kB / 455.4 MB, free: 26.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003586/0.4056, allocations: 263.7 kB / 455.6 MB, free: 26.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4056, allocations: 5 kB / 455.6 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4056, allocations: 2.688 kB / 455.6 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4056, allocations: 5.344 kB / 455.6 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4058, allocations: 47.12 kB / 455.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4058, allocations: 7 kB / 455.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.4059, allocations: 31.22 kB / 455.7 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.406, allocations: 7.844 kB / 455.7 MB, free: 26.63 MB / 350.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.0001237/0.4061, allocations: 160 kB / 455.9 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4061, allocations: 22.22 kB / 455.9 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.4064, allocations: 202.5 kB / 456.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4064, allocations: 6.625 kB / 456.1 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4064, allocations: 0 / 456.1 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4065, allocations: 0 / 456.1 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.407, allocations: 0.6394 MB / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.407, allocations: 0 / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.4072, allocations: 29.2 kB / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4072, allocations: 3.984 kB / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4073, allocations: 6.625 kB / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4073, allocations: 0 / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4073, allocations: 5.766 kB / 456.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.4077, allocations: 367.8 kB / 457.2 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.4077, allocations: 101.4 kB / 457.3 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4078, allocations: 6.625 kB / 457.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4079, allocations: 2.625 kB / 457.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4079, allocations: 15.81 kB / 457.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4079, allocations: 5.25 kB / 457.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4081, allocations: 175.9 kB / 457.5 MB, free: 25.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4081, allocations: 3.938 kB / 457.5 MB, free: 25.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00032/0.4084, allocations: 78.88 kB / 457.5 MB, free: 25.41 MB / 350.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 0.0001097/0.4085, allocations: 110.4 kB / 457.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.4088, allocations: 163.2 kB / 457.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4088, allocations: 3.938 kB / 457.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.409, allocations: 75.62 kB / 457.9 MB, free: 25.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.4094, allocations: 44.2 kB / 457.9 MB, free: 25.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4104, allocations: 0.8368 MB / 458.8 MB, free: 24.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4107, allocations: 0.7957 MB / 459.6 MB, free: 23.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.4108, allocations: 23.47 kB / 459.6 MB, free: 23.91 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4108, allocations: 4 kB / 459.6 MB, free: 23.9 MB / 350.1 MB Notification: Performance of Templates: time 0.0055/0.4163, allocations: 3.309 MB / 462.9 MB, free: 23.56 MB / 350.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