Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108.4 kB / 16.42 MB, free: 6.512 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.00106/0.00106, allocations: 193.9 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 251.7 MB / 0.51 GB, free: 416 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.231e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0011/0.001119, allocations: 0.5798 MB / 0.727 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.001343, allocations: 55.95 kB / 0.727 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.001366, allocations: 0 / 0.727 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.001383, allocations: 0 / 0.727 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-06/0.001402, allocations: 3.938 kB / 0.727 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.001581, allocations: 15.94 kB / 0.7271 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.188e-05/0.001631, allocations: 11.97 kB / 0.7271 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.001673, allocations: 0 / 0.7271 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.001692, allocations: 4 kB / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.758e-05/0.001713, allocations: 0 / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.001726, allocations: 0 / 0.7271 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.001786, allocations: 15.98 kB / 0.7271 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of combineBinaries: time 2.084e-05/0.001812, allocations: 7.938 kB / 0.7271 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.897e-06/0.00182, allocations: 3.906 kB / 0.7271 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-06/0.001833, allocations: 0 / 0.7271 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.861e-06/0.001842, allocations: 0 / 0.7271 GB, free: 4.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002024/0.002048, allocations: 169.3 kB / 0.7273 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.353e-05/0.002107, allocations: 15.94 kB / 0.7273 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of Early Inline: time 5.326e-05/0.002166, allocations: 56.36 kB / 0.7273 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simplify1: time 4.308e-06/0.002175, allocations: 0 / 0.7273 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of Alias: time 0.000177/0.002355, allocations: 92.61 kB / 0.7274 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simplify2: time 5.631e-06/0.002369, allocations: 7.984 kB / 0.7274 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of Events: time 9.247e-06/0.002382, allocations: 3.953 kB / 0.7274 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Detect States: time 4.668e-05/0.002433, allocations: 28.23 kB / 0.7275 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of Partitioning: time 3.379e-05/0.002472, allocations: 20.11 kB / 0.7275 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of Causalize: time 8.896e-05/0.002566, allocations: 72.3 kB / 0.7275 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 3.613e-05/0.002608, allocations: 52.36 kB / 0.7276 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of Inline: time 6.874e-05/0.002681, allocations: 80.45 kB / 0.7277 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of Partitioning: time 9.868e-06/0.002696, allocations: 12.12 kB / 0.7277 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of Cleanup: time 6.592e-06/0.002707, allocations: 3.938 kB / 0.7277 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of Causalize: time 7.537e-05/0.002786, allocations: 64.16 kB / 0.7277 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of Tearing: time 4.598e-06/0.002799, allocations: 4.062 kB / 0.7277 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of Initialization: time 3.4e-07/0.002804, allocations: 4 kB / 0.7278 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of Tearing: time 6.11e-07/0.002809, allocations: 0 / 0.7278 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of Categorize: time 4.919e-06/0.002817, allocations: 0 / 0.7278 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of Solve: time 2.749e-05/0.002848, allocations: 11.92 kB / 0.7278 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.104e-06/0.002855, allocations: 0 / 0.7278 GB, free: 3.055 MB / 0.5606 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: ................. 2 (2) {fac, n} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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.261e-05/0.002891, allocations: 34.88 kB / 0.7278 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0004201/0.003315, allocations: 0.7764 MB / 0.7286 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of Templates: time 0.001803/0.005127, allocations: 304.9 kB / 0.7288 GB, free: 1.941 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.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_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Factorial -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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.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_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Factorial -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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c:36:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ 2 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1