Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001132/0.001132, allocations: 190 kB / 17.36 MB, free: 5.699 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.299/2.299, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.869e-05, allocations: 5.234 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002343/0.00237, allocations: 1.537 MB / 1.056 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000323/0.002705, allocations: 135.5 kB / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.002746, allocations: 0 / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.002782, allocations: 3.938 kB / 1.056 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.002837, allocations: 11.92 kB / 1.056 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003055, allocations: 27.97 kB / 1.056 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.003131, allocations: 35.92 kB / 1.056 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.003213, allocations: 15.98 kB / 1.056 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.00325, allocations: 19.91 kB / 1.056 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.003289, allocations: 19.92 kB / 1.056 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003308, allocations: 8 kB / 1.056 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.00338, allocations: 19.98 kB / 1.056 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of combineBinaries: time 4.979e-05/0.003436, allocations: 47.42 kB / 1.056 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.959e-05/0.003461, allocations: 47.39 kB / 1.057 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.838e-06/0.003475, allocations: 0 / 1.057 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.54e-05/0.003495, allocations: 3.938 kB / 1.057 GB, free: 5.828 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002772/0.003777, allocations: 284.5 kB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.063e-05/0.003853, allocations: 43.73 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001197/0.003979, allocations: 136.3 kB / 1.057 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simplify1: time 2.834e-05/0.004013, allocations: 7.984 kB / 1.057 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003243/0.004341, allocations: 245.7 kB / 1.057 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simplify2: time 1.298e-05/0.004363, allocations: 7.984 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of Events: time 6.669e-05/0.004435, allocations: 43.89 kB / 1.057 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of Detect States: time 6.219e-05/0.004504, allocations: 52.17 kB / 1.057 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Partitioning: time 6.522e-05/0.004576, allocations: 40.12 kB / 1.057 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001977/0.004781, allocations: 180 kB / 1.058 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001106/0.004899, allocations: 132.3 kB / 1.058 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002008/0.005107, allocations: 205.6 kB / 1.058 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.37e-05/0.005139, allocations: 28.03 kB / 1.058 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.099e-05/0.005154, allocations: 4 kB / 1.058 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002396/0.005398, allocations: 200.5 kB / 1.058 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Tearing: time 6.433e-06/0.005412, allocations: 0 / 1.058 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Initialization: time 3.9e-07/0.005416, allocations: 0 / 1.058 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Tearing: time 1.572e-06/0.005423, allocations: 4 kB / 1.058 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of Categorize: time 7.183e-06/0.005436, allocations: 7.984 kB / 1.058 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Solve: time 4.836e-05/0.005488, allocations: 23.97 kB / 1.058 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.777e-06/0.005497, allocations: 3.984 kB / 1.058 GB, free: 3.91 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: ................. 5 (5) {rea2Int.y, falFac.y, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.726e-05/0.005528, allocations: 16.08 kB / 1.058 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005338/0.006067, allocations: 0.849 MB / 1.059 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.002255/0.008332, allocations: 0.5968 MB / 1.06 GB, free: 2.434 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.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_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.Examples.FallingFactorial.o Buildings_latest_Buildings.Utilities.Math.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_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.Examples.FallingFactorial_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_functions.c Buildings_latest_Buildings.Utilities.Math.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.Examples.FallingFactorial_functions.o] Error 1