Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001672/0.001672, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001692/0.001692, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.128/1.128, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 275.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.809/0.809, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.409e-05, allocations: 2.281 kB / 0.682 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001948/0.00197, allocations: 1.523 MB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.00228, allocations: 140.4 kB / 0.6837 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.002322, allocations: 0 / 0.6837 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.002355, allocations: 3.938 kB / 0.6837 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.002401, allocations: 3.938 kB / 0.6837 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.002643, allocations: 27.95 kB / 0.6837 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.002721, allocations: 35.92 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.002815, allocations: 27.98 kB / 0.6838 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.002847, allocations: 15.92 kB / 0.6838 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.00289, allocations: 23.91 kB / 0.6838 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002907, allocations: 4 kB / 0.6838 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-05/0.002976, allocations: 19.98 kB / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of combineBinaries: time 5.773e-05/0.003039, allocations: 51.42 kB / 0.6839 GB, free: 5.184 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.419e-05/0.003058, allocations: 31.47 kB / 0.6839 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.003078, allocations: 11.94 kB / 0.6839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.366e-05/0.003096, allocations: 3.938 kB / 0.6839 GB, free: 5.137 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002813/0.003381, allocations: 288.5 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.234e-05/0.003459, allocations: 31.86 kB / 0.6842 GB, free: 4.723 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001148/0.00358, allocations: 140.3 kB / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simplify1: time 2.019e-05/0.003606, allocations: 11.98 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of Alias: time 0.0003238/0.003934, allocations: 245.6 kB / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simplify2: time 1.461e-05/0.003957, allocations: 11.98 kB / 0.6846 GB, free: 4.227 MB / 494.1 MB Notification: Performance of Events: time 6.179e-05/0.004023, allocations: 27.98 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of Detect States: time 6.393e-05/0.004094, allocations: 62.89 kB / 0.6847 GB, free: 4.125 MB / 494.1 MB Notification: Performance of Partitioning: time 5.259e-05/0.004152, allocations: 40.12 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001938/0.004353, allocations: 176 kB / 0.6849 GB, free: 3.898 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 9.938e-05/0.00446, allocations: 132.3 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of Inline: time 0.0001742/0.004639, allocations: 200.3 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of Partitioning: time 1.69e-05/0.004664, allocations: 24.11 kB / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Cleanup: time 1.026e-05/0.004679, allocations: 8 kB / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of Causalize: time 0.000227/0.00491, allocations: 212 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of Tearing: time 5.49e-06/0.004924, allocations: 4.406 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Initialization: time 3.11e-07/0.004928, allocations: 0 / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Tearing: time 7.72e-07/0.004933, allocations: 0 / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Categorize: time 4.949e-06/0.004941, allocations: 0 / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Solve: time 4.807e-05/0.004994, allocations: 35.92 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of Jacobian: time 2.705e-06/0.005002, allocations: 0 / 0.6855 GB, free: 3.219 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: ................. 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.719e-05/0.005033, allocations: 15.5 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004754/0.005513, allocations: 0.8371 MB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of Templates: time 0.002278/0.0078, allocations: 0.6137 MB / 0.6869 GB, free: 1.742 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial_functions.c BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial_functions.o] Error 1