Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001117/0.001117, allocations: 104.7 kB / 16.38 MB, free: 6.492 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.001104/0.001104, allocations: 190.5 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.786e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002186/0.002216, allocations: 1.544 MB / 0.6744 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.00258, allocations: 176.3 kB / 0.6745 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.002617, allocations: 0 / 0.6745 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002649, allocations: 3.938 kB / 0.6745 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.002693, allocations: 3.938 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.002945, allocations: 51.88 kB / 0.6746 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.003015, allocations: 39.92 kB / 0.6746 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.003098, allocations: 19.98 kB / 0.6746 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.003128, allocations: 19.91 kB / 0.6747 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.003164, allocations: 15.92 kB / 0.6747 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.00318, allocations: 4 kB / 0.6747 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.003273, allocations: 43.97 kB / 0.6747 GB, free: 4.023 MB / 0.545 GB Notification: Performance of combineBinaries: time 5.845e-05/0.003338, allocations: 59.31 kB / 0.6748 GB, free: 3.965 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.554e-05/0.003359, allocations: 31.56 kB / 0.6748 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.003376, allocations: 11.94 kB / 0.6748 GB, free: 3.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.026e-05/0.00339, allocations: 4 kB / 0.6748 GB, free: 3.918 MB / 0.545 GB 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.0002695/0.003664, allocations: 291.6 kB / 0.6751 GB, free: 3.535 MB / 0.545 GB Notification: Performance of FunctionAlias: time 7.223e-05/0.003741, allocations: 35.75 kB / 0.6751 GB, free: 3.5 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001084/0.003856, allocations: 132.4 kB / 0.6753 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simplify1: time 1.571e-05/0.003879, allocations: 11.98 kB / 0.6753 GB, free: 3.332 MB / 0.545 GB Notification: Performance of Alias: time 0.0002881/0.004172, allocations: 221.8 kB / 0.6755 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simplify2: time 9.919e-06/0.004192, allocations: 11.98 kB / 0.6755 GB, free: 3.035 MB / 0.545 GB Notification: Performance of Events: time 6.165e-05/0.004258, allocations: 39.91 kB / 0.6755 GB, free: 2.996 MB / 0.545 GB Notification: Performance of Detect States: time 6.159e-05/0.004326, allocations: 62.44 kB / 0.6756 GB, free: 2.922 MB / 0.545 GB Notification: Performance of Partitioning: time 5.435e-05/0.004387, allocations: 44.12 kB / 0.6756 GB, free: 2.871 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002077/0.0046, allocations: 212.7 kB / 0.6758 GB, free: 2.656 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001038/0.004711, allocations: 140.3 kB / 0.676 GB, free: 2.492 MB / 0.545 GB Notification: Performance of Inline: time 0.0001712/0.004888, allocations: 200.3 kB / 0.6762 GB, free: 2.262 MB / 0.545 GB Notification: Performance of Partitioning: time 1.787e-05/0.004913, allocations: 24.05 kB / 0.6762 GB, free: 2.23 MB / 0.545 GB Notification: Performance of Cleanup: time 9.047e-06/0.004928, allocations: 8 kB / 0.6762 GB, free: 2.223 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002334/0.005165, allocations: 252 kB / 0.6764 GB, free: 1.969 MB / 0.545 GB Notification: Performance of Tearing: time 5.31e-06/0.005178, allocations: 3.938 kB / 0.6764 GB, free: 1.965 MB / 0.545 GB Notification: Performance of Initialization: time 3.3e-07/0.005185, allocations: 4 kB / 0.6764 GB, free: 1.961 MB / 0.545 GB Notification: Performance of Tearing: time 7.21e-07/0.005189, allocations: 0 / 0.6764 GB, free: 1.961 MB / 0.545 GB Notification: Performance of Categorize: time 4.097e-06/0.005197, allocations: 0 / 0.6764 GB, free: 1.961 MB / 0.545 GB Notification: Performance of Solve: time 4.54e-05/0.005246, allocations: 23.98 kB / 0.6765 GB, free: 1.938 MB / 0.545 GB Notification: Performance of Jacobian: time 2.074e-06/0.005254, allocations: 4 kB / 0.6765 GB, free: 1.934 MB / 0.545 GB 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.595e-05/0.005294, allocations: 30.41 kB / 0.6765 GB, free: 1.91 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004914/0.00579, allocations: 0.8642 MB / 0.6773 GB, free: 1.027 MB / 0.545 GB Notification: Performance of Templates: time 0.002297/0.008096, allocations: 0.7867 MB / 0.6781 GB, free: 248 kB / 0.545 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_8_Buildings.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Utilities.Math.Examples.Binomial.o Buildings_8_Buildings.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.o Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.c Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ Buildings_8_Buildings.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: *** [: Buildings_8_Buildings.Utilities.Math.Examples.Binomial_functions.o] Error 1