Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 98.88 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.001248/0.001248, allocations: 185 kB / 16.92 MB, free: 6.684 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.606/1.606, allocations: 223.3 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.3749/0.3749, allocations: 28.84 MB / 320.9 MB, free: 6.141 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 4 kB / 389.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 57.48 MB / 446.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003081/0.3603, allocations: 3.174 MB / 449.8 MB, free: 30.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3617, allocations: 0.6604 MB / 450.4 MB, free: 30 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.362, allocations: 15.47 kB / 450.5 MB, free: 30 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3624, allocations: 124.4 kB / 450.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3626, allocations: 93.75 kB / 450.7 MB, free: 29.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.3632, allocations: 306.6 kB / 451 MB, free: 29.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.3638, allocations: 0.8063 MB / 451.8 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.3645, allocations: 0.5964 MB / 452.4 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.3647, allocations: 215.8 kB / 452.6 MB, free: 28.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.3649, allocations: 319.6 kB / 452.9 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.3649, allocations: 20.19 kB / 452.9 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3651, allocations: 41.62 kB / 453 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.3653, allocations: 342.2 kB / 453.3 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.3656, allocations: 0.5394 MB / 453.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.3662, allocations: 0.784 MB / 454.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3662, allocations: 0 / 454.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3662, allocations: 0 / 454.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3662, allocations: 0 / 454.6 MB, free: 27.91 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001511/0.3677, allocations: 1.514 MB / 456.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3678, allocations: 10.84 kB / 456.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3679, allocations: 195.5 kB / 456.3 MB, free: 26.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.3686, allocations: 0.745 MB / 457.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.3687, allocations: 84.44 kB / 457.2 MB, free: 26.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-05/0.3688, allocations: 103.8 kB / 457.3 MB, free: 26.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3701, allocations: 1.161 MB / 458.4 MB, free: 25.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3702, allocations: 4.125 kB / 458.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.3703, allocations: 46.44 kB / 458.5 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3703, allocations: 23.62 kB / 458.5 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3716, allocations: 1.093 MB / 459.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.3759, allocations: 3.679 MB / 463.3 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3775, allocations: 1.339 MB / 464.6 MB, free: 22.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.378, allocations: 481.5 kB / 465.1 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.3781, allocations: 20.25 kB / 465.1 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3782, allocations: 53.8 kB / 465.2 MB, free: 22.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.484e-06/0.3782, allocations: 0 / 465.2 MB, free: 22.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.001984/0.3802, allocations: 1.521 MB / 466.7 MB, free: 22.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3802, allocations: 58.31 kB / 466.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.3819, allocations: 1.286 MB / 468 MB, free: 21.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.382, allocations: 40.77 kB / 468.1 MB, free: 21.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.3825, allocations: 0.769 MB / 468.8 MB, free: 21.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.3827, allocations: 231.1 kB / 469 MB, free: 21.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.3828, allocations: 61.31 kB / 469.1 MB, free: 20.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.3829, allocations: 336.7 kB / 469.4 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.3835, allocations: 435.6 kB / 469.9 MB, free: 20.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.3841, allocations: 0.5265 MB / 470.4 MB, free: 20.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3854, allocations: 0.9896 MB / 471.4 MB, free: 20.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3854, allocations: 1.062 kB / 471.4 MB, free: 20.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001686/0.3871, allocations: 1.185 MB / 472.6 MB, free: 19.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3871, allocations: 6.891 kB / 472.6 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3871, allocations: 2.188 kB / 472.6 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3871, allocations: 9.375 kB / 472.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.3876, allocations: 132.9 kB / 472.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.3877, allocations: 6.625 kB / 472.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.388, allocations: 47.5 kB / 472.8 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.388, allocations: 27.7 kB / 472.8 MB, free: 19.59 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 (82): * Single equations (assignments): 82 * 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.0006979/0.3887, allocations: 384.2 kB / 473.2 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.389, allocations: 137.1 kB / 473.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.3909, allocations: 1.196 MB / 474.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3909, allocations: 6.688 kB / 474.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3909, allocations: 0 / 474.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3909, allocations: 8.797 kB / 474.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.3943, allocations: 2.365 MB / 476.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3943, allocations: 0 / 476.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.3948, allocations: 108.2 kB / 477 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3948, allocations: 2.781 kB / 477 MB, free: 18.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.3948, allocations: 14.81 kB / 477 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3949, allocations: 2.5 kB / 477 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3949, allocations: 0 / 477 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.3973, allocations: 1.88 MB / 478.9 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3974, allocations: 201.8 kB / 479.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.3975, allocations: 8.734 kB / 479.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3977, allocations: 16.66 kB / 479.1 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.3978, allocations: 42.94 kB / 479.1 MB, free: 17.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3979, allocations: 17.27 kB / 479.2 MB, free: 17.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.399, allocations: 0.8947 MB / 480.1 MB, free: 16.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.399, allocations: 8 kB / 480.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.3996, allocations: 207.4 kB / 480.3 MB, free: 16.09 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 (67): * Single equations (assignments): 67 * 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.0001752/0.3998, allocations: 120.4 kB / 480.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4009, allocations: 0.9815 MB / 481.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4009, allocations: 4.625 kB / 481.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.4014, allocations: 0.5064 MB / 481.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.4021, allocations: 92 kB / 482 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4059, allocations: 3.483 MB / 485.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.4069, allocations: 1.301 MB / 486.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4071, allocations: 58.67 kB / 486.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4071, allocations: 0 / 486.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01597/0.4231, allocations: 10.8 MB / 497.6 MB, free: 15.62 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.o] Error 1