Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009774/0.0009778, allocations: 102.7 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.001218/0.001218, allocations: 174.5 kB / 16.58 MB, free: 6.039 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.833/1.833, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.855/1.855, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005197/0.0005197, allocations: 21.5 kB / 0.6744 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001835/0.2584, allocations: 1.243 MB / 0.7891 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.2588, allocations: 125.6 kB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.2589, allocations: 0 / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.2589, allocations: 0 / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.2589, allocations: 3.938 kB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.2592, allocations: 31.95 kB / 0.7893 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.2593, allocations: 27.92 kB / 0.7893 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2594, allocations: 8 kB / 0.7893 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.2594, allocations: 19.86 kB / 0.7893 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.2595, allocations: 23.91 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2595, allocations: 0 / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.2596, allocations: 15.98 kB / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2596, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.2597, allocations: 33.64 kB / 0.7894 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.349e-05/0.2597, allocations: 31.94 kB / 0.7894 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2598, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2598, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2598, allocations: 0 / 0.7894 GB, free: 10.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004789/0.2603, allocations: 355.5 kB / 0.7898 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2603, allocations: 8.031 kB / 0.7898 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.2603, allocations: 7.938 kB / 0.7898 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.2605, allocations: 166.9 kB / 0.79 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2605, allocations: 4 kB / 0.79 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2605, allocations: 4 kB / 0.79 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.2607, allocations: 73.66 kB / 0.79 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2608, allocations: 0 / 0.79 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2608, allocations: 0 / 0.79 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2608, allocations: 3.984 kB / 0.79 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.261, allocations: 63.89 kB / 0.7901 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.2614, allocations: 272.8 kB / 0.7904 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.2617, allocations: 62.53 kB / 0.7904 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2618, allocations: 40.84 kB / 0.7905 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.2621, allocations: 397.5 kB / 0.7908 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2622, allocations: 38.56 kB / 0.7909 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2622, allocations: 0 / 0.7909 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004503/0.2626, allocations: 113.5 kB / 0.791 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.2627, allocations: 55.41 kB / 0.791 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2628, allocations: 113.7 kB / 0.7911 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2629, allocations: 25.7 kB / 0.7912 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2629, allocations: 92.14 kB / 0.7913 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.263, allocations: 7.969 kB / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.263, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2631, allocations: 318.8 kB / 0.7916 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.2633, allocations: 23.97 kB / 0.7916 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.2633, allocations: 27.98 kB / 0.7916 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.2634, allocations: 27.97 kB / 0.7916 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2634, allocations: 0 / 0.7916 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002028/0.2636, allocations: 85.66 kB / 0.7917 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2637, allocations: 8 kB / 0.7917 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2637, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2637, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.2638, allocations: 11.98 kB / 0.7917 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2638, allocations: 0 / 0.7917 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.2639, allocations: 15.89 kB / 0.7918 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2639, allocations: 3.953 kB / 0.7918 GB, free: 7.656 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,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 9.551e-05/0.264, allocations: 122.4 kB / 0.7919 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.264, allocations: 0 / 0.7919 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2643, allocations: 89.86 kB / 0.792 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2643, allocations: 8 kB / 0.792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2643, allocations: 0 / 0.792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2643, allocations: 0 / 0.792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2645, allocations: 169.6 kB / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2645, allocations: 3.938 kB / 0.7921 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.2646, allocations: 11.98 kB / 0.7922 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2646, allocations: 0 / 0.7922 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2646, allocations: 4.375 kB / 0.7922 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2646, allocations: 3.984 kB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2646, allocations: 0 / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2649, allocations: 191.3 kB / 0.7923 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.2649, allocations: 81.11 kB / 0.7924 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.265, allocations: 4 kB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.265, allocations: 15.92 kB / 0.7924 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.2651, allocations: 7.984 kB / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2651, allocations: 0 / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.2652, allocations: 91.27 kB / 0.7925 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2652, allocations: 0 / 0.7925 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002235/0.2654, allocations: 15.92 kB / 0.7926 GB, free: 6.746 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 (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.0001808/0.2656, allocations: 99.25 kB / 0.7926 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.2658, allocations: 63.89 kB / 0.7927 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2658, allocations: 0 / 0.7927 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.2659, allocations: 31.97 kB / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2662, allocations: 7.953 kB / 0.7927 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.2666, allocations: 150.4 kB / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.267, allocations: 0.6809 MB / 0.7936 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.267, allocations: 11.44 kB / 0.7936 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.267, allocations: 0 / 0.7936 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.002529/0.2696, allocations: 0.7811 MB / 0.7943 GB, free: 4.859 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_8_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_8_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.FallingFactorialCalcHelperMain.o] Error 1