Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001078/0.001078, 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.001101/0.001101, 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.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 292.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.823/0.823, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.457e-05, allocations: 2.281 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001965/0.001987, allocations: 1.541 MB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.002376, allocations: 184.3 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.002423, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002454, allocations: 3.938 kB / 0.6837 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.002499, allocations: 7.922 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.002765, allocations: 47.89 kB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.03e-05/0.002844, allocations: 43.89 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.002934, allocations: 15.98 kB / 0.6838 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.002967, allocations: 15.94 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.003006, allocations: 15.92 kB / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.003025, allocations: 4 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.003129, allocations: 51.94 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.256e-05/0.003199, allocations: 51.42 kB / 0.684 GB, free: 5.027 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.592e-05/0.003219, allocations: 35.47 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.003236, allocations: 7.938 kB / 0.684 GB, free: 4.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.199e-05/0.003253, allocations: 8 kB / 0.684 GB, free: 4.977 MB / 494.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.0002908/0.003548, allocations: 280.5 kB / 0.6843 GB, free: 4.602 MB / 494.1 MB Notification: Performance of FunctionAlias: time 6.778e-05/0.003623, allocations: 35.81 kB / 0.6843 GB, free: 4.566 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001121/0.003741, allocations: 140.4 kB / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simplify1: time 2.133e-05/0.003768, allocations: 11.98 kB / 0.6844 GB, free: 4.391 MB / 494.1 MB Notification: Performance of Alias: time 0.0003065/0.00408, allocations: 241.6 kB / 0.6847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simplify2: time 1.095e-05/0.004101, allocations: 7.984 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of Events: time 6.766e-05/0.004173, allocations: 31.98 kB / 0.6847 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Detect States: time 6.398e-05/0.004244, allocations: 60.08 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of Partitioning: time 5.774e-05/0.004307, allocations: 44.11 kB / 0.6848 GB, free: 3.922 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001841/0.004497, allocations: 180 kB / 0.685 GB, free: 3.738 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001001/0.004604, allocations: 132.3 kB / 0.6851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of Inline: time 0.0001784/0.004788, allocations: 205.6 kB / 0.6853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of Partitioning: time 1.459e-05/0.00481, allocations: 16.12 kB / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of Cleanup: time 1.032e-05/0.004826, allocations: 8 kB / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002275/0.005058, allocations: 216.4 kB / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of Tearing: time 6.352e-06/0.005072, allocations: 7.922 kB / 0.6855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of Initialization: time 1.283e-06/0.005077, allocations: 4 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of Tearing: time 7.81e-07/0.005082, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of Categorize: time 5.571e-06/0.005091, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of Solve: time 4.831e-05/0.005143, allocations: 27.91 kB / 0.6856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of Jacobian: time 2.484e-06/0.005152, allocations: 4 kB / 0.6856 GB, free: 3.055 MB / 494.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 2.79e-05/0.005184, allocations: 16.23 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005156/0.005704, allocations: 0.8527 MB / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of Templates: time 0.002484/0.008198, allocations: 0.8175 MB / 0.6872 GB, free: 1.355 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.o] Error 1