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.001067/0.001067, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001063/0.001063, allocations: 189.4 kB / 17.35 MB, free: 5.734 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.121/1.121, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8022/0.8022, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.259e-05, allocations: 6.219 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001051/0.001071, allocations: 0.5824 MB / 0.6826 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.001378, allocations: 111.5 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.001403, allocations: 0 / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.001429, allocations: 0 / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.488e-06/0.001438, allocations: 0 / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.001705, allocations: 43.89 kB / 0.6828 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.001774, allocations: 7.984 kB / 0.6828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.929e-05/0.001808, allocations: 3.984 kB / 0.6828 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.001835, allocations: 8 kB / 0.6828 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.001868, allocations: 7.938 kB / 0.6828 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.001884, allocations: 4 kB / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.001979, allocations: 47.94 kB / 0.6829 GB, free: 6.195 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.8e-05/0.002013, allocations: 15.92 kB / 0.6829 GB, free: 6.18 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 4.709e-06/0.002023, allocations: 7.906 kB / 0.6829 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.904e-06/0.002035, allocations: 0 / 0.6829 GB, free: 6.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.652e-06/0.002046, allocations: 0 / 0.6829 GB, free: 6.172 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.0002509/0.0023, allocations: 181.2 kB / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.182e-05/0.002347, allocations: 19.92 kB / 0.6831 GB, free: 5.875 MB / 494.1 MB Notification: Performance of Early Inline: time 6.781e-05/0.002421, allocations: 76.28 kB / 0.6831 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplify1: time 4.638e-06/0.002432, allocations: 4 kB / 0.6831 GB, free: 5.77 MB / 494.1 MB Notification: Performance of Alias: time 4.693e-05/0.002483, allocations: 56.61 kB / 0.6832 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simplify2: time 3.807e-06/0.002492, allocations: 3.984 kB / 0.6832 GB, free: 5.672 MB / 494.1 MB Notification: Performance of Events: time 6.784e-05/0.002563, allocations: 23.88 kB / 0.6832 GB, free: 5.648 MB / 494.1 MB Notification: Performance of Detect States: time 5.295e-05/0.002624, allocations: 40.22 kB / 0.6833 GB, free: 5.594 MB / 494.1 MB Notification: Performance of Partitioning: time 5.266e-05/0.002683, allocations: 36.11 kB / 0.6833 GB, free: 5.551 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003184/0.003006, allocations: 246.3 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.305e-05/0.003099, allocations: 104.3 kB / 0.6836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of Inline: time 0.0001031/0.003208, allocations: 132.4 kB / 0.6838 GB, free: 5.016 MB / 494.1 MB Notification: Performance of Partitioning: time 1.156e-05/0.003226, allocations: 12.12 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of Cleanup: time 9.578e-06/0.00324, allocations: 7.984 kB / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of Causalize: time 0.000278/0.003522, allocations: 259 kB / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of Tearing: time 4.509e-06/0.003535, allocations: 0 / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of Initialization: time 2.91e-07/0.003541, allocations: 3.938 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of Tearing: time 7.71e-07/0.003546, allocations: 0 / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of Categorize: time 6.211e-06/0.003555, allocations: 3.984 kB / 0.684 GB, free: 4.727 MB / 494.1 MB Notification: Performance of Solve: time 0.0001031/0.003662, allocations: 76.02 kB / 0.6841 GB, free: 4.641 MB / 494.1 MB Notification: Performance of Jacobian: time 2.615e-06/0.003673, allocations: 0 / 0.6841 GB, free: 4.641 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 2.561e-05/0.003702, allocations: 19.67 kB / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of SimCode: time 0.000563/0.00427, allocations: 0.9238 MB / 0.685 GB, free: 3.68 MB / 494.1 MB Notification: Performance of Templates: time 0.002285/0.006566, allocations: 0.7339 MB / 0.6857 GB, free: 2.949 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