Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01224/0.01224, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 192.1 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.728/2.728, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003971/0.003971, allocations: 286.2 kB / 290.9 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.848/1.848, allocations: 169.2 MB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004861/0.004862, allocations: 96.2 kB / 0.5951 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3879, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.003/0.3909, allocations: 0.6276 MB / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004171/0.3914, allocations: 51.91 kB / 0.6808 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.3914, allocations: 4.469 kB / 0.6808 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.3915, allocations: 1.188 kB / 0.6808 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-06/0.3915, allocations: 0 / 0.6808 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.3919, allocations: 19.98 kB / 0.6808 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.392, allocations: 36.83 kB / 0.6808 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.3921, allocations: 0 / 0.6808 GB, free: 436 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.3921, allocations: 8 kB / 0.6808 GB, free: 428 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.3922, allocations: 16.5 kB / 0.6808 GB, free: 412 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3922, allocations: 4 kB / 0.6809 GB, free: 408 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3923, allocations: 15.98 kB / 0.6809 GB, free: 392 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.3924, allocations: 19.88 kB / 0.6809 GB, free: 372 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.3925, allocations: 15.92 kB / 0.6809 GB, free: 356 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3926, allocations: 15.97 kB / 0.6809 GB, free: 340 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3926, allocations: 0 / 0.6809 GB, free: 340 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3926, allocations: 0 / 0.6809 GB, free: 340 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3926, allocations: 0 / 0.6809 GB, free: 340 kB / 478.1 MB 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.0005641/0.3932, allocations: 339.8 kB / 0.6812 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.3933, allocations: 12.03 kB / 0.6813 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.3933, allocations: 12.83 kB / 0.6813 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3935, allocations: 164.3 kB / 0.6814 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3935, allocations: 8.359 kB / 0.6814 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3936, allocations: 4.375 kB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3938, allocations: 62.17 kB / 0.6815 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3938, allocations: 192 / 0.6815 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3938, allocations: 7.938 kB / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3939, allocations: 7.984 kB / 0.6815 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.3941, allocations: 95.88 kB / 0.6816 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.3944, allocations: 173.7 kB / 0.6818 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3946, allocations: 74.48 kB / 0.6818 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.3946, allocations: 28.84 kB / 0.6819 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.3952, allocations: 405.5 kB / 0.6822 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.3953, allocations: 34.55 kB / 0.6823 GB, free: 14.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3953, allocations: 0 / 0.6823 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004237/0.3957, allocations: 117.9 kB / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3958, allocations: 63.34 kB / 0.6825 GB, free: 14.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.3959, allocations: 93.77 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3959, allocations: 29.7 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.396, allocations: 80.14 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.396, allocations: 19.73 kB / 0.6827 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.3961, allocations: 29.72 kB / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3963, allocations: 318.8 kB / 0.683 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.3964, allocations: 19.98 kB / 0.683 GB, free: 13.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.3964, allocations: 28.42 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3966, allocations: 60.92 kB / 0.6831 GB, free: 13.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3966, allocations: 4 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002065/0.3968, allocations: 89.58 kB / 0.6832 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3968, allocations: 11.94 kB / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3969, allocations: 3.938 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3969, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.397, allocations: 23.92 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3971, allocations: 0 / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.3971, allocations: 3.938 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3971, allocations: 16 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.3974, allocations: 123.1 kB / 0.6834 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.3974, allocations: 3.906 kB / 0.6834 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3978, allocations: 129.4 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3978, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3978, allocations: 0 / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3978, allocations: 4 kB / 0.6835 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.398, allocations: 181.5 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.398, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3981, allocations: 15.98 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.3982, allocations: 7.938 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3982, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3982, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3982, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3984, allocations: 129 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.3985, allocations: 92.89 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3986, allocations: 0 / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.3986, allocations: 4 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3987, allocations: 7.984 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3987, allocations: 4 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.3987, allocations: 75.28 kB / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3987, allocations: 0 / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000325/0.3991, allocations: 12 kB / 0.684 GB, free: 12.75 MB / 494.1 MB 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 (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.0003074/0.3994, allocations: 119.2 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3996, allocations: 59.84 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3996, allocations: 0 / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.3997, allocations: 39.92 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3999, allocations: 7.938 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.4004, allocations: 177.2 kB / 0.6844 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.4008, allocations: 0.6848 MB / 0.6851 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.4008, allocations: 19.42 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4008, allocations: 0 / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Templates: time 0.003462/0.4043, allocations: 0.9473 MB / 0.686 GB, free: 10.64 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorialCalcHelperMain.o] Error 1