Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001129/0.001129, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001074/0.001074, 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.578e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002882/0.002916, allocations: 1.516 MB / 0.5877 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.003379, allocations: 120.8 kB / 0.5878 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.003444, allocations: 1.594 kB / 0.5878 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.00349, allocations: 1.312 kB / 0.5878 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.003566, allocations: 7.922 kB / 0.5878 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.003856, allocations: 26.86 kB / 0.5879 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003966, allocations: 28.56 kB / 0.5879 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.004118, allocations: 10.22 kB / 0.5879 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.004188, allocations: 20.06 kB / 0.5879 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.675e-05/0.004267, allocations: 16.83 kB / 0.5879 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.004295, allocations: 4.531 kB / 0.5879 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.00438, allocations: 11.09 kB / 0.5879 GB, free: 20.33 MB / 446.1 MB Notification: Performance of combineBinaries: time 6.656e-05/0.004452, allocations: 42.05 kB / 0.588 GB, free: 20.3 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.42e-05/0.004472, allocations: 27.91 kB / 0.588 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.004495, allocations: 2.656 kB / 0.588 GB, free: 20.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.242e-05/0.004522, allocations: 3.938 kB / 0.588 GB, free: 20.27 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.0003482/0.004876, allocations: 255 kB / 0.5883 GB, free: 19.98 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001027/0.004987, allocations: 27.17 kB / 0.5883 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001231/0.005119, allocations: 126.3 kB / 0.5884 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simplify1: time 2.411e-05/0.005151, allocations: 8.859 kB / 0.5884 GB, free: 19.84 MB / 446.1 MB Notification: Performance of Alias: time 0.0003761/0.005533, allocations: 183.6 kB / 0.5886 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simplify2: time 1.581e-05/0.005559, allocations: 3.562 kB / 0.5886 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Events: time 8.549e-05/0.005649, allocations: 37.33 kB / 0.5886 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Detect States: time 8.101e-05/0.005739, allocations: 61.33 kB / 0.5887 GB, free: 19.56 MB / 446.1 MB Notification: Performance of Partitioning: time 8.018e-05/0.005826, allocations: 58.81 kB / 0.5887 GB, free: 19.52 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002649/0.006096, allocations: 160.8 kB / 0.5889 GB, free: 19.46 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.000128/0.006235, allocations: 134.8 kB / 0.589 GB, free: 19.33 MB / 446.1 MB Notification: Performance of Inline: time 0.0001933/0.006434, allocations: 172.9 kB / 0.5892 GB, free: 19.18 MB / 446.1 MB Notification: Performance of Partitioning: time 1.943e-05/0.006459, allocations: 19.95 kB / 0.5892 GB, free: 19.15 MB / 446.1 MB Notification: Performance of Cleanup: time 1.732e-05/0.006482, allocations: 12.92 kB / 0.5892 GB, free: 19.14 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003747/0.006863, allocations: 183 kB / 0.5894 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Tearing: time 1.036e-05/0.00689, allocations: 1.938 kB / 0.5894 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Initialization: time 4.81e-07/0.006897, allocations: 0 / 0.5894 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Tearing: time 3.596e-06/0.006914, allocations: 1.969 kB / 0.5894 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Categorize: time 1.133e-05/0.006932, allocations: 1.188 kB / 0.5894 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Solve: time 7.76e-05/0.007014, allocations: 27.36 kB / 0.5894 GB, free: 19.05 MB / 446.1 MB Notification: Performance of Jacobian: time 4.459e-06/0.007028, allocations: 0.8438 kB / 0.5894 GB, free: 19.05 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 5.012e-05/0.007083, allocations: 20.55 kB / 0.5894 GB, free: 19.04 MB / 446.1 MB Notification: Performance of SimCode: time 0.0007118/0.0078, allocations: 0.8203 MB / 0.5902 GB, free: 18.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003312/0.01112, allocations: 0.5467 MB / 0.5908 GB, free: 17.8 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Examples.Factorial.o IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Examples.Factorial_functions.o IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial_functions.c IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Examples.Factorial_functions.o] Error 1