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.001231/0.001231, allocations: 96.14 kB / 15.87 MB, free: 16 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.001698/0.001698, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.721/1.721, allocations: 222.9 MB / 240.4 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4861/0.4861, allocations: 28.79 MB / 319.4 MB, free: 5.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001522, allocations: 63.91 kB / 386.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6047, allocations: 56.41 MB / 443 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005494/0.6103, allocations: 3.658 MB / 446.6 MB, free: 37.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.6128, allocations: 0.6794 MB / 447.3 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.6141, allocations: 18.09 kB / 447.3 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009239/0.615, allocations: 124.5 kB / 447.4 MB, free: 37.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.616, allocations: 104.8 kB / 447.5 MB, free: 37.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.6172, allocations: 310.2 kB / 447.9 MB, free: 37.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.6192, allocations: 0.8191 MB / 448.7 MB, free: 36.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.6206, allocations: 0.6116 MB / 449.3 MB, free: 36.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.6212, allocations: 309.6 kB / 449.6 MB, free: 36.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.6219, allocations: 435.5 kB / 450 MB, free: 36.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.6222, allocations: 58.53 kB / 450.1 MB, free: 36.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.6225, allocations: 78.69 kB / 450.1 MB, free: 36.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.6229, allocations: 434.7 kB / 450.6 MB, free: 36.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.6234, allocations: 0.5963 MB / 451.2 MB, free: 35.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.6243, allocations: 0.8336 MB / 452 MB, free: 35.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.6243, allocations: 2.844 kB / 452 MB, free: 35.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6243, allocations: 3.938 kB / 452 MB, free: 35.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.6243, allocations: 0 / 452 MB, free: 35.46 MB / 366.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.00238/0.6267, allocations: 1.822 MB / 453.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.6268, allocations: 11.34 kB / 453.8 MB, free: 34.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.627, allocations: 204.6 kB / 454 MB, free: 34.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.6279, allocations: 0.7541 MB / 454.8 MB, free: 33.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.6279, allocations: 81.23 kB / 454.9 MB, free: 33.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.6281, allocations: 105.8 kB / 455 MB, free: 33.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.6298, allocations: 1.277 MB / 456.3 MB, free: 32.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.6298, allocations: 3.219 kB / 456.3 MB, free: 32.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.6299, allocations: 45.72 kB / 456.3 MB, free: 32.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.781e-05/0.63, allocations: 51.61 kB / 456.3 MB, free: 32.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.6316, allocations: 1.23 MB / 457.6 MB, free: 32.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.6359, allocations: 3.919 MB / 461.5 MB, free: 30.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.6375, allocations: 1.356 MB / 462.9 MB, free: 30.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.6381, allocations: 498.2 kB / 463.3 MB, free: 29.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.58e-05/0.6382, allocations: 39.11 kB / 463.4 MB, free: 29.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6382, allocations: 37.97 kB / 463.4 MB, free: 29.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 1.833e-06/0.6383, allocations: 0 / 463.4 MB, free: 29.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=70): time 0.001983/0.6402, allocations: 1.555 MB / 465 MB, free: 29.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.6403, allocations: 87.52 kB / 465.1 MB, free: 29.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.6418, allocations: 1.38 MB / 466.4 MB, free: 28.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6418, allocations: 36.58 kB / 466.5 MB, free: 28.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000616/0.6424, allocations: 0.8393 MB / 467.3 MB, free: 28.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.6426, allocations: 245.4 kB / 467.6 MB, free: 27.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.6428, allocations: 151 kB / 467.7 MB, free: 27.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.643, allocations: 339.7 kB / 468 MB, free: 27.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.6436, allocations: 470.3 kB / 468.5 MB, free: 27.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.6445, allocations: 0.7188 MB / 469.2 MB, free: 27.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.6464, allocations: 1.246 MB / 470.5 MB, free: 26.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.6464, allocations: 6.219 kB / 470.5 MB, free: 26.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00239/0.6488, allocations: 1.392 MB / 471.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.6488, allocations: 8.812 kB / 471.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.6489, allocations: 8.188 kB / 471.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.151e-05/0.6489, allocations: 11.97 kB / 471.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.6496, allocations: 182.1 kB / 472.1 MB, free: 25.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.485e-05/0.6496, allocations: 16.48 kB / 472.1 MB, free: 25.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.65, allocations: 94.66 kB / 472.2 MB, free: 25.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/0.6501, allocations: 41.81 kB / 472.2 MB, free: 25.91 MB / 366.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.0005857/0.6507, allocations: 404.3 kB / 472.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6509, allocations: 145.2 kB / 472.7 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.6531, allocations: 1.248 MB / 474 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6531, allocations: 7.656 kB / 474 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6532, allocations: 0 / 474 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6532, allocations: 8.172 kB / 474 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.657, allocations: 2.4 MB / 476.4 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.657, allocations: 5.156 kB / 476.4 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.6576, allocations: 117.5 kB / 476.5 MB, free: 24.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.6576, allocations: 11.5 kB / 476.5 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.6576, allocations: 22.25 kB / 476.6 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6577, allocations: 2.562 kB / 476.6 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6577, allocations: 1.188 kB / 476.6 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.6606, allocations: 1.984 MB / 478.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.6608, allocations: 207.3 kB / 478.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.6609, allocations: 23.62 kB / 478.8 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.6612, allocations: 11.88 kB / 478.8 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6613, allocations: 43.33 kB / 478.8 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.6614, allocations: 24.72 kB / 478.9 MB, free: 23.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.6628, allocations: 0.9342 MB / 479.8 MB, free: 23.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6628, allocations: 0 / 479.8 MB, free: 23.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008373/0.6637, allocations: 219.6 kB / 480 MB, free: 23.01 MB / 366.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.0002371/0.6639, allocations: 128.5 kB / 480.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.6657, allocations: 1.083 MB / 481.2 MB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6658, allocations: 1.094 kB / 481.2 MB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.6667, allocations: 0.5212 MB / 481.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.6676, allocations: 95.38 kB / 481.8 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.6732, allocations: 3.574 MB / 485.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.6745, allocations: 1.332 MB / 486.7 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.6748, allocations: 75.22 kB / 486.8 MB, free: 19.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6748, allocations: 3.938 kB / 486.8 MB, free: 19.71 MB / 366.1 MB Notification: Performance of Templates: time 0.03219/0.707, allocations: 11.83 MB / 498.6 MB, free: 13.94 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