Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_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.001115/0.001115, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001066/0.001066, allocations: 183.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.162/1.162, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.948/1.948, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.807e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001185/0.001212, allocations: 0.5883 MB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003373/0.001559, allocations: 109.8 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.001589, allocations: 0 / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.001618, allocations: 0 / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.001637, allocations: 4 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.001927, allocations: 39.89 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.411e-05/0.00201, allocations: 15.92 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.002058, allocations: 0 / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.002088, allocations: 8 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.312e-05/0.002125, allocations: 11.97 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.002141, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.002239, allocations: 39.97 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of combineBinaries: time 2.975e-05/0.002276, allocations: 7.984 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.578e-06/0.002285, allocations: 11.84 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-06/0.002299, allocations: 4 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.347e-06/0.002314, allocations: 7.984 kB / 0.9523 GB, free: 6.812 MB / 0.7325 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.0002915/0.002609, allocations: 189.1 kB / 0.9525 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 3.765e-05/0.002653, allocations: 7.953 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of Early Inline: time 7.495e-05/0.002733, allocations: 72.28 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of simplify1: time 8.836e-06/0.002748, allocations: 11.98 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of Alias: time 4.511e-05/0.002797, allocations: 52.58 kB / 0.9526 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of simplify2: time 2.966e-06/0.002806, allocations: 7.984 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of Detect States: time 5.752e-05/0.002867, allocations: 41.88 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of Events: time 7.094e-05/0.002944, allocations: 19.92 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of Partitioning: time 5.084e-05/0.003001, allocations: 32.11 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003393/0.003347, allocations: 248.3 kB / 0.953 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 8.406e-05/0.003439, allocations: 104.2 kB / 0.9531 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001107/0.003556, allocations: 140.4 kB / 0.9532 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.243e-05/0.003574, allocations: 12.11 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.067e-05/0.003589, allocations: 8 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002689/0.003862, allocations: 250 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Tearing: time 8.436e-06/0.003879, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Initialization: time 5.51e-07/0.003885, allocations: 4 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of Tearing: time 1.152e-06/0.00389, allocations: 0 / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of Categorize: time 6.362e-06/0.0039, allocations: 0 / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of Solve: time 0.0001105/0.004014, allocations: 72.33 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.068e-06/0.004026, allocations: 3.938 kB / 0.9535 GB, free: 5.289 MB / 0.7325 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 2.729e-05/0.004057, allocations: 9.047 kB / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006278/0.004689, allocations: 0.9431 MB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of Templates: time 0.002535/0.007234, allocations: 0.7326 MB / 0.9552 GB, free: 3.586 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Functions.Examples.Binomial.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c Buildings_9_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_9_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_9_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_9_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_9_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_9_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o] Error 1