Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 112.3 kB / 16.38 MB, free: 6.031 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.00113/0.00113, allocations: 188.3 kB / 17.31 MB, free: 5.629 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.763/0.763, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.342e-05, allocations: 6.219 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002885/0.002923, allocations: 1.521 MB / 0.5082 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.003423, allocations: 184.3 kB / 0.5084 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.003482, allocations: 0 / 0.5084 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.00352, allocations: 0 / 0.5084 GB, free: 5.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.003569, allocations: 3.938 kB / 0.5084 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.00396, allocations: 51.88 kB / 0.5084 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.004066, allocations: 39.91 kB / 0.5085 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004175, allocations: 12 kB / 0.5085 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.004219, allocations: 23.91 kB / 0.5085 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.004268, allocations: 19.92 kB / 0.5085 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004289, allocations: 4 kB / 0.5085 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.004417, allocations: 39.95 kB / 0.5086 GB, free: 5.781 MB / 430.1 MB Notification: Performance of combineBinaries: time 7.024e-05/0.004496, allocations: 67.25 kB / 0.5086 GB, free: 5.715 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 2.794e-05/0.00453, allocations: 35.47 kB / 0.5087 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.004549, allocations: 7.938 kB / 0.5087 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-05/0.004574, allocations: 0 / 0.5087 GB, free: 5.672 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003622/0.004942, allocations: 283.7 kB / 0.5089 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FunctionAlias: time 8.605e-05/0.005036, allocations: 31.86 kB / 0.509 GB, free: 5.266 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0001495/0.005194, allocations: 136.3 kB / 0.5091 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simplify1: time 2.372e-05/0.005224, allocations: 11.98 kB / 0.5091 GB, free: 5.094 MB / 430.1 MB Notification: Performance of Alias: time 0.0003592/0.005589, allocations: 229.8 kB / 0.5093 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simplify2: time 1.667e-05/0.005616, allocations: 15.92 kB / 0.5093 GB, free: 4.785 MB / 430.1 MB Notification: Performance of Events: time 8.164e-05/0.005703, allocations: 35.97 kB / 0.5094 GB, free: 4.75 MB / 430.1 MB Notification: Performance of Detect States: time 6.966e-05/0.00578, allocations: 55.17 kB / 0.5094 GB, free: 4.684 MB / 430.1 MB Notification: Performance of Partitioning: time 6.366e-05/0.005851, allocations: 52.05 kB / 0.5095 GB, free: 4.625 MB / 430.1 MB Notification: Performance of Causalize: time 0.0002323/0.006089, allocations: 216 kB / 0.5097 GB, free: 4.406 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001175/0.006215, allocations: 136.2 kB / 0.5098 GB, free: 4.246 MB / 430.1 MB Notification: Performance of Inline: time 0.0002133/0.006435, allocations: 208.3 kB / 0.51 GB, free: 4.008 MB / 430.1 MB Notification: Performance of Partitioning: time 1.748e-05/0.006461, allocations: 12.12 kB / 0.51 GB, free: 3.988 MB / 430.1 MB Notification: Performance of Cleanup: time 1.405e-05/0.00648, allocations: 8 kB / 0.51 GB, free: 3.98 MB / 430.1 MB Notification: Performance of Causalize: time 0.0002672/0.006755, allocations: 261.6 kB / 0.5103 GB, free: 3.719 MB / 430.1 MB Notification: Performance of Tearing: time 7.184e-06/0.00677, allocations: 0 / 0.5103 GB, free: 3.719 MB / 430.1 MB Notification: Performance of Initialization: time 1.703e-06/0.006777, allocations: 3.938 kB / 0.5103 GB, free: 3.715 MB / 430.1 MB Notification: Performance of Tearing: time 1.343e-06/0.006783, allocations: 3.938 kB / 0.5103 GB, free: 3.711 MB / 430.1 MB Notification: Performance of Categorize: time 8.866e-06/0.006796, allocations: 5.125 kB / 0.5103 GB, free: 3.707 MB / 430.1 MB Notification: Performance of Solve: time 5.613e-05/0.006856, allocations: 19.98 kB / 0.5103 GB, free: 3.688 MB / 430.1 MB Notification: Performance of Jacobian: time 3.517e-06/0.006865, allocations: 0 / 0.5103 GB, free: 3.688 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: ................. 5 (5) {rea2Int.y, bin.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: ........... 10 (scalar:10, 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.863e-05/0.006908, allocations: 26.64 kB / 0.5103 GB, free: 3.664 MB / 430.1 MB Notification: Performance of SimCode: time 0.0006935/0.007606, allocations: 0.8642 MB / 0.5112 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Templates: time 0.003207/0.01082, allocations: 0.7969 MB / 0.512 GB, free: 1.984 MB / 430.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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_Binomial -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.Binomial.o IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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_Binomial -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.Binomial_functions.o IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.c:158:59: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ 5 errors generated. make: *** [: IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_functions.o] Error 1