Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001296/0.001296, allocations: 110.3 kB / 16.42 MB, free: 6.512 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.001336/0.001336, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.338e-05, allocations: 2.5 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001354/0.001386, allocations: 0.5773 MB / 0.5825 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.001654, allocations: 60.56 kB / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.001682, allocations: 2.781 kB / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.001702, allocations: 0 / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.035e-06/0.001718, allocations: 1.031 kB / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.001951, allocations: 14.94 kB / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.002001, allocations: 7.094 kB / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.002057, allocations: 2.844 kB / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.002076, allocations: 1.656 kB / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.0021, allocations: 0 / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.002113, allocations: 1.656 kB / 0.5826 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.002179, allocations: 13.27 kB / 0.5827 GB, free: 23.26 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.487e-05/0.002209, allocations: 14.08 kB / 0.5827 GB, free: 23.25 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.897e-06/0.002217, allocations: 4.969 kB / 0.5827 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.002234, allocations: 2 kB / 0.5827 GB, free: 23.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.033e-05/0.002249, allocations: 1.344 kB / 0.5827 GB, free: 23.24 MB / 446.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.0002105/0.002463, allocations: 160.9 kB / 0.5828 GB, free: 23.01 MB / 446.1 MB Notification: Performance of FunctionAlias: time 6.049e-05/0.00253, allocations: 18.03 kB / 0.5828 GB, free: 23 MB / 446.1 MB Notification: Performance of Early Inline: time 4.913e-05/0.002585, allocations: 55.14 kB / 0.5829 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simplify1: time 6.562e-06/0.002597, allocations: 4.5 kB / 0.5829 GB, free: 22.92 MB / 446.1 MB Notification: Performance of Alias: time 0.0002068/0.002809, allocations: 101.1 kB / 0.583 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simplify2: time 2.845e-06/0.002822, allocations: 1.812 kB / 0.583 GB, free: 22.8 MB / 446.1 MB Notification: Performance of Events: time 1.029e-05/0.002837, allocations: 9.109 kB / 0.583 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Detect States: time 4.345e-05/0.002885, allocations: 26.97 kB / 0.583 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Partitioning: time 3.773e-05/0.002928, allocations: 27.69 kB / 0.5831 GB, free: 22.73 MB / 446.1 MB Notification: Performance of Causalize: time 8.44e-05/0.003017, allocations: 49.69 kB / 0.5831 GB, free: 22.7 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.282e-05/0.003057, allocations: 56.8 kB / 0.5832 GB, free: 22.63 MB / 446.1 MB Notification: Performance of Inline: time 4.745e-05/0.00311, allocations: 74.34 kB / 0.5832 GB, free: 22.54 MB / 446.1 MB Notification: Performance of Partitioning: time 7.705e-06/0.003122, allocations: 9.438 kB / 0.5832 GB, free: 22.52 MB / 446.1 MB Notification: Performance of Cleanup: time 8.667e-06/0.003136, allocations: 11.78 kB / 0.5833 GB, free: 22.51 MB / 446.1 MB Notification: Performance of Causalize: time 9.564e-05/0.003236, allocations: 68.72 kB / 0.5833 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Tearing: time 5.781e-06/0.003249, allocations: 4.281 kB / 0.5833 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Initialization: time 2.494e-06/0.003255, allocations: 2.625 kB / 0.5833 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Tearing: time 7.52e-07/0.00326, allocations: 0 / 0.5833 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Categorize: time 7.954e-06/0.003272, allocations: 13.23 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Solve: time 3.138e-05/0.003308, allocations: 2.5 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Jacobian: time 2.676e-06/0.003317, allocations: 2.094 kB / 0.5833 GB, free: 22.46 MB / 446.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 2.781e-05/0.003348, allocations: 15.12 kB / 0.5834 GB, free: 22.45 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003656/0.003718, allocations: 0.7599 MB / 0.5841 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002076/0.005804, allocations: 307.2 kB / 0.5844 GB, free: 21.57 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.o IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.c IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1