Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.5 kB / 16.02 MB, free: 76 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.001522/0.001523, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.511/1.511, allocations: 223.2 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4827/0.4827, allocations: 28.83 MB / 320.9 MB, free: 6.195 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 8 kB / 389.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 57.48 MB / 446.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003729/0.3586, allocations: 3.177 MB / 449.8 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3601, allocations: 0.6565 MB / 450.4 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.3604, allocations: 18.88 kB / 450.5 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.3608, allocations: 125 kB / 450.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3611, allocations: 94.62 kB / 450.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.3618, allocations: 303.2 kB / 451 MB, free: 29.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.3626, allocations: 0.8149 MB / 451.8 MB, free: 29.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.3634, allocations: 0.5926 MB / 452.4 MB, free: 28.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3636, allocations: 213 kB / 452.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3639, allocations: 314.8 kB / 452.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.364, allocations: 20.62 kB / 452.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3641, allocations: 44.77 kB / 453 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.3644, allocations: 353.8 kB / 453.3 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3648, allocations: 0.5317 MB / 453.8 MB, free: 28.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.3655, allocations: 0.7923 MB / 454.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3655, allocations: 0 / 454.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3655, allocations: 0 / 454.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.3656, allocations: 0 / 454.6 MB, free: 27.86 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001806/0.3674, allocations: 1.517 MB / 456.2 MB, free: 26.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3674, allocations: 7.875 kB / 456.2 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.3677, allocations: 202.3 kB / 456.4 MB, free: 26.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.3684, allocations: 0.7472 MB / 457.1 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.3685, allocations: 80.39 kB / 457.2 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3686, allocations: 105.2 kB / 457.3 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.3702, allocations: 1.163 MB / 458.4 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3703, allocations: 6.828 kB / 458.5 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.3704, allocations: 47.97 kB / 458.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.3704, allocations: 27.91 kB / 458.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.3719, allocations: 1.1 MB / 459.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.3773, allocations: 3.682 MB / 463.3 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.3793, allocations: 1.339 MB / 464.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.3799, allocations: 486.5 kB / 465.1 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.38, allocations: 26.77 kB / 465.2 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3801, allocations: 38 kB / 465.2 MB, free: 22.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.815e-06/0.3801, allocations: 1.438 kB / 465.2 MB, free: 22.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002474/0.3825, allocations: 1.525 MB / 466.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3826, allocations: 62.72 kB / 466.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.3849, allocations: 1.283 MB / 468.1 MB, free: 21.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3849, allocations: 40.39 kB / 468.1 MB, free: 21.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007414/0.3857, allocations: 0.7677 MB / 468.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3859, allocations: 231.7 kB / 469.1 MB, free: 20.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.386, allocations: 58.78 kB / 469.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3861, allocations: 336.8 kB / 469.5 MB, free: 20.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007422/0.3869, allocations: 442.2 kB / 469.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.3876, allocations: 0.5304 MB / 470.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3893, allocations: 1.006 MB / 471.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3893, allocations: 1.156 kB / 471.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002108/0.3914, allocations: 1.192 MB / 472.6 MB, free: 19.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3914, allocations: 5.562 kB / 472.6 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3914, allocations: 7.875 kB / 472.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.3915, allocations: 6.156 kB / 472.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.392, allocations: 134.3 kB / 472.8 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.392, allocations: 6.234 kB / 472.8 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.3924, allocations: 56.66 kB / 472.9 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.3924, allocations: 25.27 kB / 472.9 MB, free: 19.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0006853/0.3931, allocations: 374.2 kB / 473.2 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.3933, allocations: 141.4 kB / 473.4 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.3953, allocations: 1.206 MB / 474.6 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3953, allocations: 7.328 kB / 474.6 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3953, allocations: 0 / 474.6 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3954, allocations: 4.438 kB / 474.6 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.399, allocations: 2.372 MB / 477 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.399, allocations: 0 / 477 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.3996, allocations: 110.7 kB / 477.1 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.3996, allocations: 6.188 kB / 477.1 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.3996, allocations: 14.66 kB / 477.1 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3997, allocations: 6.781 kB / 477.1 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3997, allocations: 9 kB / 477.1 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.4024, allocations: 1.888 MB / 479 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.4026, allocations: 205.4 kB / 479.2 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.4027, allocations: 12.86 kB / 479.2 MB, free: 16.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.403, allocations: 8.703 kB / 479.2 MB, free: 16.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4031, allocations: 47.41 kB / 479.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.4031, allocations: 21.36 kB / 479.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.4046, allocations: 0.8903 MB / 480.2 MB, free: 16.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 4 kB / 480.2 MB, free: 16.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.4053, allocations: 207 kB / 480.4 MB, free: 15.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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.0002462/0.4056, allocations: 113 kB / 480.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.4071, allocations: 0.9913 MB / 481.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4071, allocations: 0.625 kB / 481.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.4077, allocations: 0.5154 MB / 482 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.4085, allocations: 90.81 kB / 482.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.4139, allocations: 3.479 MB / 485.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.4153, allocations: 1.305 MB / 486.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4156, allocations: 54.34 kB / 486.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.435e-06/0.4156, allocations: 0 / 486.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01616/0.4318, allocations: 10.83 MB / 497.8 MB, free: 15.49 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.WorldDynamics.World2.Scenario_3CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3CalcHelperMain.o] Error 1