Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001057/0.001057, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001026/0.001026, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.106/1.106, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6631/0.6631, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.387e-06/9.387e-06, allocations: 6.219 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.001519/0.001536, allocations: 1.506 MB / 0.5834 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.001787, allocations: 124 kB / 0.5835 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.001823, allocations: 1.344 kB / 0.5835 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.00185, allocations: 4.469 kB / 0.5836 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.001893, allocations: 2.031 kB / 0.5836 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.00206, allocations: 21.02 kB / 0.5836 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.002127, allocations: 35.47 kB / 0.5836 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.00221, allocations: 16.64 kB / 0.5836 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.002243, allocations: 18.7 kB / 0.5836 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.002283, allocations: 16.58 kB / 0.5837 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.002299, allocations: 2.281 kB / 0.5837 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.66e-05/0.002349, allocations: 10.53 kB / 0.5837 GB, free: 22.37 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.978e-05/0.002394, allocations: 46.91 kB / 0.5837 GB, free: 22.33 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 9.497e-06/0.002408, allocations: 30.78 kB / 0.5837 GB, free: 22.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.026e-05/0.002423, allocations: 4.781 kB / 0.5837 GB, free: 22.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.908e-06/0.002437, allocations: 5.375 kB / 0.5838 GB, free: 22.3 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0001904/0.002631, allocations: 237.7 kB / 0.584 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FunctionAlias: time 5.784e-05/0.002694, allocations: 41.11 kB / 0.584 GB, free: 21.99 MB / 446.1 MB Notification: Performance of Early Inline: time 8.072e-05/0.002781, allocations: 119.7 kB / 0.5841 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simplify1: time 1.655e-05/0.002802, allocations: 7.078 kB / 0.5841 GB, free: 21.88 MB / 446.1 MB Notification: Performance of Alias: time 0.0002175/0.003024, allocations: 197.5 kB / 0.5843 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simplify2: time 1.019e-05/0.003042, allocations: 7.984 kB / 0.5843 GB, free: 21.68 MB / 446.1 MB Notification: Performance of Events: time 5.267e-05/0.003099, allocations: 31.5 kB / 0.5844 GB, free: 21.66 MB / 446.1 MB Notification: Performance of Detect States: time 5.262e-05/0.003158, allocations: 56.08 kB / 0.5844 GB, free: 21.6 MB / 446.1 MB Notification: Performance of Partitioning: time 4.288e-05/0.003206, allocations: 40.41 kB / 0.5845 GB, free: 21.57 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001596/0.003371, allocations: 177.3 kB / 0.5846 GB, free: 21.49 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 7.37e-05/0.003451, allocations: 129.6 kB / 0.5848 GB, free: 21.37 MB / 446.1 MB Notification: Performance of Inline: time 0.0001032/0.00356, allocations: 175.7 kB / 0.5849 GB, free: 21.21 MB / 446.1 MB Notification: Performance of Partitioning: time 9.217e-06/0.003575, allocations: 14.03 kB / 0.5849 GB, free: 21.2 MB / 446.1 MB Notification: Performance of Cleanup: time 8.637e-06/0.003587, allocations: 9.406 kB / 0.5849 GB, free: 21.19 MB / 446.1 MB Notification: Performance of Causalize: time 0.00018/0.003771, allocations: 192.1 kB / 0.5851 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Tearing: time 3.997e-06/0.003782, allocations: 0 / 0.5851 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Initialization: time 2.71e-07/0.003788, allocations: 0 / 0.5851 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Tearing: time 1.262e-06/0.003792, allocations: 1.188 kB / 0.5851 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Categorize: time 5.17e-06/0.003802, allocations: 1.562 kB / 0.5851 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Solve: time 3.959e-05/0.003845, allocations: 29.09 kB / 0.5852 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Jacobian: time 2.375e-06/0.003852, allocations: 0 / 0.5852 GB, free: 21.09 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: ................. 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.106e-05/0.003877, allocations: 12.11 kB / 0.5852 GB, free: 21.09 MB / 446.1 MB Notification: Performance of SimCode: time 0.000317/0.004198, allocations: 0.8243 MB / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Templates: time 0.001961/0.006168, allocations: 0.5406 MB / 0.5865 GB, free: 20.04 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.Factorial.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.Factorial_functions.o IDEAS_IDEAS.Utilities.Math.Examples.Factorial_functions.c IDEAS_IDEAS.Utilities.Math.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.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.Examples.Factorial_functions.o] Error 1