Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009182/0.0009181, allocations: 100.1 kB / 15.71 MB, free: 452 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.00137/0.00137, allocations: 175 kB / 16.58 MB, free: 6.422 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.571/1.571, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 16 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2104, allocations: 83.42 MB / 0.5981 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000742/0.2112, allocations: 307.1 kB / 0.5984 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.2115, allocations: 55.83 kB / 0.5984 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.2115, allocations: 0 / 0.5984 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.2115, allocations: 4 kB / 0.5984 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.495e-05/0.2116, allocations: 4 kB / 0.5984 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.2118, allocations: 11.94 kB / 0.5984 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.2119, allocations: 31.95 kB / 0.5985 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.212, allocations: 0 / 0.5985 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.212, allocations: 8 kB / 0.5985 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.212, allocations: 15.97 kB / 0.5985 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2121, allocations: 4 kB / 0.5985 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.2121, allocations: 11.98 kB / 0.5985 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.2122, allocations: 8 kB / 0.5985 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.2122, allocations: 29.64 kB / 0.5985 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.2123, allocations: 35.95 kB / 0.5986 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2123, allocations: 0 / 0.5986 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2123, allocations: 0 / 0.5986 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2123, allocations: 0 / 0.5986 GB, free: 7.281 MB / 0.4981 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.0003217/0.2126, allocations: 319.4 kB / 0.5989 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2127, allocations: 8.031 kB / 0.5989 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.2127, allocations: 7.906 kB / 0.5989 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.2128, allocations: 171.2 kB / 0.5991 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2128, allocations: 7.938 kB / 0.5991 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2129, allocations: 8 kB / 0.5991 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.213, allocations: 65.55 kB / 0.5991 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.213, allocations: 0 / 0.5991 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2131, allocations: 8 kB / 0.5991 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2131, allocations: 0 / 0.5991 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.2132, allocations: 103.9 kB / 0.5992 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.2134, allocations: 169.6 kB / 0.5994 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2136, allocations: 70.53 kB / 0.5995 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2136, allocations: 36.84 kB / 0.5995 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.214, allocations: 401.5 kB / 0.5999 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.214, allocations: 38.5 kB / 0.5999 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.214, allocations: 0 / 0.5999 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002502/0.2143, allocations: 117.8 kB / 0.6 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2143, allocations: 55.41 kB / 0.6001 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.2144, allocations: 93.86 kB / 0.6002 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2144, allocations: 25.7 kB / 0.6002 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2144, allocations: 88.31 kB / 0.6003 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.2145, allocations: 23.66 kB / 0.6003 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2145, allocations: 4 kB / 0.6003 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2146, allocations: 318.8 kB / 0.6006 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.2146, allocations: 19.98 kB / 0.6006 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.2147, allocations: 23.92 kB / 0.6007 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.2147, allocations: 28.59 kB / 0.6007 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.2148, allocations: 4 kB / 0.6007 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001261/0.2149, allocations: 89.55 kB / 0.6008 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2149, allocations: 8 kB / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2149, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2149, allocations: 4 kB / 0.6008 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.215, allocations: 15.98 kB / 0.6008 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2151, allocations: 4 kB / 0.6008 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.2151, allocations: 7.906 kB / 0.6008 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.2151, allocations: 4 kB / 0.6008 GB, free: 4.668 MB / 0.4981 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.0001488/0.2152, allocations: 129.7 kB / 0.6009 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.2153, allocations: 4 kB / 0.601 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.2155, allocations: 125.6 kB / 0.6011 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2155, allocations: 4 kB / 0.6011 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2155, allocations: 0 / 0.6011 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2155, allocations: 0 / 0.6011 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2157, allocations: 173.6 kB / 0.6012 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2157, allocations: 3.953 kB / 0.6012 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.2157, allocations: 23.92 kB / 0.6013 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2158, allocations: 4 kB / 0.6013 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2158, allocations: 8 kB / 0.6013 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2158, allocations: 0 / 0.6013 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2158, allocations: 0 / 0.6013 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2159, allocations: 121.3 kB / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.216, allocations: 85.06 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.216, allocations: 0 / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.216, allocations: 4 kB / 0.6015 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2161, allocations: 11.98 kB / 0.6015 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2161, allocations: 4 kB / 0.6015 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.59e-05/0.2161, allocations: 75.28 kB / 0.6016 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.874e-06/0.2161, allocations: 0 / 0.6016 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002005/0.2163, allocations: 19.94 kB / 0.6016 GB, free: 3.781 MB / 0.4981 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.0001877/0.2165, allocations: 119.1 kB / 0.6017 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2166, allocations: 59.97 kB / 0.6018 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2167, allocations: 4 kB / 0.6018 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.2167, allocations: 35.86 kB / 0.6018 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2169, allocations: 11.98 kB / 0.6018 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.2172, allocations: 164.3 kB / 0.602 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2174, allocations: 0.6809 MB / 0.6026 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2175, allocations: 23.42 kB / 0.6026 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.2175, allocations: 4 kB / 0.6027 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.002538/0.22, allocations: 0.9833 MB / 0.6036 GB, free: 1.641 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1