Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001065/0.001065, allocations: 105.9 kB / 16.42 MB, free: 6.449 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.001042/0.001042, allocations: 192.3 kB / 17.35 MB, free: 5.695 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.132/1.132, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.029/2.029, allocations: 437 MB / 0.7111 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.028e-05, allocations: 2.281 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001039/0.001057, allocations: 0.5808 MB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.001266, allocations: 59.73 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.001289, allocations: 0 / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.001322, allocations: 7.938 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-06/0.001332, allocations: 4 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.001536, allocations: 11.98 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.001595, allocations: 11.97 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.876e-05/0.001629, allocations: 0 / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.001649, allocations: 8 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.001674, allocations: 0 / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.001687, allocations: 0 / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.001755, allocations: 15.98 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of combineBinaries: time 2.218e-05/0.001782, allocations: 7.938 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.62e-06/0.001792, allocations: 11.89 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.196e-05/0.001809, allocations: 4 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.683e-06/0.00182, allocations: 0 / 1.02 GB, free: 8.691 MB / 0.795 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.0002346/0.002058, allocations: 173.2 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of FunctionAlias: time 6.18e-05/0.002127, allocations: 23.88 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of Early Inline: time 6.625e-05/0.0022, allocations: 72.34 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of simplify1: time 3.767e-06/0.002211, allocations: 4 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of Alias: time 5.979e-05/0.002274, allocations: 64.59 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of simplify2: time 4.939e-06/0.002284, allocations: 7.922 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of Detect States: time 0.000144/0.002434, allocations: 36.16 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of Events: time 1.443e-05/0.002454, allocations: 11.95 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of Partitioning: time 4.406e-05/0.002503, allocations: 24.12 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002846/0.002792, allocations: 210.1 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 6.473e-05/0.002865, allocations: 76.28 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of Inline: time 8.234e-05/0.002953, allocations: 108.5 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of Partitioning: time 1.382e-05/0.002972, allocations: 20.05 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of Cleanup: time 6.332e-06/0.002983, allocations: 0 / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of Causalize: time 0.000226/0.003213, allocations: 205.1 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of Tearing: time 6.903e-06/0.003229, allocations: 4 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of Initialization: time 2.91e-07/0.003234, allocations: 0 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of Tearing: time 3.296e-06/0.003241, allocations: 7.938 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of Categorize: time 6.072e-06/0.00325, allocations: 3.984 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of Solve: time 3.829e-05/0.003292, allocations: 8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of Jacobian: time 1.993e-06/0.003299, allocations: 0 / 1.021 GB, free: 7.387 MB / 0.795 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 2.279e-05/0.003327, allocations: 20.98 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005155/0.003846, allocations: 0.8859 MB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of Templates: time 0.001776/0.005631, allocations: 386.1 kB / 1.022 GB, free: 6.098 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.o Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.c Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o] Error 1