Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 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.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 106.2 kB / 16.42 MB, free: 6.418 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.001108/0.001108, allocations: 192.3 kB / 17.36 MB, free: 5.688 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.207/1.207, 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.981/1.981, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.682e-05, allocations: 4.109 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002127/0.002153, allocations: 1.517 MB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000306/0.002469, allocations: 128.4 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.002509, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.00254, allocations: 3.938 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.002593, allocations: 4 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.002791, allocations: 23.92 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.002868, allocations: 31.91 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.002962, allocations: 11.98 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.003002, allocations: 15.92 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.003045, allocations: 11.98 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.003062, allocations: 4 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.003117, allocations: 12 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of combineBinaries: time 5.207e-05/0.003176, allocations: 47.5 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.151e-05/0.003203, allocations: 27.56 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.003223, allocations: 8 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.119e-05/0.003238, allocations: 0 / 0.9532 GB, free: 5.863 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0002901/0.003532, allocations: 248.8 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 7.414e-05/0.003613, allocations: 43.8 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.000111/0.00373, allocations: 120.4 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simplify1: time 1.814e-05/0.003755, allocations: 11.92 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002824/0.004042, allocations: 181.4 kB / 0.9538 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of simplify2: time 1.551e-05/0.004066, allocations: 15.98 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of Detect States: time 5.651e-05/0.004127, allocations: 32.23 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of Events: time 8.026e-05/0.004213, allocations: 43.89 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Partitioning: time 5.593e-05/0.004276, allocations: 44.11 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001918/0.004473, allocations: 168 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001072/0.00459, allocations: 128.3 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001466/0.004743, allocations: 180.7 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.491e-05/0.004764, allocations: 16.12 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.124e-05/0.00478, allocations: 15.98 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002069/0.004991, allocations: 187.9 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of Tearing: time 8.145e-06/0.005008, allocations: 0 / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of Initialization: time 2.91e-07/0.005012, allocations: 0 / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of Tearing: time 1.233e-06/0.005019, allocations: 4 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of Categorize: time 6.172e-06/0.005029, allocations: 0 / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of Solve: time 4.19e-05/0.005075, allocations: 23.97 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.859e-06/0.005085, allocations: 3.938 kB / 0.9546 GB, free: 4.129 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) {fac.y, rea2Int.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: ........... 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: Performance of backend: time 2.988e-05/0.005119, allocations: 21.61 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005239/0.005648, allocations: 0.8214 MB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of Templates: time 0.002226/0.007884, allocations: 0.5383 MB / 0.956 GB, free: 2.742 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.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_9_Buildings_Utilities_Math_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_9_Buildings.Utilities.Math.Examples.Factorial.o Buildings_9_Buildings.Utilities.Math.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_9_Buildings_Utilities_Math_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_9_Buildings.Utilities.Math.Examples.Factorial_functions.o Buildings_9_Buildings.Utilities.Math.Examples.Factorial_functions.c Buildings_9_Buildings.Utilities.Math.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_9_Buildings.Utilities.Math.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_9_Buildings.Utilities.Math.Examples.Factorial_functions.o] Error 1