Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, 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.002428/0.002428, allocations: 195.5 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.684/2.684, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003971/0.003971, allocations: 298.8 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.021/2.021, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003442/0.003442, allocations: 93.02 kB / 0.5951 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3774, allocations: 86.99 MB / 0.6801 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.003211/0.3807, allocations: 0.6357 MB / 0.6807 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004627/0.3812, allocations: 51.28 kB / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.3812, allocations: 0 / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.3813, allocations: 0 / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.286e-06/0.3813, allocations: 0 / 0.6808 GB, free: 468 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3816, allocations: 4 kB / 0.6808 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.3817, allocations: 7.938 kB / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.3818, allocations: 8.062 kB / 0.6808 GB, free: 448 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.3818, allocations: 7.922 kB / 0.6808 GB, free: 440 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.3819, allocations: 0 / 0.6808 GB, free: 440 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3819, allocations: 3.938 kB / 0.6808 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.382, allocations: 16.61 kB / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3821, allocations: 4.656 kB / 0.6808 GB, free: 416 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.3821, allocations: 0 / 0.6808 GB, free: 416 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3822, allocations: 0.5 kB / 0.6808 GB, free: 416 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3822, allocations: 4.719 kB / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3822, allocations: 0 / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3823, allocations: 0.5312 kB / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004815/0.3828, allocations: 321.5 kB / 0.6811 GB, free: 40 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.3828, allocations: 8.031 kB / 0.6811 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.3829, allocations: 0.9375 kB / 0.6811 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3831, allocations: 164.4 kB / 0.6813 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3831, allocations: 8.375 kB / 0.6813 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3831, allocations: 384 / 0.6813 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3833, allocations: 30.27 kB / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3833, allocations: 192 / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3834, allocations: 3.938 kB / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3834, allocations: 0 / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.3834, allocations: 7.938 kB / 0.6813 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.3837, allocations: 149.7 kB / 0.6815 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.3838, allocations: 30.61 kB / 0.6815 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.3838, allocations: 4.859 kB / 0.6815 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.3841, allocations: 89.14 kB / 0.6816 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3842, allocations: 30.56 kB / 0.6816 GB, free: 15.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.3842, allocations: 0 / 0.6816 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002328/0.3844, allocations: 49.56 kB / 0.6817 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3845, allocations: 59.39 kB / 0.6817 GB, free: 15.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.3846, allocations: 93.98 kB / 0.6818 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3846, allocations: 25.7 kB / 0.6818 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.3847, allocations: 80.14 kB / 0.6819 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3847, allocations: 8.125 kB / 0.6819 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.3848, allocations: 17.72 kB / 0.6819 GB, free: 15.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3849, allocations: 310.8 kB / 0.6822 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.385, allocations: 0 / 0.6822 GB, free: 14.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.385, allocations: 4 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.3851, allocations: 24.91 kB / 0.6823 GB, free: 14.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3851, allocations: 0 / 0.6823 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/0.3852, allocations: 37.64 kB / 0.6823 GB, free: 14.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3852, allocations: 4 kB / 0.6823 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3852, allocations: 4 kB / 0.6823 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3853, allocations: 7.875 kB / 0.6823 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.3854, allocations: 3.984 kB / 0.6823 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3854, allocations: 11.92 kB / 0.6823 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.3854, allocations: 0 / 0.6823 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3855, allocations: 8.031 kB / 0.6823 GB, free: 14.59 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001253/0.3856, allocations: 107.2 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3856, allocations: 4 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.3858, allocations: 48.69 kB / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3858, allocations: 0 / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3858, allocations: 4 kB / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3858, allocations: 0 / 0.6825 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.386, allocations: 141.7 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.386, allocations: 3.984 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.386, allocations: 8.031 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3861, allocations: 0 / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3861, allocations: 3.938 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3861, allocations: 0 / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3861, allocations: 4 kB / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3862, allocations: 61.12 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.3863, allocations: 77.11 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3864, allocations: 7.969 kB / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.3864, allocations: 4 kB / 0.6828 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3864, allocations: 7.938 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3865, allocations: 0 / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.3865, allocations: 75.28 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3865, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3869, allocations: 4 kB / 0.6829 GB, free: 13.94 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002895/0.3872, allocations: 103.2 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3873, allocations: 12 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3873, allocations: 0 / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.3873, allocations: 8 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3876, allocations: 0 / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.388, allocations: 112.4 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3884, allocations: 0.677 MB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.3884, allocations: 7.438 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3884, allocations: 0 / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Templates: time 0.003296/0.3917, allocations: 449.6 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.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.Functions.Examples.FactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1