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.001865/0.001865, allocations: 103.7 kB / 16.42 MB, free: 6.48 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.002361/0.002361, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 285.5 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/2.939e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001854/0.001892, allocations: 0.5647 MB / 0.6826 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.002198, allocations: 59.77 kB / 0.6827 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.002233, allocations: 4 kB / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.002272, allocations: 0 / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.002287, allocations: 7.875 kB / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.00265, allocations: 23.92 kB / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.00274, allocations: 4 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.002809, allocations: 3.984 kB / 0.6827 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.002841, allocations: 4 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.002881, allocations: 3.984 kB / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.0029, allocations: 0 / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.003002, allocations: 15.98 kB / 0.6828 GB, free: 6.309 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.011e-05/0.003049, allocations: 11.94 kB / 0.6828 GB, free: 6.297 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.16e-06/0.003061, allocations: 7.906 kB / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.003082, allocations: 0 / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.259e-05/0.003099, allocations: 0 / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (2) * Number of variables: 11 (2) Notification: Performance of Bindings: time 0.0003846/0.003488, allocations: 173.2 kB / 0.6829 GB, free: 6.02 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001216/0.003615, allocations: 27.86 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of Early Inline: time 9.938e-05/0.003721, allocations: 80.31 kB / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simplify1: time 6.212e-06/0.003736, allocations: 4 kB / 0.683 GB, free: 5.883 MB / 494.1 MB Notification: Performance of Alias: time 7.364e-05/0.003814, allocations: 60.61 kB / 0.6831 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simplify2: time 2.164e-06/0.003821, allocations: 0 / 0.6831 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Detect States: time 8.488e-05/0.00391, allocations: 34.55 kB / 0.6831 GB, free: 5.738 MB / 494.1 MB Notification: Performance of Events: time 2.206e-05/0.003938, allocations: 7.922 kB / 0.6831 GB, free: 5.73 MB / 494.1 MB Notification: Performance of Partitioning: time 6.674e-05/0.00401, allocations: 28.12 kB / 0.6832 GB, free: 5.695 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004189/0.004435, allocations: 202.3 kB / 0.6834 GB, free: 5.492 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.602e-05/0.00453, allocations: 72.34 kB / 0.6834 GB, free: 5.395 MB / 494.1 MB Notification: Performance of Inline: time 0.0001275/0.004667, allocations: 116.3 kB / 0.6835 GB, free: 5.246 MB / 494.1 MB Notification: Performance of Partitioning: time 1.36e-05/0.004687, allocations: 8.125 kB / 0.6835 GB, free: 5.23 MB / 494.1 MB Notification: Performance of Cleanup: time 1.597e-05/0.004708, allocations: 15.91 kB / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003078/0.005022, allocations: 209.7 kB / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of Tearing: time 1.381e-05/0.005045, allocations: 0 / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of Initialization: time 5.81e-07/0.005051, allocations: 0 / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of Tearing: time 5.14e-06/0.00506, allocations: 4 kB / 0.6838 GB, free: 5.008 MB / 494.1 MB Notification: Performance of Categorize: time 9.608e-06/0.005074, allocations: 3.938 kB / 0.6838 GB, free: 5.004 MB / 494.1 MB Notification: Performance of Solve: time 6.061e-05/0.005138, allocations: 15.98 kB / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of Jacobian: time 5.951e-06/0.00515, allocations: 3.984 kB / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 21 (3) {falFac, n, $FUN_2} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.587e-05/0.00521, allocations: 17.53 kB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008728/0.006088, allocations: 0.8857 MB / 0.6847 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002756/0.008858, allocations: 413.1 kB / 0.6851 GB, free: 3.668 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 -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial_functions.c:44:59: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial_functions.o] Error 1