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.001053/0.001054, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001057/0.001057, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.145/1.145, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 293.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.825/0.825, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.301e-05, allocations: 5.094 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001044/0.001065, allocations: 0.5802 MB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002049/0.001281, allocations: 59.78 kB / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.001308, allocations: 0 / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.001334, allocations: 3.938 kB / 0.6827 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.001346, allocations: 0 / 0.6827 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.001575, allocations: 15.98 kB / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.001637, allocations: 7.984 kB / 0.6827 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.001676, allocations: 4 kB / 0.6827 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.001697, allocations: 4 kB / 0.6827 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.001728, allocations: 7.984 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.001744, allocations: 0 / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.001809, allocations: 19.92 kB / 0.6828 GB, free: 6.316 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.32e-05/0.001839, allocations: 3.938 kB / 0.6828 GB, free: 6.312 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.58e-06/0.001849, allocations: 11.89 kB / 0.6828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-06/0.001862, allocations: 0 / 0.6828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.784e-06/0.001873, allocations: 3.984 kB / 0.6828 GB, free: 6.297 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.0002265/0.002105, allocations: 173.3 kB / 0.6829 GB, free: 6.027 MB / 494.1 MB Notification: Performance of FunctionAlias: time 6.694e-05/0.002177, allocations: 31.81 kB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of Early Inline: time 7e-05/0.002253, allocations: 72.36 kB / 0.683 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simplify1: time 5.48e-06/0.002264, allocations: 3.984 kB / 0.683 GB, free: 5.895 MB / 494.1 MB Notification: Performance of Alias: time 4.477e-05/0.002313, allocations: 56.62 kB / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simplify2: time 1.503e-06/0.002319, allocations: 0 / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of Events: time 1.608e-05/0.002339, allocations: 19.86 kB / 0.6831 GB, free: 5.781 MB / 494.1 MB Notification: Performance of Detect States: time 4.953e-05/0.002393, allocations: 34.27 kB / 0.6831 GB, free: 5.734 MB / 494.1 MB Notification: Performance of Partitioning: time 4.728e-05/0.002445, allocations: 28.11 kB / 0.6832 GB, free: 5.699 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002753/0.002726, allocations: 202.5 kB / 0.6834 GB, free: 5.496 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 5.803e-05/0.002792, allocations: 76.28 kB / 0.6834 GB, free: 5.395 MB / 494.1 MB Notification: Performance of Inline: time 7.755e-05/0.002875, allocations: 104.4 kB / 0.6835 GB, free: 5.258 MB / 494.1 MB Notification: Performance of Partitioning: time 1.21e-05/0.002894, allocations: 16.12 kB / 0.6836 GB, free: 5.234 MB / 494.1 MB Notification: Performance of Cleanup: time 8.115e-06/0.002906, allocations: 7.938 kB / 0.6836 GB, free: 5.227 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002154/0.003125, allocations: 205.6 kB / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of Tearing: time 4.629e-06/0.003138, allocations: 0 / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of Initialization: time 3.1e-07/0.003142, allocations: 0 / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of Tearing: time 7.12e-07/0.003146, allocations: 0 / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of Categorize: time 6.943e-06/0.003157, allocations: 7.938 kB / 0.6838 GB, free: 5.02 MB / 494.1 MB Notification: Performance of Solve: time 4.049e-05/0.003201, allocations: 11.97 kB / 0.6838 GB, free: 5.008 MB / 494.1 MB Notification: Performance of Jacobian: time 2.385e-06/0.003209, allocations: 0 / 0.6838 GB, free: 5.008 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 2.648e-05/0.003239, allocations: 18.78 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005017/0.003746, allocations: 0.9066 MB / 0.6847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of Templates: time 0.001892/0.005647, allocations: 397.2 kB / 0.6851 GB, free: 3.68 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