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.0009078/0.0009076, allocations: 99.27 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.001159/0.001158, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.876/1.876, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.866/1.866, allocations: 292.7 MB / 0.5509 GB, free: 14.43 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.0005445/0.0005445, allocations: 16.12 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 116.3 MB / 0.7885 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001849/0.2841, allocations: 1.251 MB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.2845, allocations: 133.5 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.2845, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.2846, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.2846, allocations: 7.938 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2849, allocations: 27.95 kB / 0.7899 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.285, allocations: 35.86 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.2851, allocations: 12 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.2851, allocations: 7.984 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.2852, allocations: 19.91 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.2852, allocations: 4 kB / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.2853, allocations: 15.98 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2853, allocations: 7.938 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.2854, allocations: 37.64 kB / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2855, allocations: 35.92 kB / 0.7901 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2855, allocations: 0 / 0.7901 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2855, allocations: 0 / 0.7901 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2855, allocations: 0 / 0.7901 GB, free: 9.941 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.0005132/0.286, allocations: 347.7 kB / 0.7904 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2861, allocations: 12.03 kB / 0.7904 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.2861, allocations: 4.938 kB / 0.7904 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2863, allocations: 164.3 kB / 0.7906 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2863, allocations: 8.312 kB / 0.7906 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2863, allocations: 384 / 0.7906 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2865, allocations: 74.16 kB / 0.7907 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2865, allocations: 192 / 0.7907 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2866, allocations: 7.938 kB / 0.7907 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2866, allocations: 0 / 0.7907 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2868, allocations: 59.94 kB / 0.7907 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.2872, allocations: 292.7 kB / 0.791 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.2876, allocations: 66.55 kB / 0.7911 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2877, allocations: 36.77 kB / 0.7911 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.2881, allocations: 401.5 kB / 0.7915 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2881, allocations: 34.56 kB / 0.7915 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2881, allocations: 0 / 0.7915 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004124/0.2885, allocations: 113.6 kB / 0.7916 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2886, allocations: 51.41 kB / 0.7917 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.2887, allocations: 109.8 kB / 0.7918 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2887, allocations: 25.7 kB / 0.7918 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.649e-05/0.2888, allocations: 84.14 kB / 0.7919 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.2888, allocations: 7.906 kB / 0.7919 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.2888, allocations: 9.719 kB / 0.7919 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2889, allocations: 330.8 kB / 0.7922 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.2891, allocations: 19.98 kB / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.789e-05/0.2891, allocations: 27.97 kB / 0.7923 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.2893, allocations: 56.83 kB / 0.7923 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2894, allocations: 0 / 0.7923 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002332/0.2896, allocations: 93.48 kB / 0.7924 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2896, allocations: 8 kB / 0.7924 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2896, allocations: 0 / 0.7924 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2897, allocations: 0 / 0.7924 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.2897, allocations: 15.98 kB / 0.7924 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2898, allocations: 0 / 0.7924 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.2898, allocations: 11.98 kB / 0.7925 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2898, allocations: 0 / 0.7925 GB, free: 7.199 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 (falFac.y,rea2Int.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 0.0001081/0.29, allocations: 118.4 kB / 0.7926 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.29, allocations: 3.938 kB / 0.7926 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2903, allocations: 93.86 kB / 0.7927 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2903, allocations: 3.938 kB / 0.7927 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2903, allocations: 4 kB / 0.7927 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2903, allocations: 0 / 0.7927 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.2905, allocations: 169.6 kB / 0.7928 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2905, allocations: 0 / 0.7928 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.2906, allocations: 15.98 kB / 0.7928 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2906, allocations: 0 / 0.7928 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2906, allocations: 0 / 0.7928 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2906, allocations: 3.984 kB / 0.7928 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2906, allocations: 4.375 kB / 0.7928 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.2909, allocations: 191.3 kB / 0.793 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.291, allocations: 77.11 kB / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.291, allocations: 4 kB / 0.7931 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.2911, allocations: 11.98 kB / 0.7931 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2912, allocations: 11.98 kB / 0.7931 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2912, allocations: 3.938 kB / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.2912, allocations: 91.22 kB / 0.7932 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2913, allocations: 0 / 0.7932 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002283/0.2915, allocations: 15.94 kB / 0.7932 GB, free: 6.285 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 (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.0001819/0.2917, allocations: 103.2 kB / 0.7933 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.292, allocations: 59.95 kB / 0.7934 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.292, allocations: 0 / 0.7934 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2921, allocations: 27.98 kB / 0.7934 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2924, allocations: 15.02 kB / 0.7934 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.2928, allocations: 166.2 kB / 0.7936 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2931, allocations: 0.6809 MB / 0.7943 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.2932, allocations: 11.44 kB / 0.7943 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2932, allocations: 0 / 0.7943 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of Templates: time 0.002298/0.2955, allocations: 0.7915 MB / 0.795 GB, free: 4.375 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++ -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.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