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.001205/0.001205, allocations: 99.27 kB / 16.02 MB, free: 76 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.002095/0.002095, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.544/1.544, allocations: 223.2 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4338/0.4338, allocations: 28.84 MB / 320.9 MB, free: 6.164 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 8 kB / 389.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3715, allocations: 57.5 MB / 446.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.003358/0.3749, allocations: 3.206 MB / 449.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.3769, allocations: 0.7433 MB / 450.6 MB, free: 29.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.3773, allocations: 19.44 kB / 450.6 MB, free: 29.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.3776, allocations: 130.4 kB / 450.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3779, allocations: 92.31 kB / 450.8 MB, free: 29.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.3786, allocations: 324.5 kB / 451.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.3794, allocations: 0.8217 MB / 451.9 MB, free: 29.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007152/0.3801, allocations: 0.5942 MB / 452.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3803, allocations: 219.2 kB / 452.8 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.3806, allocations: 329.9 kB / 453.1 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.3807, allocations: 22.5 kB / 453.1 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3808, allocations: 47.94 kB / 453.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.3811, allocations: 360.5 kB / 453.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.3815, allocations: 0.5372 MB / 454 MB, free: 27.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.3821, allocations: 0.8028 MB / 454.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3822, allocations: 0 / 454.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3822, allocations: 0 / 454.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.3822, allocations: 0 / 454.8 MB, free: 27.69 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.001832/0.384, allocations: 1.529 MB / 456.4 MB, free: 26.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3841, allocations: 10.09 kB / 456.4 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.3843, allocations: 201 kB / 456.6 MB, free: 26.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.3851, allocations: 0.7556 MB / 457.3 MB, free: 25.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.3852, allocations: 76.47 kB / 457.4 MB, free: 25.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3853, allocations: 104.6 kB / 457.5 MB, free: 25.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3867, allocations: 1.182 MB / 458.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3868, allocations: 192 / 458.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.3868, allocations: 46.44 kB / 458.7 MB, free: 25.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.3869, allocations: 30.44 kB / 458.8 MB, free: 25.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.3884, allocations: 1.11 MB / 459.9 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/0.3933, allocations: 3.711 MB / 463.6 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.3952, allocations: 1.354 MB / 464.9 MB, free: 22.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.3959, allocations: 492.1 kB / 465.4 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/0.396, allocations: 35.27 kB / 465.5 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.3969, allocations: 0.5408 MB / 466 MB, free: 22.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.747e-06/0.3969, allocations: 0 / 466 MB, free: 22.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.003032/0.4, allocations: 1.572 MB / 467.6 MB, free: 21.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4, allocations: 64.33 kB / 467.6 MB, free: 21.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.4021, allocations: 1.294 MB / 468.9 MB, free: 21.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.4022, allocations: 37.06 kB / 469 MB, free: 21.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/0.4029, allocations: 0.7724 MB / 469.7 MB, free: 20.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.4031, allocations: 242.1 kB / 470 MB, free: 20.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4033, allocations: 65.2 kB / 470 MB, free: 20.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4034, allocations: 341.4 kB / 470.4 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.4041, allocations: 441.6 kB / 470.8 MB, free: 20.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.4048, allocations: 0.5472 MB / 471.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.4064, allocations: 1.046 MB / 472.4 MB, free: 19.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4064, allocations: 1.188 kB / 472.4 MB, free: 19.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001896/0.4083, allocations: 1.221 MB / 473.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4083, allocations: 6.375 kB / 473.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4083, allocations: 4.297 kB / 473.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.4084, allocations: 5.562 kB / 473.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.4089, allocations: 142.5 kB / 473.8 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.409, allocations: 11.14 kB / 473.8 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.4094, allocations: 57.47 kB / 473.8 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.4094, allocations: 29.44 kB / 473.9 MB, free: 19.07 MB / 350.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.0007442/0.4102, allocations: 389.9 kB / 474.2 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4103, allocations: 139.5 kB / 474.4 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.4125, allocations: 1.234 MB / 475.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4125, allocations: 11.5 kB / 475.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4125, allocations: 1.219 kB / 475.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4126, allocations: 3.703 kB / 475.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.4172, allocations: 2.419 MB / 478 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.4172, allocations: 1.312 kB / 478 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.4178, allocations: 115 kB / 478.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.4178, allocations: 2.156 kB / 478.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.4178, allocations: 16.31 kB / 478.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.4179, allocations: 6.062 kB / 478.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.4179, allocations: 8.859 kB / 478.2 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.4208, allocations: 1.93 MB / 480.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.4212, allocations: 252.4 kB / 480.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.4213, allocations: 16 kB / 480.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4215, allocations: 9.359 kB / 480.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.4217, allocations: 52.11 kB / 480.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.4217, allocations: 26 kB / 480.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.4232, allocations: 0.8993 MB / 481.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4232, allocations: 0 / 481.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007427/0.424, allocations: 218.9 kB / 481.6 MB, free: 14.95 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: 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.0002199/0.4242, allocations: 115.6 kB / 481.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.4256, allocations: 1.021 MB / 482.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4256, allocations: 4 kB / 482.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.4262, allocations: 0.5251 MB / 483.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.427, allocations: 88.41 kB / 483.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.4311, allocations: 3.518 MB / 486.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.4321, allocations: 1.31 MB / 488.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.4323, allocations: 62.44 kB / 488.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4323, allocations: 0 / 488.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01796/0.4503, allocations: 11.02 MB / 499.2 MB, free: 13.95 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