Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.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.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 91.92 kB / 16.02 MB, free: 80 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.001778/0.001778, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.54/1.54, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3595/0.3595, allocations: 28.84 MB / 320.9 MB, free: 6.059 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 8 kB / 389.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4206, allocations: 57.48 MB / 446.6 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003197/0.4238, allocations: 3.232 MB / 449.8 MB, free: 30.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4257, allocations: 0.801 MB / 450.6 MB, free: 30.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.4261, allocations: 19.75 kB / 450.7 MB, free: 30.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.4265, allocations: 114.5 kB / 450.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.4268, allocations: 76.42 kB / 450.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.4274, allocations: 392.6 kB / 451.2 MB, free: 29.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.4282, allocations: 0.9363 MB / 452.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.4289, allocations: 0.671 MB / 452.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.4291, allocations: 215.8 kB / 453.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.4293, allocations: 287.4 kB / 453.3 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.4294, allocations: 23.44 kB / 453.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4295, allocations: 43.28 kB / 453.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.4297, allocations: 187.9 kB / 453.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.4299, allocations: 446.8 kB / 454 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.4306, allocations: 0.8565 MB / 454.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4306, allocations: 0 / 454.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4306, allocations: 0 / 454.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4306, allocations: 2.125 kB / 454.9 MB, free: 27.82 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001429/0.432, allocations: 1.156 MB / 456 MB, free: 26.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4321, allocations: 9.094 kB / 456 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4323, allocations: 138.5 kB / 456.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.433, allocations: 0.6863 MB / 456.9 MB, free: 26.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.433, allocations: 92.83 kB / 457 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4332, allocations: 111.8 kB / 457.1 MB, free: 26.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.4347, allocations: 1.094 MB / 458.2 MB, free: 25.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4347, allocations: 4 kB / 458.2 MB, free: 25.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.4348, allocations: 49.16 kB / 458.2 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.4348, allocations: 25.47 kB / 458.2 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.436, allocations: 0.7209 MB / 459 MB, free: 25.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.4401, allocations: 4.147 MB / 463.1 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.441, allocations: 463.6 kB / 463.6 MB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.4413, allocations: 202.2 kB / 463.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.4414, allocations: 18.7 kB / 463.8 MB, free: 22.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4414, allocations: 37.47 kB / 463.8 MB, free: 22.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.4414, allocations: 0 / 463.8 MB, free: 22.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001187/0.4426, allocations: 0.6496 MB / 464.5 MB, free: 22.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4427, allocations: 58.75 kB / 464.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.4436, allocations: 0.6732 MB / 465.2 MB, free: 21.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.4437, allocations: 31.95 kB / 465.2 MB, free: 21.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.444, allocations: 0.588 MB / 465.8 MB, free: 21.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.4441, allocations: 129.6 kB / 465.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.4442, allocations: 52.91 kB / 466 MB, free: 21.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.4443, allocations: 328.9 kB / 466.3 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.4446, allocations: 217.1 kB / 466.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.445, allocations: 357.8 kB / 466.9 MB, free: 20.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.4458, allocations: 0.5926 MB / 467.5 MB, free: 20.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4458, allocations: 1.938 kB / 467.5 MB, free: 20.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001046/0.4469, allocations: 0.6714 MB / 468.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4469, allocations: 6.594 kB / 468.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4469, allocations: 4.406 kB / 468.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.447, allocations: 8.844 kB / 468.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.4474, allocations: 101.5 kB / 468.2 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4474, allocations: 8.719 kB / 468.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.4477, allocations: 59.5 kB / 468.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.4477, allocations: 21.7 kB / 468.3 MB, free: 19.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0004382/0.4482, allocations: 282.2 kB / 468.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4483, allocations: 67.3 kB / 468.7 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/0.4493, allocations: 0.5537 MB / 469.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4493, allocations: 3.594 kB / 469.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4493, allocations: 0.7031 kB / 469.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4493, allocations: 2.734 kB / 469.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.4505, allocations: 0.8463 MB / 470.1 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4505, allocations: 0 / 470.1 MB, free: 18.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.4509, allocations: 65.16 kB / 470.1 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.4509, allocations: 2.938 kB / 470.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.4509, allocations: 12.73 kB / 470.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4509, allocations: 1.734 kB / 470.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4509, allocations: 0 / 470.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4522, allocations: 0.8526 MB / 471 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4523, allocations: 139.8 kB / 471.2 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.4524, allocations: 11.73 kB / 471.2 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.4526, allocations: 11.91 kB / 471.2 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.4527, allocations: 31.03 kB / 471.2 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4527, allocations: 8.891 kB / 471.2 MB, free: 18.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000651/0.4534, allocations: 474.5 kB / 471.7 MB, free: 18.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4534, allocations: 0 / 471.7 MB, free: 18.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006759/0.4541, allocations: 192.7 kB / 471.9 MB, free: 18.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.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 (36): * Single equations (assignments): 36 * 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.0001948/0.4543, allocations: 128.4 kB / 472 MB, free: 18.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.4551, allocations: 494.9 kB / 472.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4551, allocations: 1.25 kB / 472.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.4555, allocations: 230 kB / 472.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.4561, allocations: 111.5 kB / 472.8 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.4596, allocations: 2.354 MB / 475.2 MB, free: 16.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.4605, allocations: 1.064 MB / 476.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4607, allocations: 46.38 kB / 476.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.793e-06/0.4607, allocations: 0 / 476.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01811/0.4788, allocations: 8.717 MB / 485 MB, free: 12.26 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.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.World3.Human_FertilityCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World3.Human_FertilityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World3.Human_FertilityCalcHelperMain.o] Error 1