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.0009471/0.0009473, allocations: 101.4 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.001437/0.001437, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.58/1.58, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3927/0.3927, allocations: 28.84 MB / 320.5 MB, free: 6.234 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004333, allocations: 11.98 kB / 388.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4378, allocations: 57.48 MB / 446 MB, free: 32.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.00295/0.4408, allocations: 2.57 MB / 448.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4422, allocations: 0.5357 MB / 449.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.4424, allocations: 8.406 kB / 449.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.4427, allocations: 106.7 kB / 449.2 MB, free: 30.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.443, allocations: 85.03 kB / 449.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.4435, allocations: 211.7 kB / 449.5 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.4441, allocations: 0.6668 MB / 450.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.4446, allocations: 381 kB / 450.5 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.4448, allocations: 245.9 kB / 450.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.4451, allocations: 308.1 kB / 451.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.4451, allocations: 23.28 kB / 451.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4453, allocations: 52.91 kB / 451.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.4456, allocations: 359.8 kB / 451.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4457, allocations: 218.5 kB / 451.7 MB, free: 29.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.4463, allocations: 0.7122 MB / 452.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4463, allocations: 2.438 kB / 452.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4463, allocations: 0 / 452.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.4463, allocations: 0 / 452.4 MB, free: 29.06 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.001688/0.448, allocations: 1.493 MB / 453.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4481, allocations: 7.875 kB / 453.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.4483, allocations: 196.1 kB / 454.1 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.4487, allocations: 0.5025 MB / 454.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.4488, allocations: 84.44 kB / 454.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4489, allocations: 93.19 kB / 454.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.4504, allocations: 1.087 MB / 455.9 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4504, allocations: 0 / 455.9 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.4505, allocations: 37.91 kB / 455.9 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.4506, allocations: 56.66 kB / 456 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.4521, allocations: 1.23 MB / 457.2 MB, free: 26.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.4565, allocations: 2.87 MB / 460.1 MB, free: 25.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.4582, allocations: 1.01 MB / 461.1 MB, free: 25.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.4589, allocations: 0.5055 MB / 461.6 MB, free: 25.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.459, allocations: 29.61 kB / 461.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.4591, allocations: 45.97 kB / 461.7 MB, free: 25.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.4591, allocations: 1.125 kB / 461.7 MB, free: 25.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002652/0.4617, allocations: 1.623 MB / 463.3 MB, free: 24.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4618, allocations: 63.25 kB / 463.3 MB, free: 24.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4635, allocations: 1.246 MB / 464.6 MB, free: 24.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.4636, allocations: 35.11 kB / 464.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.4642, allocations: 0.7751 MB / 465.4 MB, free: 23.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.4644, allocations: 233.1 kB / 465.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.4644, allocations: 14.72 kB / 465.6 MB, free: 23.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.4645, allocations: 335 kB / 466 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.4653, allocations: 489.9 kB / 466.4 MB, free: 22.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.4662, allocations: 0.6638 MB / 467.1 MB, free: 22.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008977/0.4672, allocations: 0.5381 MB / 467.6 MB, free: 22.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4672, allocations: 1 kB / 467.6 MB, free: 22.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002351/0.4695, allocations: 1.356 MB / 469 MB, free: 22.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4696, allocations: 6.75 kB / 469 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.4696, allocations: 6.141 kB / 469 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/0.4697, allocations: 10.44 kB / 469 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.4703, allocations: 189 kB / 469.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/0.4704, allocations: 12.09 kB / 469.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.4708, allocations: 88.66 kB / 469.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.4709, allocations: 38.19 kB / 469.3 MB, free: 22.04 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 variables: CIAF.level:VARIABLE(start = CIAF.x0 fixed = true ) "Reversible state variable" type: Real Pollution.level:VARIABLE(start = Pollution.x0 fixed = true ) "Reversible state variable" type: Real Capital_Investment.level:VARIABLE(start = Capital_Investment.x0 fixed = true ) "Reversible state variable" type: Real Natural_Resources.level:VARIABLE(start = Natural_Resources.x0 fixed = true ) "Reversible state variable" type: Real Population.level:VARIABLE(start = Population.x0 fixed = true ) "Reversible state variable" type: Real years:VARIABLE(start = 1900.0 fixed = true ) "Time in calendar years" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008874/0.4718, allocations: 396.6 kB / 469.7 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.472, allocations: 136.6 kB / 469.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.4742, allocations: 1.273 MB / 471.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4743, allocations: 7.047 kB / 471.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.4743, allocations: 3.953 kB / 471.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4743, allocations: 8.281 kB / 471.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.4783, allocations: 2.391 MB / 473.6 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4783, allocations: 0 / 473.6 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.4788, allocations: 132.8 kB / 473.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.4789, allocations: 2.625 kB / 473.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.4789, allocations: 15.27 kB / 473.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4789, allocations: 7.172 kB / 473.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4789, allocations: 0 / 473.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.4821, allocations: 1.971 MB / 475.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.4824, allocations: 195.5 kB / 475.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4825, allocations: 11.92 kB / 475.9 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.4827, allocations: 34.56 kB / 475.9 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.4829, allocations: 46.45 kB / 476 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.4829, allocations: 21.78 kB / 476 MB, free: 19.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.4842, allocations: 0.8604 MB / 476.8 MB, free: 19 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4842, allocations: 0 / 476.8 MB, free: 19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007506/0.485, allocations: 214.9 kB / 477 MB, free: 18.79 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 (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.0001929/0.4852, allocations: 128.9 kB / 477.2 MB, free: 18.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.4867, allocations: 1.107 MB / 478.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4867, allocations: 0.6875 kB / 478.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.4874, allocations: 0.56 MB / 478.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.4879, allocations: 61.95 kB / 478.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.4925, allocations: 3.278 MB / 482.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4937, allocations: 1.294 MB / 483.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4939, allocations: 63.28 kB / 483.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 1.763e-06/0.4939, allocations: 3.938 kB / 483.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Templates: time 0.0154/0.5093, allocations: 10.69 MB / 494.2 MB, free: 2.605 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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_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