Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008629/0.00863, allocations: 100.9 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.001371/0.001371, allocations: 189.5 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.702/1.702, allocations: 222.9 MB / 240.4 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.5554/0.5554, allocations: 28.81 MB / 319.4 MB, free: 5.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 55.92 kB / 386.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.6592, allocations: 56.41 MB / 443 MB, free: 39.78 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.007398/0.6667, allocations: 3.666 MB / 446.7 MB, free: 37.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.6698, allocations: 0.7578 MB / 447.4 MB, free: 37.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.6703, allocations: 18.47 kB / 447.4 MB, free: 37.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.6708, allocations: 117.8 kB / 447.5 MB, free: 37.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.6712, allocations: 100.6 kB / 447.6 MB, free: 37.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.672, allocations: 326 kB / 448 MB, free: 37.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.6729, allocations: 0.8287 MB / 448.8 MB, free: 37.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.6738, allocations: 0.6211 MB / 449.4 MB, free: 36.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.6741, allocations: 310.6 kB / 449.7 MB, free: 36.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.6745, allocations: 438.9 kB / 450.1 MB, free: 36.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.6746, allocations: 59.19 kB / 450.2 MB, free: 36.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.6748, allocations: 78.8 kB / 450.3 MB, free: 36.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.6752, allocations: 427.6 kB / 450.7 MB, free: 36.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.6757, allocations: 0.586 MB / 451.3 MB, free: 35.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007712/0.6765, allocations: 0.8204 MB / 452.1 MB, free: 35.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6765, allocations: 0 / 452.1 MB, free: 35.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6765, allocations: 0 / 452.1 MB, free: 35.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.6765, allocations: 3.938 kB / 452.1 MB, free: 35.55 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002376/0.6789, allocations: 1.811 MB / 453.9 MB, free: 34.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.679, allocations: 12.16 kB / 453.9 MB, free: 34.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.6792, allocations: 201.2 kB / 454.1 MB, free: 34.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.6801, allocations: 0.7495 MB / 454.9 MB, free: 33.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.6802, allocations: 81.84 kB / 455 MB, free: 33.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.6803, allocations: 104 kB / 455.1 MB, free: 33.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.6819, allocations: 1.176 MB / 456.2 MB, free: 33.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.682, allocations: 192 / 456.2 MB, free: 33.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.6821, allocations: 46.84 kB / 456.3 MB, free: 33.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.6821, allocations: 24.62 kB / 456.3 MB, free: 33.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.6836, allocations: 1.11 MB / 457.4 MB, free: 32.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.6882, allocations: 3.706 MB / 461.1 MB, free: 30.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.6901, allocations: 1.356 MB / 462.5 MB, free: 30.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.6907, allocations: 495.1 kB / 463 MB, free: 30.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.724e-05/0.6908, allocations: 29.14 kB / 463 MB, free: 30.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.6917, allocations: 0.5465 MB / 463.5 MB, free: 30.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.6918, allocations: 0 / 463.5 MB, free: 30.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002167/0.6939, allocations: 1.568 MB / 465.1 MB, free: 29.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.694, allocations: 67.83 kB / 465.2 MB, free: 29.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.6956, allocations: 1.294 MB / 466.5 MB, free: 29.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.6956, allocations: 40.42 kB / 466.5 MB, free: 29.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.6963, allocations: 0.765 MB / 467.3 MB, free: 28.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.6965, allocations: 243.5 kB / 467.5 MB, free: 28.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.6968, allocations: 127.1 kB / 467.6 MB, free: 28.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6969, allocations: 337.7 kB / 468 MB, free: 27.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.6975, allocations: 449.3 kB / 468.4 MB, free: 27.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/0.6984, allocations: 0.5486 MB / 468.9 MB, free: 27.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.7004, allocations: 1.045 MB / 470 MB, free: 27.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7004, allocations: 1.469 kB / 470 MB, free: 27.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002276/0.7027, allocations: 1.221 MB / 471.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.7027, allocations: 6.719 kB / 471.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.7027, allocations: 6.094 kB / 471.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.7028, allocations: 6.781 kB / 471.2 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.7033, allocations: 139.6 kB / 471.4 MB, free: 26.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.7034, allocations: 6.75 kB / 471.4 MB, free: 26.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.7037, allocations: 61.19 kB / 471.4 MB, free: 26.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.7037, allocations: 26.7 kB / 471.5 MB, free: 26.75 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) "Minimum quality of life" type: Real min_dPop:DISCRETE(unit = "1/yr" fixed = true ) "Minimal derivative of population" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,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 (89): * Single equations (assignments): 89 * 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.0007152/0.7045, allocations: 398.2 kB / 471.9 MB, free: 26.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.7047, allocations: 143.1 kB / 472 MB, free: 26.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.7071, allocations: 1.23 MB / 473.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.7071, allocations: 11.16 kB / 473.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.7072, allocations: 4 kB / 473.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7072, allocations: 4.547 kB / 473.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.7115, allocations: 2.414 MB / 475.7 MB, free: 25.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7115, allocations: 4.828 kB / 475.7 MB, free: 25.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.7121, allocations: 115.2 kB / 475.8 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.7121, allocations: 6.328 kB / 475.8 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.7122, allocations: 13.31 kB / 475.8 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.7122, allocations: 3 kB / 475.8 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7122, allocations: 3.938 kB / 475.8 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.7154, allocations: 1.933 MB / 477.7 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.7157, allocations: 248.1 kB / 478 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.7158, allocations: 14.78 kB / 478 MB, free: 24.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.716, allocations: 12.22 kB / 478 MB, free: 24.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7162, allocations: 45.48 kB / 478 MB, free: 24.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.7162, allocations: 21.02 kB / 478.1 MB, free: 24.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.7179, allocations: 0.9002 MB / 479 MB, free: 23.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7179, allocations: 5.125 kB / 479 MB, free: 23.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009024/0.7188, allocations: 214.8 kB / 479.2 MB, free: 23.88 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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000302/0.7191, allocations: 123.8 kB / 479.3 MB, free: 23.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.7211, allocations: 1.017 MB / 480.3 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7211, allocations: 1.281 kB / 480.3 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.7221, allocations: 0.5311 MB / 480.8 MB, free: 23.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.7229, allocations: 90.09 kB / 480.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.729, allocations: 3.479 MB / 484.4 MB, free: 21.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.7304, allocations: 1.312 MB / 485.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.7306, allocations: 58.11 kB / 485.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7306, allocations: 3.938 kB / 485.8 MB, free: 20.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02357/0.7542, allocations: 11.2 MB / 497 MB, free: 15.75 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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_6CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6CalcHelperMain.o] Error 1