Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(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_latest_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_latest_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.001277/0.001277, allocations: 104.8 kB / 16.42 MB, free: 6.535 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.001097/0.001097, allocations: 186 kB / 17.36 MB, free: 5.723 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.257/1.257, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.379/2.379, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.587e-05, allocations: 2.281 kB / 1.07 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001254/0.001278, allocations: 0.5818 MB / 1.071 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000308/0.001598, allocations: 111.5 kB / 1.071 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.001623, allocations: 0 / 1.071 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.00165, allocations: 0 / 1.071 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.001671, allocations: 4 kB / 1.071 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.001948, allocations: 39.89 kB / 1.071 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.002022, allocations: 7.984 kB / 1.071 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.002068, allocations: 4 kB / 1.071 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.002096, allocations: 11.98 kB / 1.071 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.00213, allocations: 0 / 1.071 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.002146, allocations: 0 / 1.071 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.002262, allocations: 51.94 kB / 1.071 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of combineBinaries: time 2.854e-05/0.002297, allocations: 11.84 kB / 1.071 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.328e-06/0.002307, allocations: 7.906 kB / 1.071 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-06/0.00232, allocations: 4 kB / 1.071 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.155e-06/0.002332, allocations: 0 / 1.071 GB, free: 8.805 MB / 0.8419 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.0002893/0.002625, allocations: 189.2 kB / 1.071 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.248e-05/0.002673, allocations: 11.83 kB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Early Inline: time 8.553e-05/0.002764, allocations: 76.33 kB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simplify1: time 6.191e-06/0.002776, allocations: 4 kB / 1.071 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of Alias: time 4.799e-05/0.002828, allocations: 48.62 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simplify2: time 3.176e-06/0.002837, allocations: 7.984 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of Detect States: time 5.208e-05/0.002893, allocations: 32.2 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of Events: time 7.272e-05/0.002973, allocations: 23.91 kB / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.551e-05/0.003035, allocations: 44.09 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003741/0.003415, allocations: 241.3 kB / 1.072 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 8.367e-05/0.003508, allocations: 100.3 kB / 1.072 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001213/0.003635, allocations: 140.4 kB / 1.072 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.119e-05/0.003653, allocations: 12.12 kB / 1.072 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of Cleanup: time 9.087e-06/0.003666, allocations: 4 kB / 1.072 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002919/0.003964, allocations: 266 kB / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of Tearing: time 7.885e-06/0.003981, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of Initialization: time 3.11e-07/0.003985, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of Tearing: time 1.102e-06/0.00399, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of Categorize: time 7.384e-06/0.004001, allocations: 7.938 kB / 1.072 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001076/0.004112, allocations: 60.34 kB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.505e-06/0.004125, allocations: 4 kB / 1.072 GB, free: 7.281 MB / 0.8419 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.659e-05/0.004165, allocations: 23.44 kB / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006316/0.004801, allocations: 0.9515 MB / 1.073 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.002601/0.007413, allocations: 0.7187 MB / 1.074 GB, free: 5.566 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o] Error 1