Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_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.00112/0.001121, allocations: 112.2 kB / 16.43 MB, free: 6.5 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.001149/0.001149, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.185/1.185, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.283/2.283, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.673e-05, allocations: 2.281 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001197/0.001221, allocations: 0.5746 MB / 1.055 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.001462, allocations: 71.7 kB / 1.055 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.00149, allocations: 4 kB / 1.055 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.001517, allocations: 0 / 1.055 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-06/0.001526, allocations: 0 / 1.055 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.00177, allocations: 19.86 kB / 1.055 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.001848, allocations: 8 kB / 1.055 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.001902, allocations: 4 kB / 1.055 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.001928, allocations: 7.969 kB / 1.055 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.001961, allocations: 4 kB / 1.055 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.001977, allocations: 0 / 1.055 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.002058, allocations: 15.98 kB / 1.055 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of combineBinaries: time 2.764e-05/0.002092, allocations: 7.938 kB / 1.055 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.873e-06/0.002104, allocations: 11.91 kB / 1.055 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.002119, allocations: 0 / 1.055 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.999e-06/0.002133, allocations: 0 / 1.055 GB, free: 7.004 MB / 0.8262 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.0002794/0.002416, allocations: 173.3 kB / 1.056 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 8.074e-05/0.002502, allocations: 27.86 kB / 1.056 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of Early Inline: time 6.99e-05/0.002579, allocations: 72.34 kB / 1.056 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of simplify1: time 4.439e-06/0.00259, allocations: 4 kB / 1.056 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of Alias: time 5.485e-05/0.002649, allocations: 56.61 kB / 1.056 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simplify2: time 1.583e-06/0.002655, allocations: 7.875 kB / 1.056 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of Events: time 2.123e-05/0.00268, allocations: 8 kB / 1.056 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of Detect States: time 5.021e-05/0.002734, allocations: 32.19 kB / 1.056 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.563e-05/0.002795, allocations: 28.11 kB / 1.056 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003341/0.003135, allocations: 199.7 kB / 1.056 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 7.68e-05/0.00322, allocations: 84.27 kB / 1.056 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001034/0.003331, allocations: 104.5 kB / 1.056 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.429e-05/0.003352, allocations: 20 kB / 1.056 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of Cleanup: time 9.307e-06/0.003366, allocations: 4 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002448/0.003614, allocations: 213.9 kB / 1.056 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of Tearing: time 7.814e-06/0.00363, allocations: 0 / 1.056 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of Initialization: time 3.61e-07/0.003635, allocations: 0 / 1.056 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of Tearing: time 2.655e-06/0.003641, allocations: 3.938 kB / 1.056 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of Categorize: time 6.502e-06/0.003653, allocations: 4 kB / 1.056 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of Solve: time 4.804e-05/0.003705, allocations: 11.98 kB / 1.056 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.025e-06/0.003715, allocations: 3.938 kB / 1.056 GB, free: 5.703 MB / 0.8262 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.038e-05/0.003749, allocations: 18.09 kB / 1.056 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005874/0.004341, allocations: 0.8944 MB / 1.057 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.001977/0.006329, allocations: 400.6 kB / 1.058 GB, free: 4.387 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.c Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o] Error 1