Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001085/0.001085, allocations: 103.5 kB / 16.37 MB, free: 6.371 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.001073/0.001073, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.111/1.111, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.532/1.532, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.835e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.00145/0.001481, allocations: 0.5859 MB / 0.6734 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.001691, allocations: 55.8 kB / 0.6735 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.001714, allocations: 0 / 0.6735 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.857e-06/0.001729, allocations: 0 / 0.6735 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-06/0.001746, allocations: 0 / 0.6735 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.001913, allocations: 11.98 kB / 0.6735 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.869e-05/0.00196, allocations: 7.984 kB / 0.6735 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.001999, allocations: 0 / 0.6735 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.002022, allocations: 7.938 kB / 0.6735 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.707e-05/0.002044, allocations: 0 / 0.6735 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-06/0.002056, allocations: 7.938 kB / 0.6735 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.922e-05/0.002109, allocations: 8 kB / 0.6735 GB, free: 5.188 MB / 0.545 GB Notification: Performance of combineBinaries: time 2.138e-05/0.002135, allocations: 11.89 kB / 0.6735 GB, free: 5.176 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 4.909e-06/0.002145, allocations: 7.922 kB / 0.6735 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.093e-05/0.00216, allocations: 4 kB / 0.6735 GB, free: 5.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.943e-06/0.002171, allocations: 3.938 kB / 0.6736 GB, free: 5.16 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002012/0.002377, allocations: 153.4 kB / 0.6737 GB, free: 4.91 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.403e-05/0.002436, allocations: 19.88 kB / 0.6737 GB, free: 4.891 MB / 0.545 GB Notification: Performance of Early Inline: time 5.509e-05/0.002497, allocations: 56.36 kB / 0.6738 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simplify1: time 4.519e-06/0.002507, allocations: 0 / 0.6738 GB, free: 4.809 MB / 0.545 GB Notification: Performance of Alias: time 0.0001669/0.00268, allocations: 88.73 kB / 0.6739 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simplify2: time 5.249e-06/0.002693, allocations: 7.984 kB / 0.6739 GB, free: 4.668 MB / 0.545 GB Notification: Performance of Events: time 1.133e-05/0.002708, allocations: 7.938 kB / 0.6739 GB, free: 4.66 MB / 0.545 GB Notification: Performance of Detect States: time 8.767e-05/0.0028, allocations: 28.19 kB / 0.6739 GB, free: 4.617 MB / 0.545 GB Notification: Performance of Partitioning: time 4.035e-05/0.002846, allocations: 28.28 kB / 0.6739 GB, free: 4.582 MB / 0.545 GB Notification: Performance of Causalize: time 8.687e-05/0.002939, allocations: 64.27 kB / 0.674 GB, free: 4.512 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 4.005e-05/0.002986, allocations: 52.41 kB / 0.674 GB, free: 4.434 MB / 0.545 GB Notification: Performance of Inline: time 5.931e-05/0.003052, allocations: 76.47 kB / 0.6741 GB, free: 4.324 MB / 0.545 GB Notification: Performance of Partitioning: time 1.047e-05/0.003068, allocations: 12.12 kB / 0.6741 GB, free: 4.305 MB / 0.545 GB Notification: Performance of Cleanup: time 6.552e-06/0.003079, allocations: 4 kB / 0.6741 GB, free: 4.301 MB / 0.545 GB Notification: Performance of Causalize: time 8.724e-05/0.003171, allocations: 76.08 kB / 0.6742 GB, free: 4.219 MB / 0.545 GB Notification: Performance of Tearing: time 5.079e-06/0.003184, allocations: 0 / 0.6742 GB, free: 4.219 MB / 0.545 GB Notification: Performance of Initialization: time 2.71e-07/0.003188, allocations: 0 / 0.6742 GB, free: 4.219 MB / 0.545 GB Notification: Performance of Tearing: time 8.22e-07/0.003192, allocations: 0 / 0.6742 GB, free: 4.219 MB / 0.545 GB Notification: Performance of Categorize: time 7.954e-06/0.003204, allocations: 4 kB / 0.6742 GB, free: 4.215 MB / 0.545 GB Notification: Performance of Solve: time 2.962e-05/0.003237, allocations: 19.91 kB / 0.6742 GB, free: 4.195 MB / 0.545 GB Notification: Performance of Jacobian: time 3.436e-06/0.003245, allocations: 3.938 kB / 0.6742 GB, free: 4.191 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: ................. 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 2.58e-05/0.003275, allocations: 19.72 kB / 0.6742 GB, free: 4.176 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004217/0.003701, allocations: 0.7552 MB / 0.675 GB, free: 3.402 MB / 0.545 GB Notification: Performance of Templates: time 0.001658/0.005369, allocations: 308.3 kB / 0.6753 GB, free: 3.105 MB / 0.545 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Utilities.Math.Functions.Examples.Factorial.o Buildings_8_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_8_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_8_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o Buildings_8_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c Buildings_8_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_8_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_8_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1