Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 91.92 kB / 16.02 MB, free: 80 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.001735/0.001735, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.562/1.562, allocations: 223.2 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4037/0.4037, allocations: 28.84 MB / 320.9 MB, free: 6.133 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 389.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 57.48 MB / 446.6 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.004035/0.3644, allocations: 2.807 MB / 449.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3662, allocations: 0.5263 MB / 449.9 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.3665, allocations: 8.656 kB / 450 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3667, allocations: 108.6 kB / 450.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.367, allocations: 87.64 kB / 450.1 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.3675, allocations: 234.8 kB / 450.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.3681, allocations: 0.6993 MB / 451.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.3687, allocations: 445.7 kB / 451.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3689, allocations: 214.2 kB / 451.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.3692, allocations: 319.1 kB / 452 MB, free: 29.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.3693, allocations: 22.28 kB / 452 MB, free: 29.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3694, allocations: 53.3 kB / 452.1 MB, free: 29.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3697, allocations: 362.5 kB / 452.5 MB, free: 29.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.3701, allocations: 0.5237 MB / 453 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.3707, allocations: 0.715 MB / 453.7 MB, free: 28.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3707, allocations: 2.156 kB / 453.7 MB, free: 28.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3707, allocations: 0 / 453.7 MB, free: 28.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3707, allocations: 0 / 453.7 MB, free: 28.46 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001605/0.3723, allocations: 1.467 MB / 455.2 MB, free: 27.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3724, allocations: 12.16 kB / 455.2 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3726, allocations: 189.3 kB / 455.4 MB, free: 27.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.373, allocations: 0.5702 MB / 455.9 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.373, allocations: 75.12 kB / 456 MB, free: 26.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3732, allocations: 102.4 kB / 456.1 MB, free: 26.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3747, allocations: 1.087 MB / 457.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3747, allocations: 192 / 457.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.3748, allocations: 43.81 kB / 457.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.3749, allocations: 56.23 kB / 457.3 MB, free: 26.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.3764, allocations: 1.229 MB / 458.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.381, allocations: 2.88 MB / 461.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3825, allocations: 1.012 MB / 462.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.3833, allocations: 0.5163 MB / 462.9 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.3833, allocations: 30.27 kB / 463 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3834, allocations: 43.19 kB / 463 MB, free: 24.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.3834, allocations: 0 / 463 MB, free: 24.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002676/0.3861, allocations: 1.626 MB / 464.6 MB, free: 24.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3861, allocations: 59.34 kB / 464.7 MB, free: 24.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.3877, allocations: 1.258 MB / 465.9 MB, free: 23.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3877, allocations: 36.23 kB / 466 MB, free: 23.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.3883, allocations: 0.7731 MB / 466.7 MB, free: 22.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.3884, allocations: 228.8 kB / 467 MB, free: 22.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.3885, allocations: 66.59 kB / 467 MB, free: 22.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.3886, allocations: 334.6 kB / 467.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.3894, allocations: 495.5 kB / 467.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/0.3902, allocations: 0.6683 MB / 468.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.3946, allocations: 2.169 MB / 470.7 MB, free: 21.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3946, allocations: 0 / 470.7 MB, free: 21.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002226/0.3968, allocations: 1.362 MB / 472 MB, free: 20.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3969, allocations: 11.78 kB / 472.1 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3969, allocations: 5.438 kB / 472.1 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3969, allocations: 14.8 kB / 472.1 MB, free: 20.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.3975, allocations: 188.2 kB / 472.3 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.3976, allocations: 15.08 kB / 472.3 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.398, allocations: 93 kB / 472.4 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.3981, allocations: 35.23 kB / 472.4 MB, free: 20.82 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 variables: years:VARIABLE(start = 1900.0 fixed = true ) "Time in calendar years" type: Real Population.level:VARIABLE(start = Population.x0 fixed = true ) "Reversible state variable" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 fixed = true ) "Reversible state variable" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 fixed = true ) "Reversible state variable" type: Real Pollution.level:VARIABLE(start = Pollution.x0 fixed = true ) "Reversible state variable" type: Real CIAF.level:VARIABLE(start = CIAF.x0 fixed = true ) "Reversible state variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0007967/0.3989, allocations: 400.4 kB / 472.8 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3991, allocations: 135.5 kB / 472.9 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4011, allocations: 1.276 MB / 474.2 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4011, allocations: 7.531 kB / 474.2 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4012, allocations: 4 kB / 474.2 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4012, allocations: 2.953 kB / 474.2 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.4046, allocations: 2.398 MB / 476.6 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4046, allocations: 0 / 476.6 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.4052, allocations: 137 kB / 476.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.4052, allocations: 2.219 kB / 476.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.4052, allocations: 15.47 kB / 476.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4052, allocations: 2.438 kB / 476.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4052, allocations: 1.094 kB / 476.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.4075, allocations: 1.975 MB / 478.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4076, allocations: 201.3 kB / 478.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.4077, allocations: 12.61 kB / 479 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.408, allocations: 33.48 kB / 479 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4081, allocations: 41.95 kB / 479 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.4081, allocations: 29.48 kB / 479.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.4092, allocations: 0.8671 MB / 479.9 MB, free: 16.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4092, allocations: 0 / 479.9 MB, free: 16.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006354/0.4098, allocations: 215.6 kB / 480.1 MB, free: 16.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (years,Population.level,Natural_Resources.level,Capital_Investment.level,Pollution.level,CIAF.level) * 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 (66): * Single equations (assignments): 66 * 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.0001717/0.41, allocations: 120.5 kB / 480.2 MB, free: 16.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4115, allocations: 1.119 MB / 481.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4115, allocations: 0 / 481.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.4121, allocations: 0.5555 MB / 481.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4126, allocations: 69.78 kB / 482 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.4163, allocations: 3.457 MB / 485.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.4172, allocations: 1.295 MB / 486.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.4174, allocations: 63.42 kB / 486.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4174, allocations: 0 / 486.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Templates: time 0.01354/0.431, allocations: 10.61 MB / 497.4 MB, free: 15.75 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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_5CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5CalcHelperMain.o] Error 1