Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.001901, allocations: 100.1 kB / 15.88 MB, free: 12 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.002761/0.002761, allocations: 198 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.658/2.658, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003975/0.003975, allocations: 290.3 kB / 290.9 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.889/1.889, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 92.19 kB / 0.5951 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.385, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.007549/0.3927, allocations: 1.583 MB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3938, allocations: 128.5 kB / 0.6817 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.3939, allocations: 0.5312 kB / 0.6817 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.779e-05/0.394, allocations: 3.938 kB / 0.6818 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.3942, allocations: 0.9375 kB / 0.6818 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3947, allocations: 31.95 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3948, allocations: 37.05 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.395, allocations: 12 kB / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.3951, allocations: 15.92 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3952, allocations: 23.91 kB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3952, allocations: 0 / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.3954, allocations: 19.92 kB / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.3954, allocations: 4 kB / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.3955, allocations: 19.86 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3957, allocations: 32.22 kB / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3957, allocations: 0 / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3957, allocations: 0 / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3958, allocations: 4 kB / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008848/0.3967, allocations: 351.4 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.791e-05/0.3967, allocations: 12.03 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.3968, allocations: 0.9375 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.3971, allocations: 176.3 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.3971, allocations: 4.375 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3972, allocations: 4.375 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.3976, allocations: 62.23 kB / 0.6825 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3977, allocations: 4.172 kB / 0.6825 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3977, allocations: 3.938 kB / 0.6825 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.3977, allocations: 0 / 0.6825 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.398, allocations: 51.89 kB / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.399, allocations: 276.8 kB / 0.6828 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.3996, allocations: 62.53 kB / 0.6829 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3998, allocations: 24.91 kB / 0.6829 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.4004, allocations: 397.5 kB / 0.6833 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4005, allocations: 34.5 kB / 0.6833 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 4.589e-06/0.4005, allocations: 0 / 0.6833 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000674/0.4012, allocations: 105.5 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.4013, allocations: 51.41 kB / 0.6835 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4015, allocations: 109.9 kB / 0.6836 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.4015, allocations: 25.7 kB / 0.6836 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4016, allocations: 88.64 kB / 0.6837 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4017, allocations: 11.89 kB / 0.6837 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.4018, allocations: 21.72 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.402, allocations: 314.8 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4022, allocations: 23.97 kB / 0.6841 GB, free: 12.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4023, allocations: 15.98 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4026, allocations: 52.75 kB / 0.6841 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4027, allocations: 0 / 0.6841 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004757/0.4031, allocations: 77.66 kB / 0.6842 GB, free: 12.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.4032, allocations: 4 kB / 0.6842 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4032, allocations: 0 / 0.6842 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4032, allocations: 0 / 0.6842 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4034, allocations: 11.98 kB / 0.6842 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4034, allocations: 320 / 0.6842 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.4035, allocations: 15.83 kB / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4036, allocations: 4 kB / 0.6842 GB, free: 12.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001578/0.4037, allocations: 119 kB / 0.6843 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.404, allocations: 4 kB / 0.6844 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.4044, allocations: 85.53 kB / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4045, allocations: 384 / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4045, allocations: 0 / 0.6844 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4045, allocations: 7.984 kB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.4051, allocations: 169.5 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4052, allocations: 8 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.4053, allocations: 7.984 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4053, allocations: 7.984 kB / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4054, allocations: 0 / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4054, allocations: 0 / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4054, allocations: 0 / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.4058, allocations: 179.3 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.4059, allocations: 85.03 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4059, allocations: 8 kB / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4061, allocations: 0 / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.4062, allocations: 11.98 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4062, allocations: 4 kB / 0.6849 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.4064, allocations: 87.27 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4064, allocations: 0 / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.4069, allocations: 8 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003148/0.4072, allocations: 103.2 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.4077, allocations: 51.89 kB / 0.6851 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4077, allocations: 0 / 0.6851 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4079, allocations: 23.97 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.4086, allocations: 7.938 kB / 0.6852 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.4093, allocations: 153 kB / 0.6853 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.41, allocations: 0.6848 MB / 0.686 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.41, allocations: 11.44 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4101, allocations: 0 / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of Templates: time 0.004863/0.4149, allocations: 0.8004 MB / 0.6868 GB, free: 9.828 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1