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.001414/0.001414, allocations: 110.3 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.001428/0.001428, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8107/0.8107, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.624e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002121/0.002157, allocations: 1.527 MB / 0.5877 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.002574, allocations: 177 kB / 0.5879 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.002623, allocations: 0.8438 kB / 0.5879 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.00266, allocations: 5.125 kB / 0.5879 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.002704, allocations: 0.5938 kB / 0.5879 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.003031, allocations: 52.94 kB / 0.5879 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.003118, allocations: 38.72 kB / 0.588 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003232, allocations: 12 kB / 0.588 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.003266, allocations: 22.67 kB / 0.588 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.00331, allocations: 20.88 kB / 0.588 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.00333, allocations: 3.844 kB / 0.588 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.003449, allocations: 51.2 kB / 0.5881 GB, free: 20.2 MB / 446.1 MB Notification: Performance of combineBinaries: time 7.26e-05/0.003529, allocations: 61.53 kB / 0.5881 GB, free: 20.16 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.449e-05/0.003548, allocations: 37.28 kB / 0.5882 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.003568, allocations: 6.906 kB / 0.5882 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.526e-05/0.003588, allocations: 1.312 kB / 0.5882 GB, free: 20.12 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003301/0.003923, allocations: 278.6 kB / 0.5885 GB, free: 19.82 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.671e-05/0.004006, allocations: 41.39 kB / 0.5885 GB, free: 19.79 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001084/0.00412, allocations: 138.2 kB / 0.5886 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simplify1: time 2.086e-05/0.004147, allocations: 10.67 kB / 0.5886 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Alias: time 0.0003511/0.004504, allocations: 238.5 kB / 0.5889 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simplify2: time 1.251e-05/0.004526, allocations: 11.55 kB / 0.5889 GB, free: 19.43 MB / 446.1 MB Notification: Performance of Detect States: time 6.778e-05/0.004599, allocations: 54.39 kB / 0.5889 GB, free: 19.38 MB / 446.1 MB Notification: Performance of Events: time 7.646e-05/0.004681, allocations: 34 kB / 0.589 GB, free: 19.36 MB / 446.1 MB Notification: Performance of Partitioning: time 5.911e-05/0.004747, allocations: 48.17 kB / 0.589 GB, free: 19.32 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002118/0.004965, allocations: 171.5 kB / 0.5892 GB, free: 19.25 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001041/0.005076, allocations: 137.9 kB / 0.5893 GB, free: 19.12 MB / 446.1 MB Notification: Performance of Inline: time 0.0001697/0.005253, allocations: 207 kB / 0.5895 GB, free: 18.94 MB / 446.1 MB Notification: Performance of Partitioning: time 1.361e-05/0.005274, allocations: 16.44 kB / 0.5895 GB, free: 18.92 MB / 446.1 MB Notification: Performance of Cleanup: time 1.13e-05/0.005291, allocations: 9.703 kB / 0.5895 GB, free: 18.91 MB / 446.1 MB Notification: Performance of Causalize: time 0.000242/0.005537, allocations: 209.5 kB / 0.5897 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Tearing: time 9.658e-06/0.005556, allocations: 2.75 kB / 0.5897 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Initialization: time 9.12e-07/0.005562, allocations: 1.469 kB / 0.5897 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Tearing: time 1.313e-06/0.005567, allocations: 0 / 0.5897 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Categorize: time 7.504e-06/0.00558, allocations: 1.688 kB / 0.5897 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Solve: time 5.194e-05/0.005637, allocations: 27.75 kB / 0.5898 GB, free: 18.82 MB / 446.1 MB Notification: Performance of Jacobian: time 3.116e-06/0.005646, allocations: 5.906 kB / 0.5898 GB, free: 18.81 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) {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.464e-05/0.005684, allocations: 24.44 kB / 0.5898 GB, free: 18.8 MB / 446.1 MB Notification: Performance of SimCode: time 0.0005327/0.006221, allocations: 0.8657 MB / 0.5906 GB, free: 17.94 MB / 446.1 MB Notification: Performance of Templates: time 0.002748/0.008981, allocations: 0.7902 MB / 0.5914 GB, free: 17.16 MB / 446.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