Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001505/0.001505, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001616/0.001616, allocations: 182 kB / 17.36 MB, free: 5.746 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.546/1.546, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 277.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.2 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.189e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.002194/0.002237, allocations: 0.5827 MB / 0.6826 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.002724, allocations: 103.6 kB / 0.6827 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.00277, allocations: 4 kB / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.00281, allocations: 3.938 kB / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-06/0.002823, allocations: 0 / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.003292, allocations: 35.89 kB / 0.6828 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003405, allocations: 19.92 kB / 0.6828 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.003465, allocations: 4 kB / 0.6828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.003503, allocations: 4 kB / 0.6828 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.003554, allocations: 7.969 kB / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003576, allocations: 0 / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.003732, allocations: 47.97 kB / 0.6829 GB, free: 6.242 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.925e-05/0.003789, allocations: 15.92 kB / 0.6829 GB, free: 6.227 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 4.779e-06/0.003799, allocations: 3.906 kB / 0.6829 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.2e-05/0.003816, allocations: 0 / 0.6829 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.354e-05/0.003834, allocations: 3.984 kB / 0.6829 GB, free: 6.219 MB / 494.1 MB 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.0004106/0.00425, allocations: 189.2 kB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of FunctionAlias: time 6.218e-05/0.004318, allocations: 7.953 kB / 0.6831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001074/0.004433, allocations: 80.28 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simplify1: time 8.616e-06/0.004449, allocations: 3.984 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of Alias: time 7.72e-05/0.004531, allocations: 52.62 kB / 0.6832 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simplify2: time 2.555e-06/0.004539, allocations: 0 / 0.6832 GB, free: 5.727 MB / 494.1 MB Notification: Performance of Detect States: time 7.906e-05/0.004626, allocations: 40.11 kB / 0.6832 GB, free: 5.672 MB / 494.1 MB Notification: Performance of Events: time 0.000109/0.004746, allocations: 31.86 kB / 0.6833 GB, free: 5.641 MB / 494.1 MB Notification: Performance of Partitioning: time 7.629e-05/0.004829, allocations: 36.11 kB / 0.6833 GB, free: 5.598 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004996/0.005338, allocations: 247.8 kB / 0.6835 GB, free: 5.355 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001292/0.005478, allocations: 100.3 kB / 0.6836 GB, free: 5.23 MB / 494.1 MB Notification: Performance of Inline: time 0.0001743/0.005661, allocations: 136.4 kB / 0.6838 GB, free: 5.062 MB / 494.1 MB Notification: Performance of Partitioning: time 2.278e-05/0.005692, allocations: 16.11 kB / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of Cleanup: time 1.527e-05/0.005718, allocations: 8 kB / 0.6838 GB, free: 5.031 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004035/0.006126, allocations: 258.3 kB / 0.684 GB, free: 4.777 MB / 494.1 MB Notification: Performance of Tearing: time 1.565e-05/0.006152, allocations: 0 / 0.684 GB, free: 4.777 MB / 494.1 MB Notification: Performance of Initialization: time 3.637e-06/0.006161, allocations: 4 kB / 0.684 GB, free: 4.773 MB / 494.1 MB Notification: Performance of Tearing: time 2.314e-06/0.006168, allocations: 0 / 0.684 GB, free: 4.773 MB / 494.1 MB Notification: Performance of Categorize: time 1.252e-05/0.006185, allocations: 4 kB / 0.684 GB, free: 4.77 MB / 494.1 MB Notification: Performance of Solve: time 0.0001718/0.006361, allocations: 64.31 kB / 0.6841 GB, free: 4.695 MB / 494.1 MB Notification: Performance of Jacobian: time 5.31e-06/0.006383, allocations: 8.094 kB / 0.6841 GB, free: 4.688 MB / 494.1 MB 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 6.32e-05/0.006451, allocations: 12.66 kB / 0.6841 GB, free: 4.684 MB / 494.1 MB Notification: Performance of SimCode: time 0.001038/0.007495, allocations: 0.9347 MB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of Templates: time 0.003637/0.01115, allocations: 0.7256 MB / 0.6857 GB, free: 3 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_functions.o] Error 1