Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 102.8 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.001539/0.001539, allocations: 170 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 12 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7745, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001962/0.7766, allocations: 1.248 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.7769, allocations: 124.5 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.777, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.777, allocations: 3.984 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.7771, allocations: 3.938 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.7774, allocations: 27.97 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.7774, allocations: 27.92 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.7776, allocations: 15.98 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.7776, allocations: 11.94 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.7777, allocations: 15.92 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.7777, allocations: 3.984 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.7778, allocations: 15.98 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.7778, allocations: 4 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.7778, allocations: 25.7 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.7779, allocations: 31.88 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7779, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7779, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7779, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004981/0.7784, allocations: 357.2 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7785, allocations: 15.98 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.7785, allocations: 3.906 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.7787, allocations: 171 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.7787, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7787, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.7789, allocations: 77.59 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.779, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.779, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.779, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.7792, allocations: 59.95 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.7797, allocations: 284.7 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.78, allocations: 66.59 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.7801, allocations: 36.83 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.7804, allocations: 397.5 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7805, allocations: 30.56 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7805, allocations: 0 / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003924/0.7809, allocations: 117.6 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7809, allocations: 51.41 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.781, allocations: 105.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.781, allocations: 25.7 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.7811, allocations: 92.14 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.7811, allocations: 3.906 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7811, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7813, allocations: 322.8 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.7814, allocations: 23.98 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.7815, allocations: 27.97 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.7815, allocations: 23.98 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7816, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002105/0.7818, allocations: 93.5 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7818, allocations: 8 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7818, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7818, allocations: 7.922 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.7819, allocations: 12 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7819, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.782, allocations: 11.92 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.782, allocations: 8 kB / 1.026 GB, free: 12.8 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: 2 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.7822, allocations: 113.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.7822, allocations: 7.938 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.7825, allocations: 101.5 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7825, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7825, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7825, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.7827, allocations: 173.7 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7827, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.7828, allocations: 11.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.7828, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7828, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7828, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7828, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.7831, allocations: 187.7 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.7833, allocations: 85.11 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.7833, allocations: 7.984 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.7834, allocations: 7.984 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.7834, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.7835, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.7835, allocations: 91.27 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7835, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002231/0.7838, allocations: 8 kB / 1.026 GB, free: 11.91 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: 2 (rea2Int.y,falFac.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 (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.0001794/0.7839, allocations: 107.2 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.7842, allocations: 51.95 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7842, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.7843, allocations: 39.91 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.7846, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.7849, allocations: 150.2 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.7852, allocations: 0.6809 MB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.7852, allocations: 15.42 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7852, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002749/0.788, allocations: 0.7948 MB / 1.028 GB, free: 10.01 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.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.Examples.FallingFactorialCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1