Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_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.001011/0.001011, allocations: 102.2 kB / 15.71 MB, free: 460 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.001477/0.001477, allocations: 172.4 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.7 MB / 0.7113 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 12 kB / 0.8717 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8463, allocations: 153.6 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0008424/0.8472, allocations: 325.3 kB / 1.022 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.8475, allocations: 51.78 kB / 1.022 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.8475, allocations: 4 kB / 1.022 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.8476, allocations: 0 / 1.022 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-06/0.8476, allocations: 0 / 1.022 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.8479, allocations: 15.98 kB / 1.022 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.848, allocations: 27.95 kB / 1.022 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.8481, allocations: 3.984 kB / 1.022 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.8481, allocations: 12 kB / 1.022 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.8482, allocations: 11.97 kB / 1.022 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8482, allocations: 4 kB / 1.022 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.8483, allocations: 19.98 kB / 1.022 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.8483, allocations: 15.94 kB / 1.022 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.8483, allocations: 25.7 kB / 1.022 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.188e-05/0.8484, allocations: 23.95 kB / 1.022 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8484, allocations: 0 / 1.022 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8485, allocations: 0 / 1.022 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.8485, allocations: 0 / 1.022 GB, free: 0.543 MB / 0.7637 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.0003737/0.8488, allocations: 327.3 kB / 1.023 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8489, allocations: 8.031 kB / 1.023 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.8489, allocations: 4 kB / 1.023 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.8491, allocations: 161 kB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.8491, allocations: 7.938 kB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8491, allocations: 8 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.8493, allocations: 73.48 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8493, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8493, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8493, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.8495, allocations: 103.9 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.8497, allocations: 173.5 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.8498, allocations: 74.48 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.8499, allocations: 32.84 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.8503, allocations: 401.5 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.8503, allocations: 38.52 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.8503, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002619/0.8506, allocations: 109.9 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8506, allocations: 55.41 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.8507, allocations: 97.84 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.8507, allocations: 33.64 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.8508, allocations: 80.33 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.8508, allocations: 27.64 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.8508, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8509, allocations: 318.8 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.851, allocations: 19.98 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.851, allocations: 19.98 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.8511, allocations: 19.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8511, allocations: 3.938 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001389/0.8512, allocations: 101.6 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8513, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8513, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8513, allocations: 7.953 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.8514, allocations: 19.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.8514, allocations: 7.984 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.8515, allocations: 3.938 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.8515, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.8516, allocations: 129.8 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.8517, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.8519, allocations: 122.4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.8519, allocations: 7.953 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8519, allocations: 3.938 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8519, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.8521, allocations: 177.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8521, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.8521, allocations: 20 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.8522, allocations: 3.984 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8522, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.8522, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8522, allocations: 3.953 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.8524, allocations: 121.5 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.8524, allocations: 85.02 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.8524, allocations: 7.938 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.8525, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.8525, allocations: 7.984 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.8525, allocations: 11.95 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.8526, allocations: 75.28 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8526, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000204/0.8528, allocations: 16 kB / 1.025 GB, free: 13.04 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/0.853, allocations: 114 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.8532, allocations: 59.91 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8532, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.8533, allocations: 43.86 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.8535, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.8538, allocations: 172.4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.8542, allocations: 0.6848 MB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.8543, allocations: 23.42 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8543, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002403/0.8567, allocations: 0.933 MB / 1.027 GB, free: 10.95 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1