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.001491/0.001492, 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.001578/0.001578, allocations: 195.1 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.726/1.726, allocations: 222.9 MB / 240.4 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.6583/0.6583, allocations: 28.8 MB / 319.4 MB, free: 5.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.88 kB / 386.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6555, allocations: 56.42 MB / 443 MB, free: 39.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.006297/0.6619, allocations: 3.638 MB / 446.6 MB, free: 37.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.6649, allocations: 0.6654 MB / 447.3 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.6655, allocations: 15.72 kB / 447.3 MB, free: 37.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.6661, allocations: 136.5 kB / 447.4 MB, free: 37.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.6665, allocations: 91.41 kB / 447.5 MB, free: 37.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.6674, allocations: 304.9 kB / 447.8 MB, free: 37.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.6684, allocations: 0.8093 MB / 448.6 MB, free: 36.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009657/0.6694, allocations: 0.6152 MB / 449.2 MB, free: 36.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.6697, allocations: 305.4 kB / 449.5 MB, free: 36.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.6701, allocations: 427.9 kB / 450 MB, free: 36.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.6703, allocations: 60.53 kB / 450 MB, free: 36.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.6705, allocations: 80.2 kB / 450.1 MB, free: 36.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.671, allocations: 404.3 kB / 450.5 MB, free: 36.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.6714, allocations: 0.5847 MB / 451.1 MB, free: 35.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.6723, allocations: 0.8175 MB / 451.9 MB, free: 35.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.6724, allocations: 0 / 451.9 MB, free: 35.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6724, allocations: 0 / 451.9 MB, free: 35.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.6724, allocations: 0 / 451.9 MB, free: 35.51 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002711/0.6751, allocations: 1.785 MB / 453.7 MB, free: 34.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.698e-05/0.6752, allocations: 8.656 kB / 453.7 MB, free: 34.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.6755, allocations: 197.6 kB / 453.9 MB, free: 34.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009595/0.6765, allocations: 0.7498 MB / 454.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/0.6766, allocations: 77.17 kB / 454.7 MB, free: 33.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6767, allocations: 98.94 kB / 454.8 MB, free: 33.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.6786, allocations: 1.175 MB / 456 MB, free: 33.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.6787, allocations: 3.219 kB / 456 MB, free: 33.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.6788, allocations: 48.84 kB / 456 MB, free: 32.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.6788, allocations: 24.34 kB / 456.1 MB, free: 32.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6806, allocations: 1.097 MB / 457.1 MB, free: 32.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/0.6861, allocations: 3.688 MB / 460.8 MB, free: 30.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.688, allocations: 1.336 MB / 462.2 MB, free: 30.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.6886, allocations: 480 kB / 462.6 MB, free: 30.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6887, allocations: 32.28 kB / 462.7 MB, free: 30.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6888, allocations: 45.88 kB / 462.7 MB, free: 30.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 4.689e-06/0.6888, allocations: 0 / 462.7 MB, free: 30.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.002231/0.691, allocations: 1.528 MB / 464.2 MB, free: 29.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.6911, allocations: 59.84 kB / 464.3 MB, free: 29.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.6928, allocations: 1.283 MB / 465.6 MB, free: 29.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.6929, allocations: 36.58 kB / 465.6 MB, free: 29.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/0.6935, allocations: 0.7685 MB / 466.4 MB, free: 28.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6937, allocations: 240.5 kB / 466.6 MB, free: 28.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6939, allocations: 116.9 kB / 466.7 MB, free: 28.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6941, allocations: 334.6 kB / 467.1 MB, free: 28.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.6946, allocations: 437.9 kB / 467.5 MB, free: 27.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.6952, allocations: 0.5353 MB / 468 MB, free: 27.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.6968, allocations: 0.998 MB / 469 MB, free: 27.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6968, allocations: 1.156 kB / 469 MB, free: 27.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00217/0.699, allocations: 1.182 MB / 470.2 MB, free: 27.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.699, allocations: 5.969 kB / 470.2 MB, free: 27.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6991, allocations: 9.891 kB / 470.2 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/0.6991, allocations: 5.812 kB / 470.2 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.6997, allocations: 136.4 kB / 470.4 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.6997, allocations: 5.5 kB / 470.4 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.7001, allocations: 59.8 kB / 470.4 MB, free: 26.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.7002, allocations: 22.91 kB / 470.5 MB, free: 26.99 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008794/0.7011, allocations: 385.8 kB / 470.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.7013, allocations: 140.9 kB / 471 MB, free: 26.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.7036, allocations: 1.206 MB / 472.2 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.7036, allocations: 6.562 kB / 472.2 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7037, allocations: 1.125 kB / 472.2 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7037, allocations: 3.141 kB / 472.2 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.7082, allocations: 2.369 MB / 474.6 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7082, allocations: 1.062 kB / 474.6 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.7088, allocations: 110.4 kB / 474.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.7088, allocations: 2.5 kB / 474.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.7089, allocations: 24.19 kB / 474.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.7089, allocations: 2.531 kB / 474.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7089, allocations: 4.781 kB / 474.7 MB, free: 25.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.7122, allocations: 1.877 MB / 476.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.7125, allocations: 202.1 kB / 476.8 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.7127, allocations: 14.81 kB / 476.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.713, allocations: 16.12 kB / 476.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7131, allocations: 42.84 kB / 476.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.7132, allocations: 20.8 kB / 476.9 MB, free: 24.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.7152, allocations: 0.8922 MB / 477.8 MB, free: 24.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7152, allocations: 3.938 kB / 477.8 MB, free: 24.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.7163, allocations: 202.3 kB / 478 MB, free: 24.22 MB / 366.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 (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.0003578/0.7167, allocations: 125.3 kB / 478.1 MB, free: 24.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.719, allocations: 0.9933 MB / 479.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.719, allocations: 1.375 kB / 479.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.72, allocations: 0.5134 MB / 479.6 MB, free: 23.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7212, allocations: 89.83 kB / 479.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.728, allocations: 3.455 MB / 483.1 MB, free: 21.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.7295, allocations: 1.306 MB / 484.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.7297, allocations: 56.11 kB / 484.5 MB, free: 21.03 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7297, allocations: 0 / 484.5 MB, free: 21.03 MB / 366.1 MB Notification: Performance of Templates: time 0.03679/0.7665, allocations: 11 MB / 495.5 MB, free: 17.3 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_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