Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007508/0.007508, allocations: 99.89 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 189.1 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.1 MB / 222.6 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.953/1.953, allocations: 292.3 MB / 0.5491 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.12 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3107, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001945/0.3127, allocations: 0.647 MB / 0.784 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.313, allocations: 71.7 kB / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.313, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.3131, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.3131, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3134, allocations: 8 kB / 0.784 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.3135, allocations: 31.95 kB / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.3135, allocations: 0 / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.3135, allocations: 12 kB / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.3136, allocations: 15.92 kB / 0.7841 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3136, allocations: 4 kB / 0.7841 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.3137, allocations: 19.97 kB / 0.7841 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.3137, allocations: 8 kB / 0.7841 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3138, allocations: 11.94 kB / 0.7841 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.791e-05/0.3139, allocations: 23.95 kB / 0.7842 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3139, allocations: 0 / 0.7842 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3139, allocations: 0 / 0.7842 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3139, allocations: 0 / 0.7842 GB, free: 13.14 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005687/0.3145, allocations: 339.8 kB / 0.7845 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3145, allocations: 12.03 kB / 0.7845 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.3146, allocations: 4.844 kB / 0.7845 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3148, allocations: 180.3 kB / 0.7847 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3148, allocations: 384 / 0.7847 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3149, allocations: 4.375 kB / 0.7847 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.315, allocations: 62.22 kB / 0.7847 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3151, allocations: 192 / 0.7847 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3151, allocations: 11.94 kB / 0.7848 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3151, allocations: 0 / 0.7848 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3153, allocations: 107.8 kB / 0.7849 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.3155, allocations: 173.7 kB / 0.785 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3156, allocations: 70.48 kB / 0.7851 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.3157, allocations: 28.84 kB / 0.7851 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.3161, allocations: 409.5 kB / 0.7855 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3161, allocations: 34.89 kB / 0.7855 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 4.799e-06/0.3162, allocations: 0 / 0.7855 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002842/0.3164, allocations: 125.4 kB / 0.7857 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3165, allocations: 55.41 kB / 0.7857 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.3166, allocations: 97.84 kB / 0.7858 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3166, allocations: 33.64 kB / 0.7858 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.3166, allocations: 80.14 kB / 0.7859 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3167, allocations: 23.66 kB / 0.7859 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3167, allocations: 29.7 kB / 0.786 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3169, allocations: 318.8 kB / 0.7863 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.3169, allocations: 19.98 kB / 0.7863 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.317, allocations: 27.92 kB / 0.7863 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.3171, allocations: 56.83 kB / 0.7864 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3171, allocations: 0 / 0.7864 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001461/0.3172, allocations: 93.61 kB / 0.7865 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3173, allocations: 4 kB / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3173, allocations: 3.938 kB / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3173, allocations: 3.938 kB / 0.7865 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3174, allocations: 19.98 kB / 0.7865 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3174, allocations: 0 / 0.7865 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.3175, allocations: 11.91 kB / 0.7865 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3175, allocations: 0 / 0.7865 GB, free: 10.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001598/0.3176, allocations: 126.4 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.3176, allocations: 4 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.318, allocations: 130.1 kB / 0.7868 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.318, allocations: 0 / 0.7868 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.318, allocations: 4 kB / 0.7868 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.318, allocations: 7.984 kB / 0.7868 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3182, allocations: 165.7 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3182, allocations: 0 / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.3183, allocations: 23.92 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3183, allocations: 3.938 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3183, allocations: 0 / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3183, allocations: 4 kB / 0.787 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3183, allocations: 3.938 kB / 0.787 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3185, allocations: 121.1 kB / 0.7871 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.3186, allocations: 88.89 kB / 0.7872 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3186, allocations: 8 kB / 0.7872 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.355e-05/0.3186, allocations: 0 / 0.7872 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3186, allocations: 7.984 kB / 0.7872 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3186, allocations: 8 kB / 0.7872 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.3187, allocations: 79.28 kB / 0.7873 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3187, allocations: 0 / 0.7873 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000192/0.3189, allocations: 12 kB / 0.7873 GB, free: 9.539 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000214/0.3191, allocations: 123.2 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3193, allocations: 59.91 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3194, allocations: 0 / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.3194, allocations: 43.84 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3196, allocations: 10.75 kB / 0.7875 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3199, allocations: 184.4 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3203, allocations: 0.6848 MB / 0.7883 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.3203, allocations: 15.44 kB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3203, allocations: 0 / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002458/0.3228, allocations: 0.934 MB / 0.7893 GB, free: 7.43 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1