Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 100.8 kB / 15.71 MB, free: 452 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.001799/0.001799, allocations: 178.4 kB / 16.58 MB, free: 6.422 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.599/1.599, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.458/0.458, allocations: 28.84 MB / 320.5 MB, free: 6.285 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004824, allocations: 12 kB / 388.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4095, allocations: 57.48 MB / 446 MB, free: 32.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003276/0.4129, allocations: 2.91 MB / 448.9 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4143, allocations: 0.6551 MB / 449.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.4146, allocations: 18.75 kB / 449.6 MB, free: 30.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.415, allocations: 120.5 kB / 449.7 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.4152, allocations: 94.19 kB / 449.8 MB, free: 30.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.4158, allocations: 252.4 kB / 450 MB, free: 29.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.4165, allocations: 0.7701 MB / 450.8 MB, free: 29.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006444/0.4171, allocations: 491.8 kB / 451.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.4173, allocations: 235.5 kB / 451.5 MB, free: 29.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.4176, allocations: 310.7 kB / 451.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.4177, allocations: 20.62 kB / 451.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.4178, allocations: 46.42 kB / 451.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.4181, allocations: 337.8 kB / 452.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.4182, allocations: 235.8 kB / 452.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.4189, allocations: 0.7937 MB / 453.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4189, allocations: 0 / 453.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4189, allocations: 0 / 453.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.4189, allocations: 0 / 453.2 MB, free: 28.6 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001639/0.4206, allocations: 1.525 MB / 454.8 MB, free: 27.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4206, allocations: 11.69 kB / 454.8 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4208, allocations: 196.3 kB / 455 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.4215, allocations: 0.6833 MB / 455.6 MB, free: 26.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.4216, allocations: 79.03 kB / 455.7 MB, free: 26.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4217, allocations: 99.31 kB / 455.8 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4232, allocations: 1.156 MB / 457 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4232, allocations: 0 / 457 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.4233, allocations: 46.5 kB / 457 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.4233, allocations: 23.62 kB / 457 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.4248, allocations: 1.088 MB / 458.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.43, allocations: 3.685 MB / 461.8 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.4321, allocations: 1.321 MB / 463.1 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.4328, allocations: 483.2 kB / 463.6 MB, free: 23.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.4329, allocations: 31.42 kB / 463.6 MB, free: 23.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.433, allocations: 42.12 kB / 463.7 MB, free: 23.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.406e-06/0.433, allocations: 0 / 463.7 MB, free: 23.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.002311/0.4353, allocations: 1.508 MB / 465.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4354, allocations: 61.81 kB / 465.2 MB, free: 23.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4372, allocations: 1.275 MB / 466.5 MB, free: 22.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.4373, allocations: 37.08 kB / 466.6 MB, free: 22.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.4379, allocations: 0.7673 MB / 467.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.4381, allocations: 231.5 kB / 467.6 MB, free: 21.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.4381, allocations: 14.31 kB / 467.6 MB, free: 21.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4383, allocations: 332.5 kB / 467.9 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.4389, allocations: 432.2 kB / 468.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.4396, allocations: 0.5204 MB / 468.8 MB, free: 21.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.4403, allocations: 477.7 kB / 469.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4403, allocations: 5.312 kB / 469.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001791/0.4421, allocations: 1.176 MB / 470.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4421, allocations: 7.188 kB / 470.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4421, allocations: 2.188 kB / 470.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.4422, allocations: 5.719 kB / 470.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.4427, allocations: 132.2 kB / 470.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.4427, allocations: 6.625 kB / 470.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.443, allocations: 60.08 kB / 470.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.443, allocations: 24.64 kB / 470.7 MB, free: 20.61 MB / 350.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 (82): * Single equations (assignments): 82 * 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.0005297/0.4436, allocations: 373.8 kB / 471.1 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.4437, allocations: 139 kB / 471.2 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.4456, allocations: 1.192 MB / 472.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4456, allocations: 10.22 kB / 472.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4456, allocations: 0.8906 kB / 472.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.4456, allocations: 4.078 kB / 472.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.4492, allocations: 2.362 MB / 474.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4492, allocations: 0 / 474.8 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.4496, allocations: 109.4 kB / 474.9 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4497, allocations: 2.188 kB / 474.9 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.4497, allocations: 18.28 kB / 474.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.4497, allocations: 7.047 kB / 474.9 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4497, allocations: 0 / 474.9 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4522, allocations: 1.868 MB / 476.8 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.4524, allocations: 197.9 kB / 477 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.4525, allocations: 11.53 kB / 477 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.4527, allocations: 14.73 kB / 477 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4529, allocations: 39.64 kB / 477 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.4529, allocations: 21.64 kB / 477.1 MB, free: 18.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.4543, allocations: 0.886 MB / 478 MB, free: 17.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4543, allocations: 0 / 478 MB, free: 17.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006331/0.4549, allocations: 211.9 kB / 478.2 MB, free: 17.6 MB / 350.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 (67): * Single equations (assignments): 67 * 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.000179/0.4551, allocations: 116 kB / 478.3 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4563, allocations: 0.9908 MB / 479.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4563, allocations: 0 / 479.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.4568, allocations: 0.5056 MB / 479.8 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.4574, allocations: 88.25 kB / 479.9 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.4612, allocations: 3.292 MB / 483.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/0.4621, allocations: 1.305 MB / 484.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.4623, allocations: 57.97 kB / 484.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4623, allocations: 0 / 484.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01357/0.4758, allocations: 10.88 MB / 495.4 MB, free: 1.41 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.o] Error 1