Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009158/0.0009159, allocations: 106.2 kB / 16.42 MB, free: 6.445 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.0008879/0.000888, allocations: 192.2 kB / 17.36 MB, free: 5.719 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.149/1.149, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.201/1.201, allocations: 251.7 MB / 0.51 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.346e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001903/0.001923, allocations: 1.508 MB / 0.7279 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.002207, allocations: 125.7 kB / 0.728 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.002246, allocations: 4 kB / 0.728 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.002273, allocations: 0 / 0.728 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.922e-05/0.002311, allocations: 3.938 kB / 0.728 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.002488, allocations: 23.91 kB / 0.728 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.002559, allocations: 27.92 kB / 0.728 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.002645, allocations: 16 kB / 0.728 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.002681, allocations: 19.91 kB / 0.7281 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.002734, allocations: 15.92 kB / 0.7281 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.00275, allocations: 4 kB / 0.7281 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.551e-05/0.0028, allocations: 8 kB / 0.7281 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of combineBinaries: time 5.136e-05/0.002857, allocations: 39.58 kB / 0.7281 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.44e-05/0.002876, allocations: 31.56 kB / 0.7282 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-06/0.002891, allocations: 3.938 kB / 0.7282 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.809e-06/0.002904, allocations: 4 kB / 0.7282 GB, free: 2.879 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0002539/0.003164, allocations: 252.7 kB / 0.7284 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 6.391e-05/0.003233, allocations: 35.86 kB / 0.7284 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001103/0.00335, allocations: 124.3 kB / 0.7286 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simplify1: time 1.755e-05/0.003373, allocations: 7.984 kB / 0.7286 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002437/0.003621, allocations: 177.5 kB / 0.7287 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simplify2: time 1.191e-05/0.003641, allocations: 7.984 kB / 0.7287 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of Events: time 6.267e-05/0.003708, allocations: 39.88 kB / 0.7288 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of Detect States: time 6.73e-05/0.003781, allocations: 56.19 kB / 0.7288 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.285e-05/0.00384, allocations: 32.12 kB / 0.7289 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of Causalize: time 0.000218/0.004064, allocations: 227.9 kB / 0.7291 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 9.523e-05/0.004167, allocations: 128.3 kB / 0.7292 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Inline: time 0.0001423/0.004314, allocations: 180.3 kB / 0.7294 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.044e-05/0.00434, allocations: 20.12 kB / 0.7294 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.128e-05/0.004355, allocations: 11.92 kB / 0.7294 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002109/0.00457, allocations: 229.4 kB / 0.7296 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of Tearing: time 5.39e-06/0.004583, allocations: 4 kB / 0.7296 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of Initialization: time 2.9e-07/0.004588, allocations: 0 / 0.7296 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of Tearing: time 9.51e-07/0.004593, allocations: 0.9844 kB / 0.7296 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of Categorize: time 6.322e-06/0.004602, allocations: 4 kB / 0.7296 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of Solve: time 4.152e-05/0.004647, allocations: 24.61 kB / 0.7297 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.345e-06/0.004655, allocations: 0 / 0.7297 GB, free: 1.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: ................. 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.501e-05/0.004685, allocations: 25.31 kB / 0.7297 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0004458/0.005135, allocations: 0.8125 MB / 0.7305 GB, free: 208 kB / 0.5606 GB Notification: Performance of Templates: time 0.002115/0.00726, allocations: 0.5386 MB / 0.731 GB, free: 15.66 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial_functions.c Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial_functions.o] Error 1