Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008779, allocations: 102.3 kB / 15.71 MB, free: 460 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.001731/0.001731, allocations: 178.9 kB / 16.58 MB, free: 6.133 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.583/1.583, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4512/0.4512, allocations: 28.84 MB / 320.5 MB, free: 6.258 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 8 kB / 388.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3795, allocations: 57.48 MB / 446 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.003012/0.3826, allocations: 2.926 MB / 448.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.384, allocations: 0.6661 MB / 449.6 MB, free: 30.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.3844, allocations: 17.69 kB / 449.6 MB, free: 30 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3847, allocations: 121.7 kB / 449.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.385, allocations: 99.09 kB / 449.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.3855, allocations: 260.9 kB / 450.1 MB, free: 29.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.3862, allocations: 0.773 MB / 450.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.3868, allocations: 493.5 kB / 451.3 MB, free: 29.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.387, allocations: 246.6 kB / 451.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3872, allocations: 317.5 kB / 451.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.3873, allocations: 23.5 kB / 451.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.3874, allocations: 42.91 kB / 451.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.3877, allocations: 359.2 kB / 452.3 MB, free: 28.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3878, allocations: 234.6 kB / 452.5 MB, free: 28.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.3884, allocations: 0.8081 MB / 453.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3884, allocations: 2.844 kB / 453.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3884, allocations: 0 / 453.3 MB, free: 28.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.3885, allocations: 3.938 kB / 453.3 MB, free: 28.39 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001577/0.3901, allocations: 1.564 MB / 454.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3901, allocations: 14.5 kB / 454.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3903, allocations: 207.8 kB / 455.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.3909, allocations: 0.6859 MB / 455.8 MB, free: 26.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.391, allocations: 82.73 kB / 455.9 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3911, allocations: 108.2 kB / 456 MB, free: 26.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.3926, allocations: 1.271 MB / 457.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3926, allocations: 3.938 kB / 457.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.3927, allocations: 42.78 kB / 457.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.3928, allocations: 44.91 kB / 457.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3942, allocations: 1.222 MB / 458.6 MB, free: 25.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.3991, allocations: 3.919 MB / 462.5 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.4011, allocations: 1.359 MB / 463.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.4018, allocations: 494.6 kB / 464.3 MB, free: 23.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4019, allocations: 43.02 kB / 464.4 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4019, allocations: 42.75 kB / 464.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/0.4019, allocations: 0 / 464.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.002341/0.4043, allocations: 1.548 MB / 466 MB, free: 22.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.4043, allocations: 85.58 kB / 466 MB, free: 22.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.4062, allocations: 1.357 MB / 467.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.4062, allocations: 36.64 kB / 467.4 MB, free: 22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/0.4068, allocations: 0.8432 MB / 468.3 MB, free: 21.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.407, allocations: 240.4 kB / 468.5 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.4071, allocations: 19.66 kB / 468.5 MB, free: 21.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.4072, allocations: 340.5 kB / 468.9 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.4079, allocations: 472.1 kB / 469.3 MB, free: 20.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.4087, allocations: 0.7162 MB / 470 MB, free: 20.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.4095, allocations: 0.5342 MB / 470.6 MB, free: 20.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4096, allocations: 3.25 kB / 470.6 MB, free: 20.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001896/0.4115, allocations: 1.38 MB / 472 MB, free: 19.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4115, allocations: 8.422 kB / 472 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.4115, allocations: 8.531 kB / 472 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.4116, allocations: 13.5 kB / 472 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.4122, allocations: 183.7 kB / 472.2 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.4122, allocations: 17.34 kB / 472.2 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.4126, allocations: 85.14 kB / 472.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.4127, allocations: 51.67 kB / 472.3 MB, free: 19.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.0005998/0.4133, allocations: 400.1 kB / 472.7 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4135, allocations: 150.2 kB / 472.9 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.4154, allocations: 1.244 MB / 474.1 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4154, allocations: 12.41 kB / 474.1 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4155, allocations: 5.219 kB / 474.1 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4155, allocations: 3.281 kB / 474.1 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.4189, allocations: 2.394 MB / 476.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4189, allocations: 4 kB / 476.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.4194, allocations: 120.1 kB / 476.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4194, allocations: 2.969 kB / 476.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.4195, allocations: 24.5 kB / 476.7 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/0.4195, allocations: 3.156 kB / 476.7 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4195, allocations: 1.781 kB / 476.7 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.4221, allocations: 1.977 MB / 478.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.4223, allocations: 217.1 kB / 478.9 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.4224, allocations: 12.8 kB / 478.9 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4227, allocations: 13.97 kB / 478.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4228, allocations: 44.12 kB / 478.9 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4229, allocations: 21.36 kB / 478.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.4241, allocations: 0.9216 MB / 479.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4241, allocations: 0 / 479.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007983/0.4249, allocations: 227 kB / 480.1 MB, free: 15.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0002045/0.4251, allocations: 125.1 kB / 480.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4266, allocations: 1.079 MB / 481.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4266, allocations: 0 / 481.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.4272, allocations: 0.5211 MB / 481.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.4279, allocations: 94.81 kB / 481.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.4325, allocations: 3.423 MB / 485.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.4336, allocations: 1.338 MB / 486.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4339, allocations: 71.38 kB / 486.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4339, allocations: 0 / 486.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Templates: time 0.01941/0.4533, allocations: 11.73 MB / 498.5 MB, free: 14.2 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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_4CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4CalcHelperMain.o] Error 1