Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01146/0.01146, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.00193, allocations: 189.4 kB / 16.79 MB, free: 5.809 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.73/1.73, allocations: 222.9 MB / 240.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.5489/0.5489, allocations: 28.81 MB / 319.4 MB, free: 5.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 59.91 kB / 386.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.584, allocations: 56.41 MB / 443 MB, free: 39.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.006646/0.5908, allocations: 3.625 MB / 446.6 MB, free: 37.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.5927, allocations: 0.6664 MB / 447.3 MB, free: 37.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.5932, allocations: 15.78 kB / 447.3 MB, free: 37.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.5937, allocations: 110.1 kB / 447.4 MB, free: 37.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.594, allocations: 83.97 kB / 447.5 MB, free: 37.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.5948, allocations: 307 kB / 447.8 MB, free: 37.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009961/0.5958, allocations: 0.8006 MB / 448.6 MB, free: 37.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.5967, allocations: 0.6151 MB / 449.2 MB, free: 36.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.597, allocations: 304.8 kB / 449.5 MB, free: 36.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.5974, allocations: 419.6 kB / 449.9 MB, free: 36.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.5975, allocations: 58.44 kB / 450 MB, free: 36.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.5978, allocations: 79.78 kB / 450 MB, free: 36.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.5982, allocations: 406.1 kB / 450.4 MB, free: 36.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.5986, allocations: 0.5758 MB / 451 MB, free: 35.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.5994, allocations: 0.7915 MB / 451.8 MB, free: 35.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5994, allocations: 0 / 451.8 MB, free: 35.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5994, allocations: 0 / 451.8 MB, free: 35.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.5995, allocations: 0 / 451.8 MB, free: 35.59 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002248/0.6017, allocations: 1.723 MB / 453.5 MB, free: 34.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.6018, allocations: 7.812 kB / 453.5 MB, free: 34.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.6021, allocations: 198.4 kB / 453.7 MB, free: 34.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.6029, allocations: 0.7323 MB / 454.5 MB, free: 33.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.603, allocations: 81.92 kB / 454.5 MB, free: 33.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.6032, allocations: 100.8 kB / 454.6 MB, free: 33.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.6049, allocations: 1.135 MB / 455.8 MB, free: 33.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6049, allocations: 192 / 455.8 MB, free: 33.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.605, allocations: 45.06 kB / 455.8 MB, free: 33.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.605, allocations: 24.38 kB / 455.8 MB, free: 33.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.6064, allocations: 1.051 MB / 456.9 MB, free: 32.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.611, allocations: 3.607 MB / 460.5 MB, free: 30.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.6127, allocations: 1.274 MB / 461.8 MB, free: 30.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.6133, allocations: 460.3 kB / 462.2 MB, free: 30.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/0.6134, allocations: 25.12 kB / 462.3 MB, free: 30.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.6134, allocations: 41.94 kB / 462.3 MB, free: 30.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.365e-06/0.6134, allocations: 0 / 462.3 MB, free: 30.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.001942/0.6154, allocations: 1.448 MB / 463.7 MB, free: 29.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.6154, allocations: 58.56 kB / 463.8 MB, free: 29.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.617, allocations: 1.237 MB / 465 MB, free: 29.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.617, allocations: 36.7 kB / 465.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.6176, allocations: 0.746 MB / 465.8 MB, free: 28.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.6178, allocations: 226.3 kB / 466 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.618, allocations: 116.6 kB / 466.2 MB, free: 28.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6181, allocations: 330.3 kB / 466.5 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.6187, allocations: 417.9 kB / 466.9 MB, free: 28.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.6192, allocations: 0.5045 MB / 467.4 MB, free: 28.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.6203, allocations: 0.955 MB / 468.3 MB, free: 27.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6203, allocations: 0 / 468.3 MB, free: 27.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001969/0.6223, allocations: 1.132 MB / 469.5 MB, free: 27.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.6224, allocations: 9.312 kB / 469.5 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6224, allocations: 2.719 kB / 469.5 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/0.6224, allocations: 5.469 kB / 469.5 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.623, allocations: 128.4 kB / 469.6 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.623, allocations: 5.562 kB / 469.6 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.6232, allocations: 51.84 kB / 469.7 MB, free: 27.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.6233, allocations: 25.69 kB / 469.7 MB, free: 27.25 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 (81): * Single equations (assignments): 81 * 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.0006108/0.6239, allocations: 371.8 kB / 470.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.6241, allocations: 139.9 kB / 470.2 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.6262, allocations: 1.148 MB / 471.3 MB, free: 26.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6263, allocations: 6.719 kB / 471.4 MB, free: 26.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6263, allocations: 3.188 kB / 471.4 MB, free: 26.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6263, allocations: 4.516 kB / 471.4 MB, free: 26.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.63, allocations: 2.267 MB / 473.6 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6301, allocations: 0 / 473.6 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.6306, allocations: 115.3 kB / 473.7 MB, free: 25.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.6306, allocations: 2.875 kB / 473.7 MB, free: 25.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.6306, allocations: 17.44 kB / 473.8 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.6307, allocations: 2.094 kB / 473.8 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6307, allocations: 0 / 473.8 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.6336, allocations: 1.788 MB / 475.5 MB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.6339, allocations: 196.7 kB / 475.7 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.634, allocations: 14.61 kB / 475.8 MB, free: 24.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.6342, allocations: 14.34 kB / 475.8 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.6343, allocations: 37.58 kB / 475.8 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.6343, allocations: 24.62 kB / 475.8 MB, free: 24.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001432/0.6358, allocations: 0.8557 MB / 476.7 MB, free: 24.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6358, allocations: 1.375 kB / 476.7 MB, free: 24.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001056/0.6368, allocations: 200.3 kB / 476.9 MB, free: 24.54 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 (66): * Single equations (assignments): 66 * 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.00027/0.6371, allocations: 123.6 kB / 477 MB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.6388, allocations: 0.9416 MB / 477.9 MB, free: 24.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6388, allocations: 0 / 477.9 MB, free: 24.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.6397, allocations: 499.8 kB / 478.4 MB, free: 24.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.6406, allocations: 85.28 kB / 478.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.6461, allocations: 3.328 MB / 481.8 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.6473, allocations: 1.282 MB / 483.1 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.6476, allocations: 55.52 kB / 483.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6476, allocations: 0 / 483.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of Templates: time 0.03383/0.6814, allocations: 10.7 MB / 493.9 MB, free: 18.84 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1CalcHelperMain.o] Error 1