Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_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.00113/0.00113, allocations: 105.7 kB / 16.42 MB, free: 6.004 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.001102/0.001102, allocations: 186.5 kB / 17.35 MB, free: 5.602 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.948/1.948, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.757e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002127/0.002152, allocations: 1.543 MB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.002463, allocations: 144.3 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.00251, allocations: 4 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.002542, allocations: 3.938 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.002595, allocations: 3.938 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.002872, allocations: 23.97 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.002961, allocations: 39.92 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.003049, allocations: 15.97 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.003082, allocations: 19.92 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.003126, allocations: 19.92 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.003143, allocations: 4 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.00321, allocations: 19.98 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of combineBinaries: time 5.816e-05/0.003275, allocations: 55.41 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.705e-05/0.003298, allocations: 35.47 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.003324, allocations: 11.94 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.246e-05/0.00334, allocations: 3.938 kB / 0.9533 GB, free: 5.738 MB / 0.7325 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.0003016/0.003646, allocations: 280.5 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 7.597e-05/0.003727, allocations: 39.8 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001312/0.003864, allocations: 140.3 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simplify1: time 2.363e-05/0.003893, allocations: 11.98 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003498/0.004247, allocations: 241.7 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simplify2: time 1.276e-05/0.004269, allocations: 7.984 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Detect States: time 7.476e-05/0.004348, allocations: 40.17 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of Events: time 7.781e-05/0.004431, allocations: 31.97 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.118e-05/0.004499, allocations: 48.11 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001976/0.004705, allocations: 172.2 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001201/0.004832, allocations: 136.5 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002029/0.005041, allocations: 221.4 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.071e-05/0.00507, allocations: 20.06 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.341e-05/0.005088, allocations: 7.984 kB / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002693/0.005361, allocations: 212 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of Tearing: time 1.209e-05/0.005381, allocations: 4 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of Initialization: time 3.71e-07/0.005385, allocations: 0 / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of Tearing: time 3.286e-06/0.005392, allocations: 3.938 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of Categorize: time 5.941e-06/0.005402, allocations: 0 / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of Solve: time 5.038e-05/0.005456, allocations: 27.97 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.725e-06/0.005463, allocations: 0 / 0.9549 GB, free: 3.824 MB / 0.7325 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 3.428e-05/0.005501, allocations: 29.38 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005602/0.006065, allocations: 0.8448 MB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.002357/0.008433, allocations: 0.5868 MB / 0.9563 GB, free: 2.355 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.FallingFactorial.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial_functions.c Buildings_9_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_9_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o] Error 1