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.0008383/0.0008383, allocations: 92.16 kB / 16.02 MB, free: 80 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.001063/0.001063, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.8/1.8, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.865/1.865, allocations: 292.7 MB / 0.5509 GB, free: 14.5 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.0005875/0.000588, allocations: 15.06 kB / 0.675 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3178, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.000996/0.3188, allocations: 327.5 kB / 0.7889 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.3191, allocations: 47.86 kB / 0.7889 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.3192, allocations: 0 / 0.7889 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.3192, allocations: 0 / 0.7889 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.3192, allocations: 0 / 0.7889 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.3194, allocations: 11.94 kB / 0.7889 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.117e-05/0.3195, allocations: 4 kB / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.3195, allocations: 7.984 kB / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.3196, allocations: 0 / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.3196, allocations: 4 kB / 0.7889 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3196, allocations: 0 / 0.7889 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.3197, allocations: 8 kB / 0.7889 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.3197, allocations: 3.984 kB / 0.7889 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.3198, allocations: 29.64 kB / 0.789 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.192e-05/0.3198, allocations: 11.92 kB / 0.789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3199, allocations: 0 / 0.789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3199, allocations: 0 / 0.789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3199, allocations: 0 / 0.789 GB, free: 11.13 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.0003066/0.3202, allocations: 311.6 kB / 0.7893 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3202, allocations: 8.031 kB / 0.7893 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3203, allocations: 8.938 kB / 0.7893 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3204, allocations: 164.4 kB / 0.7894 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3204, allocations: 384 / 0.7894 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3204, allocations: 4.375 kB / 0.7895 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3205, allocations: 30.2 kB / 0.7895 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3205, allocations: 4.188 kB / 0.7895 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3206, allocations: 3.938 kB / 0.7895 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3206, allocations: 4 kB / 0.7895 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.3206, allocations: 7.984 kB / 0.7895 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.3208, allocations: 145.7 kB / 0.7896 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.3208, allocations: 22.59 kB / 0.7897 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.3209, allocations: 16.92 kB / 0.7897 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.321, allocations: 85.09 kB / 0.7898 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3211, allocations: 38.5 kB / 0.7898 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3211, allocations: 0 / 0.7898 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001442/0.3212, allocations: 45.62 kB / 0.7898 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3213, allocations: 51.41 kB / 0.7899 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.3213, allocations: 89.86 kB / 0.79 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3214, allocations: 25.7 kB / 0.79 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.3214, allocations: 84.14 kB / 0.7901 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3214, allocations: 7.844 kB / 0.7901 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.3215, allocations: 9.844 kB / 0.7901 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3216, allocations: 318.8 kB / 0.7904 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.3216, allocations: 4 kB / 0.7904 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-06/0.3216, allocations: 0 / 0.7904 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.3217, allocations: 20.78 kB / 0.7904 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3217, allocations: 4 kB / 0.7904 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.321e-05/0.3217, allocations: 33.7 kB / 0.7905 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3218, allocations: 4 kB / 0.7905 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3218, allocations: 4.094 kB / 0.7905 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3218, allocations: 3.938 kB / 0.7905 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.3218, allocations: 7.984 kB / 0.7905 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3219, allocations: 0 / 0.7905 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.3219, allocations: 288 / 0.7905 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3219, allocations: 0 / 0.7905 GB, free: 9.352 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 7.972e-05/0.322, allocations: 118.4 kB / 0.7906 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.322, allocations: 3.938 kB / 0.7906 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.3221, allocations: 52.69 kB / 0.7906 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3221, allocations: 0 / 0.7906 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3221, allocations: 0 / 0.7906 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3221, allocations: 0 / 0.7906 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3222, allocations: 149.7 kB / 0.7908 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3222, allocations: 3.984 kB / 0.7908 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.3223, allocations: 0 / 0.7908 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3223, allocations: 4 kB / 0.7908 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3223, allocations: 3.938 kB / 0.7908 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3223, allocations: 0 / 0.7908 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3223, allocations: 0 / 0.7908 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.912e-05/0.3224, allocations: 69.09 kB / 0.7909 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3224, allocations: 77.11 kB / 0.7909 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.3225, allocations: 7.938 kB / 0.7909 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.3225, allocations: 4 kB / 0.791 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.3225, allocations: 0 / 0.791 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3225, allocations: 0 / 0.791 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.3226, allocations: 75.28 kB / 0.791 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.875e-06/0.3226, allocations: 4.031 kB / 0.791 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001872/0.3228, allocations: 15.94 kB / 0.791 GB, free: 8.668 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.0001799/0.3229, allocations: 107.2 kB / 0.7911 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.323, allocations: 4 kB / 0.7911 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.323, allocations: 0 / 0.7911 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.323, allocations: 7.938 kB / 0.7912 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3232, allocations: 7.234 kB / 0.7912 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.3234, allocations: 120.5 kB / 0.7913 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3237, allocations: 0.6692 MB / 0.7919 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.3237, allocations: 7.438 kB / 0.7919 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.3237, allocations: 0 / 0.7919 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.001808/0.3255, allocations: 456.7 kB / 0.7924 GB, free: 7.238 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