Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00101/0.00101, allocations: 105.6 kB / 16.38 MB, free: 6.441 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.0009895/0.0009895, allocations: 188.8 kB / 17.31 MB, free: 5.789 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.241/1.241, 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-master/package.mo): time 0.7369/0.7369, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.203e-05, allocations: 2.281 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001492/0.001528, allocations: 0.5621 MB / 0.5073 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.001764, allocations: 55.8 kB / 0.5073 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.001789, allocations: 0 / 0.5073 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.00181, allocations: 0 / 0.5073 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-06/0.001824, allocations: 3.938 kB / 0.5073 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.002021, allocations: 19.92 kB / 0.5073 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.002067, allocations: 0 / 0.5073 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.00211, allocations: 0 / 0.5073 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.002128, allocations: 4 kB / 0.5073 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.002152, allocations: 7.969 kB / 0.5074 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.002166, allocations: 4 kB / 0.5074 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.002225, allocations: 8 kB / 0.5074 GB, free: 7.039 MB / 430.1 MB Notification: Performance of combineBinaries: time 2.463e-05/0.002255, allocations: 11.84 kB / 0.5074 GB, free: 7.027 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 3.727e-06/0.002263, allocations: 3.906 kB / 0.5074 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.182e-05/0.00228, allocations: 3.938 kB / 0.5074 GB, free: 7.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.005e-06/0.002294, allocations: 4 kB / 0.5074 GB, free: 7.016 MB / 430.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.0002189/0.002517, allocations: 165.3 kB / 0.5075 GB, free: 6.754 MB / 430.1 MB Notification: Performance of FunctionAlias: time 5.549e-05/0.002578, allocations: 8 kB / 0.5076 GB, free: 6.746 MB / 430.1 MB Notification: Performance of Early Inline: time 5.901e-05/0.002642, allocations: 60.34 kB / 0.5076 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simplify1: time 7.595e-06/0.002656, allocations: 7.984 kB / 0.5076 GB, free: 6.652 MB / 430.1 MB Notification: Performance of Alias: time 0.0001763/0.002845, allocations: 84.69 kB / 0.5077 GB, free: 6.523 MB / 430.1 MB Notification: Performance of simplify2: time 5.219e-06/0.002859, allocations: 4 kB / 0.5077 GB, free: 6.52 MB / 430.1 MB Notification: Performance of Events: time 1.114e-05/0.002874, allocations: 11.88 kB / 0.5077 GB, free: 6.508 MB / 430.1 MB Notification: Performance of Detect States: time 4.591e-05/0.002924, allocations: 28.23 kB / 0.5077 GB, free: 6.465 MB / 430.1 MB Notification: Performance of Partitioning: time 3.759e-05/0.002967, allocations: 16.34 kB / 0.5078 GB, free: 6.441 MB / 430.1 MB Notification: Performance of Causalize: time 8.618e-05/0.00306, allocations: 68.08 kB / 0.5078 GB, free: 6.367 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 4.834e-05/0.003115, allocations: 56.31 kB / 0.5079 GB, free: 6.285 MB / 430.1 MB Notification: Performance of Inline: time 6.209e-05/0.003182, allocations: 65.02 kB / 0.5079 GB, free: 6.188 MB / 430.1 MB Notification: Performance of Partitioning: time 1.19e-05/0.0032, allocations: 12.12 kB / 0.508 GB, free: 6.168 MB / 430.1 MB Notification: Performance of Cleanup: time 8.887e-06/0.003213, allocations: 11.86 kB / 0.508 GB, free: 6.156 MB / 430.1 MB Notification: Performance of Causalize: time 8.118e-05/0.003299, allocations: 84.12 kB / 0.508 GB, free: 6.066 MB / 430.1 MB Notification: Performance of Tearing: time 4.799e-06/0.003312, allocations: 0 / 0.508 GB, free: 6.066 MB / 430.1 MB Notification: Performance of Initialization: time 2.615e-06/0.003318, allocations: 4 kB / 0.508 GB, free: 6.062 MB / 430.1 MB Notification: Performance of Tearing: time 7.41e-07/0.003323, allocations: 0 / 0.508 GB, free: 6.062 MB / 430.1 MB Notification: Performance of Categorize: time 4.929e-06/0.003332, allocations: 0 / 0.508 GB, free: 6.062 MB / 430.1 MB Notification: Performance of Solve: time 2.847e-05/0.003364, allocations: 7.938 kB / 0.5081 GB, free: 6.055 MB / 430.1 MB Notification: Performance of Jacobian: time 2.495e-06/0.003371, allocations: 0 / 0.5081 GB, free: 6.055 MB / 430.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.821e-05/0.003403, allocations: 14.86 kB / 0.5081 GB, free: 6.039 MB / 430.1 MB Notification: Performance of SimCode: time 0.0004407/0.003848, allocations: 0.7554 MB / 0.5088 GB, free: 5.262 MB / 430.1 MB Notification: Performance of Templates: time 0.001898/0.005755, allocations: 308.8 kB / 0.5091 GB, free: 4.965 MB / 430.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.o IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.c IDEAS_dev_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_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1