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.0009469/0.0009475, 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.001013/0.001013, allocations: 177.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.538/1.538, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4077/0.4077, allocations: 28.83 MB / 320.9 MB, free: 6.102 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003971, allocations: 8 kB / 389.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3837, allocations: 57.49 MB / 446.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.002948/0.3867, allocations: 3.159 MB / 449.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.388, allocations: 0.6415 MB / 450.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.3884, allocations: 19.12 kB / 450.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3887, allocations: 121 kB / 450.6 MB, free: 29.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.389, allocations: 72.97 kB / 450.6 MB, free: 29.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.3896, allocations: 309.8 kB / 450.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.3903, allocations: 0.8062 MB / 451.7 MB, free: 29.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007608/0.391, allocations: 0.5896 MB / 452.3 MB, free: 28.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3912, allocations: 222.8 kB / 452.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.3915, allocations: 306.1 kB / 452.8 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.3915, allocations: 24.31 kB / 452.9 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3917, allocations: 43.2 kB / 452.9 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.392, allocations: 348.4 kB / 453.2 MB, free: 28.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.3924, allocations: 0.5153 MB / 453.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.3932, allocations: 0.7711 MB / 454.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3932, allocations: 7.469 kB / 454.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3932, allocations: 0 / 454.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3932, allocations: 0 / 454.5 MB, free: 27.79 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.001745/0.395, allocations: 1.464 MB / 456 MB, free: 26.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.395, allocations: 10.53 kB / 456 MB, free: 26.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.3953, allocations: 191.6 kB / 456.2 MB, free: 26.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.396, allocations: 0.724 MB / 456.9 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.3961, allocations: 75.48 kB / 457 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3962, allocations: 108 kB / 457.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3976, allocations: 1.129 MB / 458.2 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3976, allocations: 4.125 kB / 458.2 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.3977, allocations: 46.44 kB / 458.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.3977, allocations: 26.25 kB / 458.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3989, allocations: 1.053 MB / 459.4 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.4036, allocations: 3.613 MB / 463 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.4056, allocations: 1.273 MB / 464.2 MB, free: 22.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.4063, allocations: 461.3 kB / 464.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.4064, allocations: 34.92 kB / 464.7 MB, free: 22.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4064, allocations: 38 kB / 464.8 MB, free: 22.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.725e-06/0.4064, allocations: 0 / 464.8 MB, free: 22.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001949/0.4084, allocations: 1.445 MB / 466.2 MB, free: 22.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4085, allocations: 57.78 kB / 466.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.4101, allocations: 1.232 MB / 467.5 MB, free: 21.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.4101, allocations: 40.3 kB / 467.5 MB, free: 21.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.4106, allocations: 0.746 MB / 468.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4108, allocations: 227.4 kB / 468.5 MB, free: 21.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.4109, allocations: 57.62 kB / 468.6 MB, free: 21.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.411, allocations: 335.9 kB / 468.9 MB, free: 20.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.4115, allocations: 415.6 kB / 469.3 MB, free: 20.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.4121, allocations: 0.5044 MB / 469.8 MB, free: 20.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4133, allocations: 0.9501 MB / 470.8 MB, free: 20.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4133, allocations: 1.125 kB / 470.8 MB, free: 20.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001527/0.4149, allocations: 1.133 MB / 471.9 MB, free: 19.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4149, allocations: 5.719 kB / 471.9 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4149, allocations: 3.062 kB / 471.9 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.415, allocations: 9.797 kB / 471.9 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.4154, allocations: 125.1 kB / 472 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.4155, allocations: 14.03 kB / 472 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.4157, allocations: 61.62 kB / 472.1 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.4158, allocations: 24.38 kB / 472.1 MB, free: 19.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005371/0.4163, allocations: 363.5 kB / 472.5 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4165, allocations: 136.1 kB / 472.6 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.4182, allocations: 1.14 MB / 473.8 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4182, allocations: 6.125 kB / 473.8 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4182, allocations: 6.125 kB / 473.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.4182, allocations: 3.234 kB / 473.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.4214, allocations: 2.28 MB / 476 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4215, allocations: 0.8438 kB / 476.1 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.422, allocations: 109.8 kB / 476.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.422, allocations: 2.188 kB / 476.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.422, allocations: 14.31 kB / 476.2 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.422, allocations: 2.531 kB / 476.2 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.422, allocations: 1.938 kB / 476.2 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.4246, allocations: 1.789 MB / 478 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.4249, allocations: 195.4 kB / 478.2 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.425, allocations: 15.66 kB / 478.2 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4252, allocations: 11.12 kB / 478.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.4253, allocations: 41.09 kB / 478.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.4253, allocations: 23.02 kB / 478.2 MB, free: 17.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4268, allocations: 0.8512 MB / 479.1 MB, free: 16.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4268, allocations: 1.312 kB / 479.1 MB, free: 16.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007299/0.4275, allocations: 211.1 kB / 479.3 MB, free: 16.83 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 (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.0001986/0.4277, allocations: 112.5 kB / 479.4 MB, free: 16.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4288, allocations: 0.9435 MB / 480.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4288, allocations: 0 / 480.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.4293, allocations: 495.6 kB / 480.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.43, allocations: 84.67 kB / 480.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.4337, allocations: 3.361 MB / 484.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.4346, allocations: 1.289 MB / 485.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4348, allocations: 54.44 kB / 485.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4348, allocations: 4 kB / 485.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01509/0.4499, allocations: 10.52 MB / 496.2 MB, free: 1.008 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++ -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_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