Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 98.88 kB / 16.02 MB, free: 76 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.001184/0.001184, allocations: 183.7 kB / 16.92 MB, free: 6.715 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.845/1.845, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.84/1.84, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0005832/0.0005834, allocations: 17.95 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3165, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001817/0.3184, allocations: 1.239 MB / 0.7897 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004186/0.3188, allocations: 121.6 kB / 0.7899 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.3189, allocations: 0 / 0.7899 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3189, allocations: 0 / 0.7899 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.3189, allocations: 3.938 kB / 0.7899 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3192, allocations: 15.98 kB / 0.7899 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.3192, allocations: 31.92 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.3193, allocations: 11.94 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.3194, allocations: 11.97 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.3195, allocations: 19.92 kB / 0.79 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3195, allocations: 0 / 0.79 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.3195, allocations: 4 kB / 0.79 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3196, allocations: 8 kB / 0.79 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.3196, allocations: 33.62 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3197, allocations: 27.95 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3197, allocations: 4 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3198, allocations: 0 / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.3198, allocations: 3.938 kB / 0.79 GB, free: 10.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004829/0.3202, allocations: 343.7 kB / 0.7904 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3203, allocations: 12.03 kB / 0.7904 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3203, allocations: 0.9375 kB / 0.7904 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3205, allocations: 172.3 kB / 0.7905 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3205, allocations: 4.375 kB / 0.7905 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3205, allocations: 8.312 kB / 0.7905 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3208, allocations: 62.23 kB / 0.7906 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3208, allocations: 192 / 0.7906 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3208, allocations: 3.938 kB / 0.7906 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.3208, allocations: 4 kB / 0.7906 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.321, allocations: 55.95 kB / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3214, allocations: 260.9 kB / 0.7909 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.3218, allocations: 74.41 kB / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3219, allocations: 28.91 kB / 0.791 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.3221, allocations: 81.11 kB / 0.7911 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3221, allocations: 34.55 kB / 0.7911 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3221, allocations: 4 kB / 0.7911 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004324/0.3226, allocations: 105.8 kB / 0.7912 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3226, allocations: 55.34 kB / 0.7913 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.3227, allocations: 105.8 kB / 0.7914 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3227, allocations: 25.7 kB / 0.7914 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.3228, allocations: 88.14 kB / 0.7915 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.3228, allocations: 7.844 kB / 0.7915 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3229, allocations: 9.719 kB / 0.7915 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.323, allocations: 322.8 kB / 0.7918 GB, free: 8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.3231, allocations: 23.98 kB / 0.7918 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.3232, allocations: 27.97 kB / 0.7919 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3234, allocations: 48.83 kB / 0.7919 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3234, allocations: 7.938 kB / 0.7919 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002344/0.3237, allocations: 97.48 kB / 0.792 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3237, allocations: 4 kB / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3237, allocations: 0 / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3237, allocations: 0 / 0.792 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.3238, allocations: 19.98 kB / 0.792 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3238, allocations: 0 / 0.792 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.3239, allocations: 4 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3239, allocations: 3.984 kB / 0.792 GB, free: 7.758 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 (rea2Int.y,fac.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 9.553e-05/0.324, allocations: 117.7 kB / 0.7922 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.324, allocations: 0 / 0.7922 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.3243, allocations: 97.14 kB / 0.7922 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3243, allocations: 0 / 0.7922 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3244, allocations: 7.875 kB / 0.7923 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3244, allocations: 4 kB / 0.7923 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3246, allocations: 161.6 kB / 0.7924 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3246, allocations: 0 / 0.7924 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.3246, allocations: 19.98 kB / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3246, allocations: 0 / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3247, allocations: 0 / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3247, allocations: 0 / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3247, allocations: 0 / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.325, allocations: 191.4 kB / 0.7926 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.325, allocations: 81.02 kB / 0.7927 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3251, allocations: 4 kB / 0.7927 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.3251, allocations: 8 kB / 0.7927 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.3252, allocations: 4.406 kB / 0.7927 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.3252, allocations: 4 kB / 0.7927 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.3253, allocations: 91.25 kB / 0.7928 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3253, allocations: 3.938 kB / 0.7928 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002184/0.3255, allocations: 8 kB / 0.7928 GB, free: 6.867 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.y,rea2Int.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.0001774/0.3257, allocations: 103.2 kB / 0.7929 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3259, allocations: 59.95 kB / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3259, allocations: 0 / 0.793 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.326, allocations: 31.97 kB / 0.793 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3263, allocations: 3.938 kB / 0.793 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.3267, allocations: 154.3 kB / 0.7931 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.327, allocations: 0.677 MB / 0.7938 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.327, allocations: 15.44 kB / 0.7938 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.327, allocations: 0 / 0.7938 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.002059/0.3291, allocations: 0.7211 MB / 0.7945 GB, free: 5.043 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.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.Examples.FactorialCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.FactorialCalcHelperMain.o] Error 1