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.001134/0.001134, allocations: 102.6 kB / 15.71 MB, free: 460 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.00164/0.00164, allocations: 176 kB / 16.58 MB, free: 6.859 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.577/1.577, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3936/0.3936, allocations: 28.85 MB / 320.6 MB, free: 6.273 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 8 kB / 388.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4498, allocations: 57.48 MB / 446 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003035/0.4529, allocations: 2.975 MB / 449 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.4542, allocations: 0.7993 MB / 449.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.4546, allocations: 19.22 kB / 449.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.455, allocations: 109.8 kB / 449.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.4552, allocations: 52.23 kB / 449.9 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.4558, allocations: 262.6 kB / 450.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008159/0.4566, allocations: 0.8934 MB / 451.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.4573, allocations: 0.503 MB / 451.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.4575, allocations: 214.7 kB / 451.8 MB, free: 28.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.4578, allocations: 265.1 kB / 452.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.4578, allocations: 20.09 kB / 452.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.458, allocations: 47.25 kB / 452.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.4581, allocations: 191.6 kB / 452.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4583, allocations: 197.4 kB / 452.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.459, allocations: 0.8524 MB / 453.4 MB, free: 28.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.459, allocations: 0 / 453.4 MB, free: 28.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.459, allocations: 0 / 453.4 MB, free: 28.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.459, allocations: 0 / 453.4 MB, free: 28.31 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.001431/0.4605, allocations: 1.167 MB / 454.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4605, allocations: 10.53 kB / 454.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.4607, allocations: 138.7 kB / 454.7 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.4614, allocations: 0.6617 MB / 455.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.4615, allocations: 84.98 kB / 455.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4616, allocations: 119.9 kB / 455.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.4631, allocations: 1.09 MB / 456.6 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4632, allocations: 0 / 456.6 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.4633, allocations: 49.12 kB / 456.7 MB, free: 26.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.4633, allocations: 26.25 kB / 456.7 MB, free: 26.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4644, allocations: 0.706 MB / 457.4 MB, free: 25.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.4684, allocations: 4.163 MB / 461.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.4694, allocations: 463 kB / 462 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.4698, allocations: 191.7 kB / 462.2 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.4698, allocations: 14.77 kB / 462.2 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4699, allocations: 37.47 kB / 462.3 MB, free: 22.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 3.546e-06/0.4699, allocations: 4 kB / 462.3 MB, free: 22.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001184/0.4711, allocations: 0.6527 MB / 462.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4711, allocations: 59.75 kB / 463 MB, free: 22.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.4721, allocations: 0.6659 MB / 463.6 MB, free: 22.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4721, allocations: 35.8 kB / 463.7 MB, free: 22.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.4725, allocations: 0.5844 MB / 464.3 MB, free: 21.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.4726, allocations: 127.2 kB / 464.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.4727, allocations: 14.19 kB / 464.4 MB, free: 21.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.4728, allocations: 325 kB / 464.7 MB, free: 21.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.4731, allocations: 210.3 kB / 464.9 MB, free: 21.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.4736, allocations: 359 kB / 465.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.474, allocations: 258.3 kB / 465.5 MB, free: 20.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.474, allocations: 1.094 kB / 465.5 MB, free: 20.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001167/0.4752, allocations: 0.6649 MB / 466.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4753, allocations: 8.781 kB / 466.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4753, allocations: 4.781 kB / 466.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.4753, allocations: 12.67 kB / 466.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.4757, allocations: 106 kB / 466.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.4757, allocations: 11.78 kB / 466.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.476, allocations: 60.11 kB / 466.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.476, allocations: 21.47 kB / 466.4 MB, free: 20.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.4765, allocations: 275.8 kB / 466.7 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.4766, allocations: 66.06 kB / 466.7 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.4775, allocations: 0.5519 MB / 467.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.4775, allocations: 8.453 kB / 467.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4775, allocations: 3.141 kB / 467.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4776, allocations: 0 / 467.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4788, allocations: 0.8413 MB / 468.1 MB, free: 19.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4788, allocations: 5.375 kB / 468.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.4791, allocations: 73.17 kB / 468.2 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4791, allocations: 1.125 kB / 468.2 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4792, allocations: 9.656 kB / 468.2 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.4792, allocations: 0.9688 kB / 468.2 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4792, allocations: 5.641 kB / 468.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.4804, allocations: 0.8414 MB / 469.1 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4806, allocations: 145 kB / 469.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.4806, allocations: 7.969 kB / 469.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4808, allocations: 11.38 kB / 469.2 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.4809, allocations: 28.02 kB / 469.3 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4809, allocations: 15.42 kB / 469.3 MB, free: 19.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006427/0.4816, allocations: 468.1 kB / 469.7 MB, free: 19 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.31e-07/0.4816, allocations: 1.219 kB / 469.7 MB, free: 19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006397/0.4822, allocations: 196.1 kB / 469.9 MB, free: 18.92 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 (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.0001874/0.4824, allocations: 116.3 kB / 470 MB, free: 18.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.4833, allocations: 500 kB / 470.5 MB, free: 18.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4833, allocations: 0 / 470.5 MB, free: 18.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.4837, allocations: 223.1 kB / 470.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.4844, allocations: 104.2 kB / 470.9 MB, free: 18.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.4883, allocations: 2.222 MB / 473.1 MB, free: 17.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.4894, allocations: 1.069 MB / 474.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.4896, allocations: 42.09 kB / 474.2 MB, free: 16.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4896, allocations: 192 / 474.2 MB, free: 16.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01989/0.5095, allocations: 8.748 MB / 482.9 MB, free: 13.65 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++ 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.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