Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, 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.001109/0.001109, allocations: 182 kB / 17.35 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.115/1.115, allocations: 222.9 MB / 241 MB, free: 15.15 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.051/2.051, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.705e-05, allocations: 2.281 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001971/0.001995, allocations: 1.549 MB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003652/0.002371, allocations: 176.3 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.002412, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.00244, allocations: 7.938 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.002482, allocations: 7.922 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.002741, allocations: 51.88 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.002814, allocations: 31.92 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.002896, allocations: 23.97 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.002926, allocations: 15.94 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.002967, allocations: 23.91 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.002982, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.00309, allocations: 47.95 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of combineBinaries: time 5.446e-05/0.00315, allocations: 55.42 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.592e-05/0.003176, allocations: 35.41 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.003191, allocations: 4 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.374e-05/0.00321, allocations: 4 kB / 1.021 GB, free: 7.438 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002842/0.003497, allocations: 288.5 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of FunctionAlias: time 6.874e-05/0.003571, allocations: 31.88 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001066/0.003684, allocations: 132.3 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of simplify1: time 2.659e-05/0.003716, allocations: 15.98 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of Alias: time 0.0003121/0.004032, allocations: 245.7 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of simplify2: time 1.251e-05/0.004053, allocations: 8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001544/0.004212, allocations: 44.11 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of Events: time 7.064e-05/0.004289, allocations: 47.83 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of Partitioning: time 5.743e-05/0.004353, allocations: 36.12 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001827/0.004542, allocations: 176 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001039/0.004653, allocations: 136.3 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of Inline: time 0.0001801/0.004839, allocations: 200.4 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of Partitioning: time 1.755e-05/0.004864, allocations: 24.11 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of Cleanup: time 9.989e-06/0.004878, allocations: 4 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002311/0.005113, allocations: 219.8 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of Tearing: time 7.394e-06/0.005128, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of Initialization: time 3.01e-07/0.005134, allocations: 4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of Tearing: time 1.412e-06/0.005139, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of Categorize: time 6.523e-06/0.005149, allocations: 4.453 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of Solve: time 4.487e-05/0.005197, allocations: 19.98 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of Jacobian: time 2.254e-06/0.005206, allocations: 4 kB / 1.023 GB, free: 5.527 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: ................. 5 (5) {rea2Int.y, bin.y, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.582e-05/0.005235, allocations: 20.52 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005199/0.005759, allocations: 0.8644 MB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of Templates: time 0.002319/0.008088, allocations: 0.7964 MB / 1.024 GB, free: 3.836 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_10_Buildings.Utilities.Math.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_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.Examples.Binomial.o Buildings_10_Buildings.Utilities.Math.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_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.Examples.Binomial_functions.o Buildings_10_Buildings.Utilities.Math.Examples.Binomial_functions.c Buildings_10_Buildings.Utilities.Math.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.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.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.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.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.Examples.Binomial_functions.o] Error 1