Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 99.59 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.001473/0.001473, allocations: 175.7 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.627/1.627, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4359/0.4359, allocations: 28.84 MB / 320.5 MB, free: 6.305 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003307, allocations: 8 kB / 388.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4076, allocations: 57.5 MB / 446 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003226/0.4109, allocations: 2.904 MB / 448.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.4122, allocations: 0.6596 MB / 449.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.4126, allocations: 19.53 kB / 449.6 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.4129, allocations: 127.2 kB / 449.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.4131, allocations: 83.72 kB / 449.8 MB, free: 30.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.4137, allocations: 256.7 kB / 450 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.4144, allocations: 0.7717 MB / 450.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.415, allocations: 483.7 kB / 451.3 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.4152, allocations: 243.6 kB / 451.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.4155, allocations: 304.8 kB / 451.8 MB, free: 29.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.4155, allocations: 25.25 kB / 451.8 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.4157, allocations: 42.47 kB / 451.9 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.416, allocations: 340.8 kB / 452.2 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.4161, allocations: 223.5 kB / 452.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.4167, allocations: 0.7987 MB / 453.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4167, allocations: 0 / 453.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4168, allocations: 6.188 kB / 453.2 MB, free: 28.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4168, allocations: 0 / 453.2 MB, free: 28.68 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001798/0.4186, allocations: 1.527 MB / 454.8 MB, free: 27.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.4187, allocations: 8.875 kB / 454.8 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.4189, allocations: 201.7 kB / 455 MB, free: 27.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.4198, allocations: 0.6859 MB / 455.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.4198, allocations: 77.7 kB / 455.7 MB, free: 26.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.42, allocations: 103.5 kB / 455.8 MB, free: 26.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.4218, allocations: 1.156 MB / 457 MB, free: 26.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.4219, allocations: 2.625 kB / 457 MB, free: 26.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.4219, allocations: 43.88 kB / 457 MB, free: 26.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.422, allocations: 34.23 kB / 457.1 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.4236, allocations: 1.093 MB / 458.2 MB, free: 26.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.4291, allocations: 3.68 MB / 461.8 MB, free: 24.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.4311, allocations: 1.329 MB / 463.2 MB, free: 23.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.4318, allocations: 486.6 kB / 463.6 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.4319, allocations: 23.72 kB / 463.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.432, allocations: 49.91 kB / 463.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 5.53e-06/0.432, allocations: 0 / 463.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.002479/0.4345, allocations: 1.526 MB / 465.2 MB, free: 23.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4345, allocations: 59.12 kB / 465.3 MB, free: 23.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.4366, allocations: 1.268 MB / 466.6 MB, free: 22.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.4366, allocations: 40.98 kB / 466.6 MB, free: 22.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/0.4373, allocations: 0.7675 MB / 467.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.4375, allocations: 236.4 kB / 467.6 MB, free: 21.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.4375, allocations: 14.19 kB / 467.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4376, allocations: 332.9 kB / 467.9 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.4383, allocations: 435.8 kB / 468.4 MB, free: 21.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.4391, allocations: 0.5347 MB / 468.9 MB, free: 21.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.4399, allocations: 474.2 kB / 469.4 MB, free: 21.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4399, allocations: 4 kB / 469.4 MB, free: 21.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002126/0.4421, allocations: 1.187 MB / 470.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4421, allocations: 5.688 kB / 470.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4421, allocations: 2.641 kB / 470.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.4422, allocations: 6.719 kB / 470.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.4427, allocations: 134.5 kB / 470.7 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.4427, allocations: 13.38 kB / 470.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.443, allocations: 58.77 kB / 470.8 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4431, allocations: 23.75 kB / 470.8 MB, free: 20.66 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 (83): * Single equations (assignments): 83 * 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.0006391/0.4437, allocations: 370.2 kB / 471.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.4439, allocations: 142.7 kB / 471.3 MB, free: 20.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.446, allocations: 1.203 MB / 472.5 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.446, allocations: 7 kB / 472.5 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.446, allocations: 0 / 472.5 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.446, allocations: 3.422 kB / 472.5 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.4497, allocations: 2.362 MB / 474.9 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4497, allocations: 5 kB / 474.9 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.4502, allocations: 114.9 kB / 475 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.4502, allocations: 2.438 kB / 475 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.4503, allocations: 14.19 kB / 475 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4503, allocations: 2.688 kB / 475 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4503, allocations: 0.5625 kB / 475 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.4529, allocations: 1.882 MB / 476.9 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.4532, allocations: 200.7 kB / 477.1 MB, free: 18.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.4533, allocations: 11.45 kB / 477.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.4535, allocations: 20.69 kB / 477.1 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4536, allocations: 43.16 kB / 477.2 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.4536, allocations: 18.64 kB / 477.2 MB, free: 18.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.455, allocations: 0.8767 MB / 478.1 MB, free: 17.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.455, allocations: 0 / 478.1 MB, free: 17.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000645/0.4557, allocations: 210.9 kB / 478.3 MB, free: 17.6 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 (68): * Single equations (assignments): 68 * 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.0001803/0.4559, allocations: 129.1 kB / 478.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4571, allocations: 0.9877 MB / 479.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4571, allocations: 0 / 479.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.4577, allocations: 0.5078 MB / 479.9 MB, free: 16.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.4584, allocations: 88.56 kB / 480 MB, free: 16.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.4626, allocations: 3.3 MB / 483.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.4638, allocations: 1.305 MB / 484.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.464, allocations: 58.25 kB / 484.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.464, allocations: 0 / 484.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01807/0.4821, allocations: 10.9 MB / 495.5 MB, free: 1.293 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_3CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3CalcHelperMain.o] Error 1