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.0009917/0.0009919, allocations: 102.5 kB / 15.71 MB, free: 440 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.00149/0.00149, allocations: 173.4 kB / 16.58 MB, free: 6.074 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.588/1.588, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4139/0.4139, allocations: 28.83 MB / 320.5 MB, free: 6.273 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 8 kB / 388.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3708, allocations: 57.47 MB / 446 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001795/0.3727, allocations: 1.474 MB / 447.5 MB, free: 31.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00057/0.3733, allocations: 290.3 kB / 447.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3735, allocations: 5.812 kB / 447.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.3736, allocations: 46.94 kB / 447.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.224e-05/0.3737, allocations: 14.66 kB / 447.8 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.374, allocations: 102.8 kB / 447.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.3743, allocations: 322.9 kB / 448.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.3746, allocations: 221.2 kB / 448.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.3747, allocations: 77.47 kB / 448.5 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3748, allocations: 110.9 kB / 448.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3749, allocations: 8.625 kB / 448.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.3749, allocations: 8.656 kB / 448.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.375, allocations: 47.73 kB / 448.7 MB, free: 31.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.375, allocations: 76.48 kB / 448.8 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3752, allocations: 253.2 kB / 449 MB, free: 31.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3752, allocations: 7.938 kB / 449 MB, free: 31.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3752, allocations: 0 / 449 MB, free: 31.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3753, allocations: 0 / 449 MB, free: 31.01 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.0007057/0.376, allocations: 0.6065 MB / 449.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.376, allocations: 8.625 kB / 449.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.3761, allocations: 53.39 kB / 449.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.3764, allocations: 311.4 kB / 450 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3764, allocations: 30.12 kB / 450 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.3765, allocations: 47.69 kB / 450.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.377, allocations: 439.5 kB / 450.5 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3771, allocations: 3.938 kB / 450.5 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3771, allocations: 18.03 kB / 450.5 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3771, allocations: 11.41 kB / 450.5 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3774, allocations: 227.3 kB / 450.8 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3788, allocations: 1.669 MB / 452.4 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.3792, allocations: 175.3 kB / 452.6 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3793, allocations: 81.83 kB / 452.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3793, allocations: 2.781 kB / 452.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.3795, allocations: 118 kB / 452.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.3795, allocations: 0 / 452.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003831/0.3799, allocations: 222.8 kB / 453 MB, free: 28.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.38, allocations: 65.53 kB / 453.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3802, allocations: 257.3 kB / 453.3 MB, free: 28.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3802, allocations: 29.7 kB / 453.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3804, allocations: 239.9 kB / 453.6 MB, free: 27.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.3804, allocations: 79.56 kB / 453.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.3805, allocations: 6.375 kB / 453.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.3805, allocations: 338.2 kB / 454 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.3806, allocations: 57.19 kB / 454.1 MB, free: 27.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3808, allocations: 136.8 kB / 454.2 MB, free: 27.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3809, allocations: 79.69 kB / 454.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3809, allocations: 3.953 kB / 454.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003327/0.3812, allocations: 258.2 kB / 454.5 MB, free: 27.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3813, allocations: 5.438 kB / 454.5 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3813, allocations: 2.719 kB / 454.5 MB, free: 27.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3813, allocations: 7 kB / 454.5 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3815, allocations: 51.75 kB / 454.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3815, allocations: 9.234 kB / 454.6 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3817, allocations: 27.56 kB / 454.6 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3817, allocations: 11.81 kB / 454.6 MB, free: 27.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3818, allocations: 149.5 kB / 454.8 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3819, allocations: 36.12 kB / 454.8 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.3821, allocations: 195.5 kB / 455 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3822, allocations: 2.625 kB / 455 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3822, allocations: 4 kB / 455 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3822, allocations: 3.281 kB / 455 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.3828, allocations: 0.6314 MB / 455.7 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3828, allocations: 0 / 455.7 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3829, allocations: 36.19 kB / 455.7 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3829, allocations: 0 / 455.7 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.383, allocations: 7.062 kB / 455.7 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.383, allocations: 0 / 455.7 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.383, allocations: 4 kB / 455.7 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3834, allocations: 363.7 kB / 456.1 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.3834, allocations: 101 kB / 456.2 MB, free: 26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.3835, allocations: 4 kB / 456.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.3836, allocations: 6.688 kB / 456.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.3836, allocations: 12.53 kB / 456.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3836, allocations: 3 kB / 456.2 MB, free: 25.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3838, allocations: 177.2 kB / 456.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3838, allocations: 4 kB / 456.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.3841, allocations: 81.55 kB / 456.4 MB, free: 25.85 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 (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 9.173e-05/0.3842, allocations: 106.7 kB / 456.5 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3845, allocations: 169.9 kB / 456.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3845, allocations: 0 / 456.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.3846, allocations: 78.45 kB / 456.8 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3849, allocations: 44.23 kB / 456.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.3859, allocations: 0.7961 MB / 457.6 MB, free: 25.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3861, allocations: 0.8008 MB / 458.4 MB, free: 24.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.3862, allocations: 22.28 kB / 458.4 MB, free: 24.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3862, allocations: 2.375 kB / 458.4 MB, free: 24.37 MB / 350.1 MB Notification: Performance of Templates: time 0.005308/0.3915, allocations: 3.309 MB / 461.8 MB, free: 24.02 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.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.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