Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001167/0.001167, allocations: 102.7 kB / 16.42 MB, free: 5.965 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.00114/0.00114, allocations: 192.4 kB / 17.36 MB, free: 5.574 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.177/1.177, 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 9.1.3-maint.9.1.x/package.mo): time 1.996/1.996, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.049e-05, allocations: 6.281 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001347/0.001375, allocations: 0.5845 MB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.001646, allocations: 65.89 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.001674, allocations: 0 / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.001712, allocations: 0 / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-06/0.001725, allocations: 0 / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.002074, allocations: 19.92 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.002171, allocations: 15.92 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.002231, allocations: 3.938 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.002264, allocations: 4 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.002311, allocations: 3.984 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.002333, allocations: 0 / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.002436, allocations: 15.98 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of combineBinaries: time 3.8e-05/0.002481, allocations: 8 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.031e-06/0.002492, allocations: 7.844 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.244e-05/0.002508, allocations: 0 / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.578e-05/0.002538, allocations: 3.984 kB / 0.9522 GB, free: 6.941 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: 11 (2) * Number of variables: 11 (2) Notification: Performance of Bindings: time 0.0003385/0.00288, allocations: 169.3 kB / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 9.671e-05/0.002982, allocations: 27.88 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of Early Inline: time 9.368e-05/0.003082, allocations: 72.34 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of simplify1: time 5.09e-06/0.003093, allocations: 0 / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of Alias: time 7.465e-05/0.003172, allocations: 60.56 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of simplify2: time 2.014e-06/0.003182, allocations: 8 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of Detect States: time 6.945e-05/0.003255, allocations: 36.22 kB / 0.9526 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of Events: time 2.014e-05/0.003281, allocations: 7.938 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.902e-05/0.003354, allocations: 36.05 kB / 0.9526 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003852/0.003745, allocations: 196.1 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 7.25e-05/0.003826, allocations: 72.39 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001204/0.003952, allocations: 112.4 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.898e-05/0.003977, allocations: 20.12 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.288e-05/0.003994, allocations: 7.938 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002798/0.004278, allocations: 203.7 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of Tearing: time 1.138e-05/0.004298, allocations: 0 / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of Initialization: time 2.805e-06/0.004305, allocations: 4 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of Tearing: time 1.683e-06/0.00431, allocations: 0 / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of Categorize: time 6.693e-06/0.00432, allocations: 0 / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of Solve: time 5.027e-05/0.004374, allocations: 15.92 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.188e-06/0.004386, allocations: 3.938 kB / 0.9532 GB, free: 5.645 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: ................. 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.153e-05/0.004423, allocations: 23.81 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007012/0.005128, allocations: 0.9061 MB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of Templates: time 0.002254/0.007393, allocations: 392.6 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.c Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_functions.o] Error 1