Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001352/0.001352, allocations: 115 kB / 16.43 MB, free: 6.051 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.001329/0.001329, allocations: 186.8 kB / 17.36 MB, free: 5.617 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.107/1.107, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.029/2.029, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/9.448e-06, allocations: 2.281 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001041/0.001058, allocations: 0.5886 MB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.001359, allocations: 111.5 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.001383, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.001408, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.00142, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.001689, allocations: 43.88 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.001767, allocations: 16 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.001808, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.001832, allocations: 7.984 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.001863, allocations: 3.984 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.001878, allocations: 4 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.001972, allocations: 43.95 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of combineBinaries: time 2.579e-05/0.002004, allocations: 11.94 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.978e-06/0.002013, allocations: 7.891 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.416e-06/0.002025, allocations: 0 / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.554e-06/0.002037, allocations: 7.938 kB / 1.02 GB, free: 8.57 MB / 0.795 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.0002591/0.002301, allocations: 185.2 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.939e-05/0.002346, allocations: 27.81 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of Early Inline: time 7.398e-05/0.002425, allocations: 64.41 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of simplify1: time 4.549e-06/0.002435, allocations: 0 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of Alias: time 4.417e-05/0.002484, allocations: 60.55 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of simplify2: time 5.039e-06/0.002494, allocations: 11.97 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of Detect States: time 0.00015/0.002648, allocations: 36.88 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of Events: time 7.184e-05/0.002726, allocations: 19.89 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of Partitioning: time 4.625e-05/0.00278, allocations: 32.11 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003276/0.003113, allocations: 257.9 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 7.765e-05/0.0032, allocations: 100.3 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of Inline: time 0.0001102/0.003318, allocations: 140.3 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of Partitioning: time 1.187e-05/0.003337, allocations: 20.12 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of Cleanup: time 7.995e-06/0.003349, allocations: 0 / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002646/0.003618, allocations: 251.8 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of Tearing: time 6.863e-06/0.003634, allocations: 4 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Initialization: time 2.71e-07/0.003638, allocations: 0 / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Tearing: time 2.244e-06/0.003644, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of Categorize: time 5.781e-06/0.003653, allocations: 3.984 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of Solve: time 0.000106/0.003762, allocations: 72.28 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of Jacobian: time 2.314e-06/0.003772, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 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.182e-05/0.003798, allocations: 14.75 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005634/0.004365, allocations: 0.9299 MB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of Templates: time 0.002196/0.006572, allocations: 0.7299 MB / 1.023 GB, free: 5.352 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.Binomial.o Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.c Buildings_10_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_10_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_10_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_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.Binomial_functions.o] Error 1