Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_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.001056/0.001056, allocations: 108.2 kB / 16.42 MB, free: 5.961 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.001033/0.001033, allocations: 191.1 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.102/1.102, allocations: 222.9 MB / 241 MB, free: 15.07 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.041/2.041, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.619e-05, allocations: 4.672 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002003/0.002027, allocations: 1.528 MB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.002341, allocations: 136.5 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.002383, allocations: 0 / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.002411, allocations: 7.922 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.002449, allocations: 3.938 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.002679, allocations: 23.92 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.002756, allocations: 43.91 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.00284, allocations: 19.97 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.002877, allocations: 11.94 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.002918, allocations: 15.92 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.002936, allocations: 7.938 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.003006, allocations: 23.98 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of combineBinaries: time 5.267e-05/0.003066, allocations: 63.39 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.785e-05/0.003088, allocations: 39.41 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.231e-05/0.003105, allocations: 4 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.351e-05/0.003122, allocations: 4 kB / 1.021 GB, free: 7.496 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002847/0.003411, allocations: 280.5 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.297e-05/0.003489, allocations: 39.8 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001149/0.00361, allocations: 132.4 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of simplify1: time 2.261e-05/0.003638, allocations: 15.97 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of Alias: time 0.0003194/0.003961, allocations: 237.6 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simplify2: time 1.093e-05/0.003981, allocations: 4 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001248/0.00411, allocations: 52.16 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of Events: time 6.755e-05/0.004185, allocations: 27.92 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of Partitioning: time 5.397e-05/0.004245, allocations: 52.11 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001885/0.004439, allocations: 168 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 9.66e-05/0.004543, allocations: 136.3 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of Inline: time 0.0001846/0.004733, allocations: 209.8 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of Partitioning: time 1.526e-05/0.004756, allocations: 16.12 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of Cleanup: time 1.06e-05/0.004771, allocations: 8 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002371/0.005012, allocations: 232.6 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of Tearing: time 7.474e-06/0.005027, allocations: 288 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of Initialization: time 3.81e-07/0.005032, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of Tearing: time 1.233e-06/0.005036, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of Categorize: time 5.401e-06/0.005056, allocations: 3.938 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of Solve: time 4.592e-05/0.005108, allocations: 31.97 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of Jacobian: time 2.334e-06/0.005115, allocations: 0 / 1.023 GB, free: 5.582 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: ................. 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.762e-05/0.005146, allocations: 19.81 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004929/0.005644, allocations: 0.8357 MB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of Templates: time 0.002094/0.007747, allocations: 0.5811 MB / 1.024 GB, free: 4.137 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.Math.Examples.FallingFactorial.o Buildings_10_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_10_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_10_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_functions.c Buildings_10_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_10_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o] Error 1