Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001163/0.001163, allocations: 107.5 kB / 16.38 MB, free: 6.438 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.001096/0.001096, allocations: 192.7 kB / 17.32 MB, free: 5.789 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.108/1.108, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.512/1.512, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.85e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002187/0.002218, allocations: 1.524 MB / 0.6743 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.002494, allocations: 124.5 kB / 0.6745 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.002529, allocations: 0 / 0.6745 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.002559, allocations: 7.938 kB / 0.6745 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.002597, allocations: 3.938 kB / 0.6745 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.002762, allocations: 19.98 kB / 0.6745 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.002831, allocations: 31.92 kB / 0.6745 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.002912, allocations: 11.98 kB / 0.6745 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.002952, allocations: 15.91 kB / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.002992, allocations: 8 kB / 0.6745 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003008, allocations: 7.938 kB / 0.6746 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.003062, allocations: 23.98 kB / 0.6746 GB, free: 4.137 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.619e-05/0.003113, allocations: 39.58 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.303e-05/0.003131, allocations: 27.56 kB / 0.6746 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.084e-05/0.003145, allocations: 4 kB / 0.6746 GB, free: 4.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.695e-06/0.003157, allocations: 0 / 0.6746 GB, free: 4.066 MB / 0.545 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.0002581/0.003419, allocations: 263.7 kB / 0.6749 GB, free: 3.711 MB / 0.545 GB Notification: Performance of FunctionAlias: time 6.062e-05/0.003485, allocations: 23.88 kB / 0.6749 GB, free: 3.688 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001072/0.003598, allocations: 124.3 kB / 0.675 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simplify1: time 1.785e-05/0.003622, allocations: 11.98 kB / 0.6751 GB, free: 3.527 MB / 0.545 GB Notification: Performance of Alias: time 0.0002345/0.003861, allocations: 169.6 kB / 0.6752 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simplify2: time 1.107e-05/0.00388, allocations: 8 kB / 0.6752 GB, free: 3.293 MB / 0.545 GB Notification: Performance of Events: time 6.684e-05/0.003952, allocations: 39.86 kB / 0.6753 GB, free: 3.254 MB / 0.545 GB Notification: Performance of Detect States: time 6.036e-05/0.004019, allocations: 59.33 kB / 0.6753 GB, free: 3.184 MB / 0.545 GB Notification: Performance of Partitioning: time 5.738e-05/0.004082, allocations: 52.09 kB / 0.6754 GB, free: 3.125 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002092/0.004297, allocations: 204 kB / 0.6756 GB, free: 2.918 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001009/0.004405, allocations: 132.3 kB / 0.6757 GB, free: 2.762 MB / 0.545 GB Notification: Performance of Inline: time 0.0001401/0.004551, allocations: 176.4 kB / 0.6759 GB, free: 2.555 MB / 0.545 GB Notification: Performance of Partitioning: time 1.302e-05/0.004569, allocations: 12.12 kB / 0.6759 GB, free: 2.535 MB / 0.545 GB Notification: Performance of Cleanup: time 1.095e-05/0.004585, allocations: 11.92 kB / 0.6759 GB, free: 2.523 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002141/0.004804, allocations: 245.8 kB / 0.6761 GB, free: 2.277 MB / 0.545 GB Notification: Performance of Tearing: time 3.497e-06/0.004816, allocations: 0 / 0.6761 GB, free: 2.277 MB / 0.545 GB Notification: Performance of Initialization: time 1.674e-06/0.004822, allocations: 4 kB / 0.6761 GB, free: 2.273 MB / 0.545 GB Notification: Performance of Tearing: time 7.52e-07/0.004826, allocations: 0 / 0.6761 GB, free: 2.273 MB / 0.545 GB Notification: Performance of Categorize: time 6.692e-06/0.004836, allocations: 4.219 kB / 0.6761 GB, free: 2.27 MB / 0.545 GB Notification: Performance of Solve: time 4.251e-05/0.004882, allocations: 19.98 kB / 0.6761 GB, free: 2.25 MB / 0.545 GB Notification: Performance of Jacobian: time 3.406e-06/0.004891, allocations: 3.938 kB / 0.6761 GB, free: 2.246 MB / 0.545 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.594e-05/0.00492, allocations: 28.3 kB / 0.6762 GB, free: 2.223 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004492/0.005374, allocations: 0.8058 MB / 0.677 GB, free: 1.398 MB / 0.545 GB Notification: Performance of Templates: time 0.002002/0.007386, allocations: 0.5239 MB / 0.6775 GB, free: 0.875 MB / 0.545 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Utilities.Math.Examples.Factorial.o Buildings_8_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_8_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_8_Buildings.Utilities.Math.Examples.Factorial_functions.o Buildings_8_Buildings.Utilities.Math.Examples.Factorial_functions.c Buildings_8_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_8_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_8_Buildings.Utilities.Math.Examples.Factorial_functions.o] Error 1