Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.1 kB / 16.42 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.001059/0.001058, 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 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.482e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001129/0.001152, allocations: 0.5681 MB / 0.727 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.001469, allocations: 119.7 kB / 0.7271 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.001498, allocations: 4 kB / 0.7271 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.001523, allocations: 0 / 0.7271 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.001532, allocations: 0 / 0.7271 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.0018, allocations: 35.84 kB / 0.7271 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.001869, allocations: 11.98 kB / 0.7271 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.00191, allocations: 4 kB / 0.7271 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.001939, allocations: 11.98 kB / 0.7272 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.045e-05/0.001974, allocations: 7.984 kB / 0.7272 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.001989, allocations: 0 / 0.7272 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.002084, allocations: 47.97 kB / 0.7272 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of combineBinaries: time 2.863e-05/0.002119, allocations: 11.91 kB / 0.7272 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.975e-06/0.002128, allocations: 7.906 kB / 0.7272 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-06/0.00214, allocations: 0 / 0.7272 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.741e-06/0.002149, allocations: 0 / 0.7272 GB, free: 3.871 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (2) * Number of variables: 11 (2) Notification: Performance of Bindings: time 0.0002559/0.002409, allocations: 189.2 kB / 0.7274 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.768e-05/0.002452, allocations: 15.83 kB / 0.7274 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of Early Inline: time 7.4e-05/0.002531, allocations: 72.41 kB / 0.7275 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simplify1: time 4.599e-06/0.002542, allocations: 3.938 kB / 0.7275 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of Alias: time 4.709e-05/0.002593, allocations: 60.59 kB / 0.7276 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simplify2: time 9.698e-06/0.002607, allocations: 3.984 kB / 0.7276 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of Events: time 7.513e-05/0.002686, allocations: 39.86 kB / 0.7276 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Detect States: time 7.774e-05/0.002774, allocations: 32.23 kB / 0.7276 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.358e-05/0.002837, allocations: 28.11 kB / 0.7277 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0003349/0.003178, allocations: 270.6 kB / 0.7279 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 9.026e-05/0.003277, allocations: 108.2 kB / 0.728 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of Inline: time 0.0001124/0.003395, allocations: 132.4 kB / 0.7281 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of Partitioning: time 1.177e-05/0.003413, allocations: 16.12 kB / 0.7282 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of Cleanup: time 9.498e-06/0.003427, allocations: 3.984 kB / 0.7282 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002649/0.003696, allocations: 266.6 kB / 0.7284 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of Tearing: time 4.628e-06/0.003709, allocations: 0 / 0.7284 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of Initialization: time 3.2e-07/0.003714, allocations: 0 / 0.7284 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of Tearing: time 2.505e-06/0.003722, allocations: 7.938 kB / 0.7284 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of Categorize: time 6.311e-06/0.003732, allocations: 4 kB / 0.7284 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of Solve: time 9.51e-05/0.003831, allocations: 56.09 kB / 0.7285 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.214e-06/0.003841, allocations: 0 / 0.7285 GB, free: 2.32 MB / 0.5606 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: ................. 12 (3) {n, $SEV_0[$i1], $TEV_0} * 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: ......... 2 (generic: 2, 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: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.365e-05/0.003879, allocations: 29.95 kB / 0.7285 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005933/0.004476, allocations: 0.9235 MB / 0.7294 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.002376/0.006864, allocations: 0.7261 MB / 0.7301 GB, free: 0.6211 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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_maint_7_0_x_Buildings_Utilities_Math_Functions_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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_maint_7_0_x_Buildings_Utilities_Math_Functions_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o] Error 1