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.001136/0.001136, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009027/0.0009028, allocations: 194.3 kB / 16.79 MB, free: 6.812 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.691/1.691, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.594/0.594, allocations: 28.81 MB / 319.4 MB, free: 5.934 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.92 kB / 386.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6143, allocations: 56.42 MB / 443 MB, free: 39.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.00671/0.6211, allocations: 3.694 MB / 446.7 MB, free: 37.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.6243, allocations: 0.8047 MB / 447.5 MB, free: 37.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.6248, allocations: 21.81 kB / 447.5 MB, free: 37.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.6254, allocations: 114.3 kB / 447.6 MB, free: 37.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.6256, allocations: 67.17 kB / 447.7 MB, free: 37.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.6265, allocations: 407.7 kB / 448.1 MB, free: 37.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009434/0.6274, allocations: 0.9346 MB / 449 MB, free: 36.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.6283, allocations: 0.685 MB / 449.7 MB, free: 36.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.6286, allocations: 310.6 kB / 450 MB, free: 36.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.6289, allocations: 387.4 kB / 450.4 MB, free: 36.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.6291, allocations: 56.38 kB / 450.4 MB, free: 36.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.6293, allocations: 78.81 kB / 450.5 MB, free: 36.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.6295, allocations: 244.8 kB / 450.8 MB, free: 35.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.6299, allocations: 493.4 kB / 451.2 MB, free: 35.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.6307, allocations: 0.8804 MB / 452.1 MB, free: 35.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6307, allocations: 0 / 452.1 MB, free: 35.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6307, allocations: 0 / 452.1 MB, free: 35.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.6307, allocations: 0 / 452.1 MB, free: 35.24 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001973/0.6327, allocations: 1.38 MB / 453.5 MB, free: 34.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.6328, allocations: 11.12 kB / 453.5 MB, free: 34.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.633, allocations: 142 kB / 453.7 MB, free: 34.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.6339, allocations: 0.6939 MB / 454.3 MB, free: 33.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.6339, allocations: 84.17 kB / 454.4 MB, free: 33.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.6341, allocations: 108.1 kB / 454.5 MB, free: 33.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.6357, allocations: 1.093 MB / 455.6 MB, free: 33.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.6357, allocations: 10.28 kB / 455.6 MB, free: 33.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.6358, allocations: 46.84 kB / 455.7 MB, free: 32.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.6358, allocations: 28.34 kB / 455.7 MB, free: 32.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.637, allocations: 0.7054 MB / 456.4 MB, free: 32.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004034/0.6411, allocations: 4.139 MB / 460.6 MB, free: 29.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.6419, allocations: 455.5 kB / 461 MB, free: 29.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.6422, allocations: 190.2 kB / 461.2 MB, free: 29.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.6423, allocations: 18.75 kB / 461.2 MB, free: 29.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6423, allocations: 41.59 kB / 461.2 MB, free: 29.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.6423, allocations: 0 / 461.2 MB, free: 29.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001089/0.6434, allocations: 0.6435 MB / 461.9 MB, free: 29.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.6435, allocations: 57.97 kB / 461.9 MB, free: 29.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/0.6443, allocations: 0.6705 MB / 462.6 MB, free: 29.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.6444, allocations: 36.72 kB / 462.6 MB, free: 28.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.6448, allocations: 0.5847 MB / 463.2 MB, free: 28.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6449, allocations: 129.5 kB / 463.4 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.6451, allocations: 105.9 kB / 463.5 MB, free: 28.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6452, allocations: 326 kB / 463.8 MB, free: 28.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.6455, allocations: 203 kB / 464 MB, free: 28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.646, allocations: 366.5 kB / 464.3 MB, free: 27.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.6467, allocations: 0.5795 MB / 464.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6467, allocations: 2.969 kB / 464.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009802/0.6477, allocations: 0.6585 MB / 465.6 MB, free: 27.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.6478, allocations: 12.91 kB / 465.6 MB, free: 27.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6478, allocations: 3.031 kB / 465.6 MB, free: 27.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.6478, allocations: 9.062 kB / 465.6 MB, free: 27.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.6482, allocations: 96.67 kB / 465.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.6482, allocations: 11.94 kB / 465.7 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.6484, allocations: 62.62 kB / 465.8 MB, free: 27.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.6485, allocations: 21.16 kB / 465.8 MB, free: 27.07 MB / 366.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.0004532/0.6489, allocations: 280.3 kB / 466.1 MB, free: 26.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.649, allocations: 65.59 kB / 466.1 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008802/0.6499, allocations: 0.5428 MB / 466.7 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6499, allocations: 6 kB / 466.7 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6499, allocations: 0 / 466.7 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6499, allocations: 0 / 466.7 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000957/0.6509, allocations: 0.8414 MB / 467.5 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.6509, allocations: 0 / 467.5 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.6513, allocations: 65.8 kB / 467.6 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6513, allocations: 0 / 467.6 MB, free: 26.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.6513, allocations: 16.06 kB / 467.6 MB, free: 26.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6513, allocations: 2.594 kB / 467.6 MB, free: 26.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6513, allocations: 0 / 467.6 MB, free: 26.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.6525, allocations: 0.8361 MB / 468.4 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6526, allocations: 143.2 kB / 468.6 MB, free: 25.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.6527, allocations: 7.875 kB / 468.6 MB, free: 25.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.6528, allocations: 15.55 kB / 468.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.6529, allocations: 25.14 kB / 468.6 MB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.653, allocations: 15.16 kB / 468.6 MB, free: 25.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.6535, allocations: 472 kB / 469.1 MB, free: 25.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6535, allocations: 0 / 469.1 MB, free: 25.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005454/0.6541, allocations: 197.7 kB / 469.3 MB, free: 25.4 MB / 366.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.00024/0.6543, allocations: 116.6 kB / 469.4 MB, free: 25.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000724/0.6551, allocations: 483.7 kB / 469.9 MB, free: 25.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6551, allocations: 0 / 469.9 MB, free: 25.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.6554, allocations: 226.5 kB / 470.1 MB, free: 25.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.6561, allocations: 104.9 kB / 470.2 MB, free: 25.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.6593, allocations: 2.326 MB / 472.5 MB, free: 23.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.6601, allocations: 1.069 MB / 473.6 MB, free: 22.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6603, allocations: 43.88 kB / 473.6 MB, free: 22.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6603, allocations: 0 / 473.6 MB, free: 22.86 MB / 366.1 MB Notification: Performance of Templates: time 0.02123/0.6815, allocations: 8.867 MB / 482.5 MB, free: 21.55 MB / 366.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