Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001358/0.001358, allocations: 108.6 kB / 16.38 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.001299/0.001299, allocations: 190.5 kB / 17.31 MB, free: 5.812 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 303.4 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9714/0.9714, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.677e-05, allocations: 2.5 kB / 0.5966 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.001605/0.001649, allocations: 0.5893 MB / 0.5972 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.001911, allocations: 59.84 kB / 0.5972 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.001936, allocations: 0.5 kB / 0.5972 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.001955, allocations: 1.094 kB / 0.5972 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.001965, allocations: 0 / 0.5972 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.002188, allocations: 12 kB / 0.5972 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.278e-05/0.00224, allocations: 4.5 kB / 0.5972 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.002297, allocations: 5.203 kB / 0.5972 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.002318, allocations: 7.984 kB / 0.5972 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.931e-05/0.002342, allocations: 0 / 0.5972 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.002356, allocations: 0.9688 kB / 0.5972 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.002421, allocations: 8 kB / 0.5973 GB, free: 13.88 MB / 414.1 MB Notification: Performance of combineBinaries: time 3.395e-05/0.00246, allocations: 11.84 kB / 0.5973 GB, free: 13.87 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 4.137e-06/0.00247, allocations: 8.938 kB / 0.5973 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.162e-05/0.002485, allocations: 0 / 0.5973 GB, free: 13.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.125e-06/0.002497, allocations: 0 / 0.5973 GB, free: 13.86 MB / 414.1 MB 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.0002361/0.002739, allocations: 164.8 kB / 0.5974 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FunctionAlias: time 6.119e-05/0.002807, allocations: 13.2 kB / 0.5974 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Early Inline: time 5.917e-05/0.002873, allocations: 60.97 kB / 0.5975 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplify1: time 5.6e-06/0.002885, allocations: 0.625 kB / 0.5975 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Alias: time 0.0002056/0.003096, allocations: 90.38 kB / 0.5976 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplify2: time 4.087e-06/0.003109, allocations: 4.5 kB / 0.5976 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Events: time 1.113e-05/0.003125, allocations: 0.9688 kB / 0.5976 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Detect States: time 5.858e-05/0.003188, allocations: 40.14 kB / 0.5976 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Partitioning: time 3.684e-05/0.003231, allocations: 21.69 kB / 0.5977 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Causalize: time 8.02e-05/0.003316, allocations: 60.09 kB / 0.5977 GB, free: 13.22 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 5.061e-05/0.003374, allocations: 54.3 kB / 0.5978 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Inline: time 6.69e-05/0.003446, allocations: 85 kB / 0.5978 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Partitioning: time 1.539e-05/0.003468, allocations: 17.83 kB / 0.5979 GB, free: 13 MB / 414.1 MB Notification: Performance of Cleanup: time 6.392e-06/0.003478, allocations: 3.938 kB / 0.5979 GB, free: 13 MB / 414.1 MB Notification: Performance of Causalize: time 8.234e-05/0.003565, allocations: 64.09 kB / 0.5979 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Tearing: time 6.052e-06/0.00358, allocations: 1.344 kB / 0.5979 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Initialization: time 2.71e-07/0.003584, allocations: 0 / 0.5979 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Tearing: time 2.475e-06/0.003591, allocations: 4 kB / 0.5979 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Categorize: time 7.324e-06/0.003603, allocations: 4.906 kB / 0.5979 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Solve: time 3.001e-05/0.003637, allocations: 4 kB / 0.5979 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Jacobian: time 2.665e-06/0.003645, allocations: 1.531 kB / 0.5979 GB, free: 12.91 MB / 414.1 MB 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 3.398e-05/0.003683, allocations: 6.703 kB / 0.5979 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005094/0.004198, allocations: 0.7686 MB / 0.5987 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.002191/0.006399, allocations: 311.1 kB / 0.599 GB, free: 11.84 MB / 414.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1