Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001061/0.001061, allocations: 109 kB / 16.42 MB, free: 6.391 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.001163/0.001163, allocations: 189.5 kB / 17.36 MB, free: 5.676 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.149/1.149, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 251.7 MB / 0.51 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.742e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001206/0.001232, allocations: 0.5914 MB / 0.727 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.001479, allocations: 63.72 kB / 0.7271 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.001505, allocations: 3.938 kB / 0.7271 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.001533, allocations: 4 kB / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.001542, allocations: 0 / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.001811, allocations: 19.91 kB / 0.7271 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.001892, allocations: 8 kB / 0.7271 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.00194, allocations: 0 / 0.7271 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.001968, allocations: 8 kB / 0.7271 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.002005, allocations: 3.984 kB / 0.7271 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.002021, allocations: 0 / 0.7271 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.002096, allocations: 15.98 kB / 0.7271 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of combineBinaries: time 2.713e-05/0.002129, allocations: 15.92 kB / 0.7271 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.817e-06/0.002137, allocations: 3.906 kB / 0.7271 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-06/0.002152, allocations: 4 kB / 0.7271 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.683e-06/0.002162, allocations: 0 / 0.7271 GB, free: 3.969 MB / 0.5606 GB 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.0002662/0.002432, allocations: 169.3 kB / 0.7273 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 7.753e-05/0.002515, allocations: 31.8 kB / 0.7273 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of Early Inline: time 7.25e-05/0.002594, allocations: 64.42 kB / 0.7274 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simplify1: time 5.761e-06/0.002605, allocations: 3.984 kB / 0.7274 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of Alias: time 6.516e-05/0.002676, allocations: 64.55 kB / 0.7275 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simplify2: time 1.503e-06/0.002682, allocations: 0 / 0.7275 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of Events: time 2.28e-05/0.002709, allocations: 19.88 kB / 0.7275 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of Detect States: time 5.3e-05/0.002766, allocations: 28.25 kB / 0.7275 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.885e-05/0.002821, allocations: 24.11 kB / 0.7275 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002999/0.003125, allocations: 206 kB / 0.7277 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 6.559e-05/0.003201, allocations: 88.27 kB / 0.7278 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of Inline: time 9.403e-05/0.003301, allocations: 100.5 kB / 0.7279 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of Partitioning: time 1.102e-05/0.003318, allocations: 12.12 kB / 0.7279 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of Cleanup: time 9.768e-06/0.003332, allocations: 7.938 kB / 0.7279 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002182/0.003555, allocations: 212.4 kB / 0.7281 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of Tearing: time 4.469e-06/0.00357, allocations: 4 kB / 0.7281 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of Initialization: time 3.01e-07/0.003574, allocations: 0 / 0.7281 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of Tearing: time 6.61e-07/0.003579, allocations: 0 / 0.7281 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of Categorize: time 7.174e-06/0.003589, allocations: 3.938 kB / 0.7281 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of Solve: time 3.954e-05/0.003633, allocations: 11.98 kB / 0.7281 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.777e-06/0.003642, allocations: 3.984 kB / 0.7281 GB, free: 2.676 MB / 0.5606 GB 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 3.115e-05/0.003677, allocations: 25.27 kB / 0.7282 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005607/0.004242, allocations: 0.8821 MB / 0.729 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.001961/0.006213, allocations: 400 kB / 0.7294 GB, free: 1.363 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.o Buildings_maint.7.0.x_Buildings.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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.c Buildings_maint.7.0.x_Buildings.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: *** [: Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o] Error 1