Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.67 kB / 15.71 MB, free: 452 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.001918/0.001918, allocations: 171.8 kB / 16.58 MB, free: 6.422 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.553/1.553, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4491/0.4491, allocations: 28.85 MB / 320.6 MB, free: 6.195 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004555, allocations: 8 kB / 388.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3808, allocations: 57.48 MB / 446 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.00311/0.384, allocations: 2.899 MB / 448.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3855, allocations: 0.6512 MB / 449.5 MB, free: 30.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.3859, allocations: 15.22 kB / 449.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3862, allocations: 114 kB / 449.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.3865, allocations: 78.12 kB / 449.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.3871, allocations: 252.8 kB / 450 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.3877, allocations: 0.768 MB / 450.7 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.3883, allocations: 478.1 kB / 451.2 MB, free: 29.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3885, allocations: 233.1 kB / 451.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.3888, allocations: 300.5 kB / 451.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.865e-05/0.3888, allocations: 20.56 kB / 451.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.389, allocations: 45.56 kB / 451.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3892, allocations: 334.8 kB / 452.1 MB, free: 28.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3894, allocations: 224.1 kB / 452.3 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.39, allocations: 0.7688 MB / 453.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.39, allocations: 0 / 453.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.39, allocations: 0 / 453.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.39, allocations: 2.562 kB / 453.1 MB, free: 28.6 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001677/0.3917, allocations: 1.488 MB / 454.6 MB, free: 27.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3918, allocations: 7.875 kB / 454.6 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.392, allocations: 194.8 kB / 454.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.3927, allocations: 0.6678 MB / 455.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.3927, allocations: 81.05 kB / 455.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3928, allocations: 100.9 kB / 455.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3942, allocations: 1.127 MB / 456.8 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3942, allocations: 3.938 kB / 456.8 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.3943, allocations: 42.41 kB / 456.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.3943, allocations: 24.22 kB / 456.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3957, allocations: 1.044 MB / 457.9 MB, free: 26.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/0.4004, allocations: 3.608 MB / 461.5 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.4026, allocations: 1.275 MB / 462.8 MB, free: 23.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.4032, allocations: 456 kB / 463.2 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.4034, allocations: 28.69 kB / 463.2 MB, free: 23.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4034, allocations: 44.55 kB / 463.3 MB, free: 23.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.4034, allocations: 1.25 kB / 463.3 MB, free: 23.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00236/0.4058, allocations: 1.434 MB / 464.7 MB, free: 23.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4058, allocations: 57.78 kB / 464.8 MB, free: 23.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.4082, allocations: 1.222 MB / 466 MB, free: 22.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.4083, allocations: 39.95 kB / 466 MB, free: 22.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008446/0.4092, allocations: 0.7423 MB / 466.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.4094, allocations: 227 kB / 467 MB, free: 21.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.4095, allocations: 10.06 kB / 467 MB, free: 21.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4096, allocations: 340.8 kB / 467.3 MB, free: 21.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.4103, allocations: 409.9 kB / 467.7 MB, free: 21.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.4112, allocations: 0.5008 MB / 468.2 MB, free: 21.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.4119, allocations: 449.2 kB / 468.7 MB, free: 21.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.412, allocations: 7.891 kB / 468.7 MB, free: 21.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001957/0.4139, allocations: 1.128 MB / 469.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.414, allocations: 8.344 kB / 469.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.414, allocations: 2.031 kB / 469.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.414, allocations: 6.875 kB / 469.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.4146, allocations: 126 kB / 470 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.4146, allocations: 9.25 kB / 470 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.415, allocations: 59.19 kB / 470 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.4151, allocations: 24.05 kB / 470.1 MB, free: 20.74 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 (81): * Single equations (assignments): 81 * 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.0007853/0.4158, allocations: 362.4 kB / 470.4 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.416, allocations: 142.4 kB / 470.5 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.418, allocations: 1.143 MB / 471.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.4181, allocations: 7.969 kB / 471.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4181, allocations: 0 / 471.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4181, allocations: 2.906 kB / 471.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.4221, allocations: 2.27 MB / 474 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4221, allocations: 5.094 kB / 474 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.4227, allocations: 109.7 kB / 474.1 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.4227, allocations: 2.469 kB / 474.1 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.4227, allocations: 14.77 kB / 474.1 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4227, allocations: 2.125 kB / 474.1 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4227, allocations: 0.7031 kB / 474.1 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.4256, allocations: 1.789 MB / 475.9 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.4259, allocations: 198.2 kB / 476.1 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.426, allocations: 12.02 kB / 476.1 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4262, allocations: 15.19 kB / 476.1 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.4263, allocations: 37.27 kB / 476.1 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.4264, allocations: 19.06 kB / 476.2 MB, free: 18.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.428, allocations: 0.84 MB / 477 MB, free: 18.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4281, allocations: 0 / 477 MB, free: 18.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.4289, allocations: 208.1 kB / 477.2 MB, free: 18.03 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 (66): * Single equations (assignments): 66 * 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 0.0002149/0.4291, allocations: 124.8 kB / 477.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.4307, allocations: 0.9393 MB / 478.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4307, allocations: 0 / 478.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.4313, allocations: 491.3 kB / 478.8 MB, free: 17.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.432, allocations: 84.33 kB / 478.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.4361, allocations: 3.187 MB / 482 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.4372, allocations: 1.281 MB / 483.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.4374, allocations: 58.53 kB / 483.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4374, allocations: 0 / 483.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.01792/0.4553, allocations: 10.61 MB / 494 MB, free: 2.801 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.WorldDynamics.World2.Scenario_1CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1CalcHelperMain.o] Error 1