Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_latest_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.001132/0.001132, allocations: 108.3 kB / 16.42 MB, free: 6.492 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.001115/0.001115, allocations: 188.2 kB / 17.35 MB, free: 5.742 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.246/2.246, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.265e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002141/0.002171, allocations: 1.518 MB / 1.056 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003174/0.0025, allocations: 119.6 kB / 1.056 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.002542, allocations: 8 kB / 1.056 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.002572, allocations: 0 / 1.056 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.002623, allocations: 3.938 kB / 1.056 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.002833, allocations: 19.92 kB / 1.056 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.002915, allocations: 39.91 kB / 1.056 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.003008, allocations: 11.98 kB / 1.056 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.003056, allocations: 15.92 kB / 1.056 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.003108, allocations: 19.92 kB / 1.056 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.003126, allocations: 4 kB / 1.056 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.003185, allocations: 8 kB / 1.056 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.296e-05/0.003245, allocations: 43.56 kB / 1.056 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.431e-05/0.003265, allocations: 27.56 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.003283, allocations: 8 kB / 1.056 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.221e-05/0.003299, allocations: 0 / 1.056 GB, free: 5.926 MB / 0.8262 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.0002772/0.00358, allocations: 248.8 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.948e-05/0.003655, allocations: 35.86 kB / 1.057 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001151/0.003778, allocations: 120.3 kB / 1.057 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simplify1: time 1.917e-05/0.003802, allocations: 11.98 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002983/0.004107, allocations: 189.4 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simplify2: time 1.196e-05/0.004127, allocations: 7.984 kB / 1.057 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of Events: time 6.334e-05/0.004195, allocations: 27.98 kB / 1.057 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of Detect States: time 7.866e-05/0.00428, allocations: 61 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.667e-05/0.004342, allocations: 48.06 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002044/0.004552, allocations: 172 kB / 1.057 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.000106/0.004666, allocations: 128.3 kB / 1.057 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001653/0.004837, allocations: 180.3 kB / 1.058 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.282e-05/0.004856, allocations: 12.12 kB / 1.058 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.214e-05/0.004873, allocations: 11.94 kB / 1.058 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002184/0.005096, allocations: 200.4 kB / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of Tearing: time 7.073e-06/0.005111, allocations: 0 / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of Initialization: time 3.81e-07/0.005117, allocations: 3.938 kB / 1.058 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of Tearing: time 1.252e-06/0.005123, allocations: 0 / 1.058 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of Categorize: time 7.614e-06/0.005134, allocations: 4 kB / 1.058 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of Solve: time 4.803e-05/0.005186, allocations: 19.92 kB / 1.058 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.846e-06/0.005194, allocations: 0 / 1.058 GB, free: 4.184 MB / 0.8262 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 3.69e-05/0.005236, allocations: 18.95 kB / 1.058 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005251/0.005766, allocations: 0.8125 MB / 1.059 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.002356/0.008131, allocations: 0.54 MB / 1.059 GB, free: 2.797 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Factorial.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Factorial_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.Factorial_functions.c Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Factorial_functions.o] Error 1