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.0008721/0.0008723, allocations: 92.31 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.001038/0.001038, allocations: 182.7 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.535/1.535, allocations: 223.2 MB / 240.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3851/0.3851, allocations: 28.83 MB / 320.9 MB, free: 6.117 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 12 kB / 389.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3709, allocations: 57.49 MB / 446.6 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.00405/0.375, allocations: 3.188 MB / 449.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3773, allocations: 0.6654 MB / 450.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.3778, allocations: 15.91 kB / 450.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.3783, allocations: 134.2 kB / 450.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3786, allocations: 90.62 kB / 450.7 MB, free: 29.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.3794, allocations: 312.1 kB / 451 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.3802, allocations: 0.8277 MB / 451.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.381, allocations: 0.5983 MB / 452.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.3812, allocations: 212 kB / 452.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3815, allocations: 326.7 kB / 453 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.3816, allocations: 21.94 kB / 453 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3818, allocations: 43.95 kB / 453 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.3822, allocations: 368 kB / 453.4 MB, free: 28.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.3826, allocations: 0.5479 MB / 453.9 MB, free: 27.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.3834, allocations: 0.8177 MB / 454.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3834, allocations: 0 / 454.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3834, allocations: 0 / 454.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.3834, allocations: 0 / 454.7 MB, free: 27.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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001957/0.3854, allocations: 1.547 MB / 456.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.3855, allocations: 12.19 kB / 456.3 MB, free: 26.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.3857, allocations: 204 kB / 456.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.3865, allocations: 0.7541 MB / 457.3 MB, free: 25.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.3866, allocations: 81.8 kB / 457.3 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3867, allocations: 107.6 kB / 457.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3884, allocations: 1.274 MB / 458.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3884, allocations: 4.125 kB / 458.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.3885, allocations: 46.44 kB / 458.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/0.3886, allocations: 52.59 kB / 458.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.3904, allocations: 1.226 MB / 460 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005268/0.3956, allocations: 3.92 MB / 464 MB, free: 22.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3978, allocations: 1.36 MB / 465.3 MB, free: 22.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.3985, allocations: 494.1 kB / 465.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3986, allocations: 39.88 kB / 465.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3987, allocations: 42.31 kB / 465.9 MB, free: 22.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.3987, allocations: 0 / 465.9 MB, free: 22.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=70): time 0.002431/0.4011, allocations: 1.553 MB / 467.4 MB, free: 21.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4012, allocations: 85.75 kB / 467.5 MB, free: 21.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.4031, allocations: 1.379 MB / 468.9 MB, free: 21.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4031, allocations: 36.45 kB / 468.9 MB, free: 21.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.4038, allocations: 0.845 MB / 469.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.4039, allocations: 239.3 kB / 470 MB, free: 20.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4041, allocations: 74.77 kB / 470.1 MB, free: 20.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.4042, allocations: 341.1 kB / 470.4 MB, free: 20 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/0.4049, allocations: 473.2 kB / 470.9 MB, free: 19.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/0.4057, allocations: 0.7262 MB / 471.6 MB, free: 19.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.4074, allocations: 1.239 MB / 472.9 MB, free: 18.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4074, allocations: 2.125 kB / 472.9 MB, free: 18.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002528/0.4099, allocations: 1.386 MB / 474.2 MB, free: 18.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.4099, allocations: 8.781 kB / 474.2 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/0.41, allocations: 12.78 kB / 474.3 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/0.41, allocations: 13.09 kB / 474.3 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.4108, allocations: 183.7 kB / 474.5 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.889e-05/0.4109, allocations: 17.42 kB / 474.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.4114, allocations: 92.81 kB / 474.6 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.4115, allocations: 43.47 kB / 474.6 MB, free: 18.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.4126, allocations: 404.4 kB / 475 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.4128, allocations: 150.1 kB / 475.1 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.4155, allocations: 1.244 MB / 476.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.4155, allocations: 11.59 kB / 476.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.4155, allocations: 0.7969 kB / 476.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.4156, allocations: 8.141 kB / 476.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.4199, allocations: 2.4 MB / 478.8 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4199, allocations: 0.6562 kB / 478.8 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.4205, allocations: 120.3 kB / 478.9 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.4205, allocations: 3.094 kB / 478.9 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.4206, allocations: 24.61 kB / 479 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.4206, allocations: 3.094 kB / 479 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4206, allocations: 0.6562 kB / 479 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.4231, allocations: 1.98 MB / 480.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4233, allocations: 217.3 kB / 481.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.4234, allocations: 20.95 kB / 481.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.4238, allocations: 13.03 kB / 481.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.4239, allocations: 48.25 kB / 481.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.4239, allocations: 26.25 kB / 481.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.4253, allocations: 0.9323 MB / 482.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4253, allocations: 0 / 482.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008271/0.4262, allocations: 223 kB / 482.4 MB, free: 13.93 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 (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.0002283/0.4264, allocations: 121 kB / 482.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.4278, allocations: 1.088 MB / 483.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4278, allocations: 0 / 483.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.4283, allocations: 0.5206 MB / 484.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.4291, allocations: 97.62 kB / 484.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.4331, allocations: 3.614 MB / 487.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009729/0.4341, allocations: 1.326 MB / 489.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4343, allocations: 70.86 kB / 489.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4343, allocations: 0 / 489.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Templates: time 0.01607/0.4504, allocations: 11.65 MB / 0.4891 GB, free: 12.13 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++ -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_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