Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001221/0.001221, 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.001578/0.001578, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.893/1.893, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.887/1.887, 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.001597/0.001597, allocations: 69.16 kB / 0.6715 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3077, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.002441/0.3102, allocations: 0.6509 MB / 0.784 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.3106, allocations: 55.78 kB / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.3106, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.3107, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.3107, allocations: 0 / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3109, allocations: 15.92 kB / 0.784 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.668e-05/0.311, allocations: 4 kB / 0.784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.3111, allocations: 4 kB / 0.784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.3111, allocations: 0 / 0.784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.3111, allocations: 0 / 0.784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3111, allocations: 0 / 0.784 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.3112, allocations: 8 kB / 0.7841 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.3112, allocations: 3.984 kB / 0.7841 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.3113, allocations: 7.938 kB / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.3114, allocations: 7.984 kB / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3114, allocations: 0 / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3114, allocations: 0 / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3114, allocations: 4 kB / 0.7841 GB, free: 13.22 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003467/0.3117, allocations: 319.6 kB / 0.7844 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3118, allocations: 8.031 kB / 0.7844 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3118, allocations: 0.9375 kB / 0.7844 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.312, allocations: 160.4 kB / 0.7845 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.312, allocations: 384 / 0.7845 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.312, allocations: 4.375 kB / 0.7845 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3121, allocations: 34.25 kB / 0.7846 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3121, allocations: 192 / 0.7846 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3122, allocations: 11.94 kB / 0.7846 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3122, allocations: 0 / 0.7846 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.3122, allocations: 7.938 kB / 0.7846 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.3124, allocations: 153.7 kB / 0.7847 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.3125, allocations: 22.61 kB / 0.7848 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.3125, allocations: 8.922 kB / 0.7848 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3127, allocations: 81.11 kB / 0.7849 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3127, allocations: 38.56 kB / 0.7849 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3128, allocations: 0 / 0.7849 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.3129, allocations: 45.56 kB / 0.7849 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.313, allocations: 51.41 kB / 0.785 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.313, allocations: 97.8 kB / 0.7851 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3131, allocations: 25.7 kB / 0.7851 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.3131, allocations: 84.14 kB / 0.7852 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3131, allocations: 4.031 kB / 0.7852 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.3132, allocations: 21.64 kB / 0.7852 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3133, allocations: 314.8 kB / 0.7855 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.3134, allocations: 4 kB / 0.7855 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.3134, allocations: 4 kB / 0.7855 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.3134, allocations: 8.859 kB / 0.7855 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3134, allocations: 3.938 kB / 0.7855 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.139e-05/0.3135, allocations: 41.78 kB / 0.7856 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3135, allocations: 8 kB / 0.7856 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3135, allocations: 0 / 0.7856 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3136, allocations: 3.938 kB / 0.7856 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.3136, allocations: 4 kB / 0.7856 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3136, allocations: 0 / 0.7856 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.3137, allocations: 288 / 0.7856 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3137, allocations: 4 kB / 0.7856 GB, free: 11.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: 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.000104/0.3138, allocations: 114.4 kB / 0.7857 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.3138, allocations: 0 / 0.7857 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3139, allocations: 52.7 kB / 0.7857 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3139, allocations: 0 / 0.7857 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3139, allocations: 0 / 0.7857 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3139, allocations: 3.984 kB / 0.7857 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.3141, allocations: 149.7 kB / 0.7859 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3141, allocations: 0 / 0.7859 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.3141, allocations: 4 kB / 0.7859 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3141, allocations: 0 / 0.7859 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3141, allocations: 3.938 kB / 0.7859 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3141, allocations: 3.984 kB / 0.7859 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3141, allocations: 4.031 kB / 0.7859 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.3142, allocations: 65.08 kB / 0.786 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3143, allocations: 77.11 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3143, allocations: 11.92 kB / 0.7861 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.3143, allocations: 0 / 0.7861 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3144, allocations: 0 / 0.7861 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3144, allocations: 7.938 kB / 0.7861 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.3144, allocations: 79.31 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3144, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000193/0.3146, allocations: 4 kB / 0.7861 GB, free: 10.75 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: 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.0002032/0.3148, allocations: 99.25 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.3149, allocations: 15.98 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3149, allocations: 0 / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.3149, allocations: 4 kB / 0.7863 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3151, allocations: 4.125 kB / 0.7863 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.3153, allocations: 124.2 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3157, allocations: 0.6731 MB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.3157, allocations: 7.438 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.3157, allocations: 0 / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.001886/0.3176, allocations: 448.8 kB / 0.7875 GB, free: 9.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.FactorialCalcHelperMain.o] Error 1