Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001429/0.001429, allocations: 115.3 kB / 16.43 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.001444/0.001444, allocations: 183.2 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.505/1.505, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 277.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.606e-05, allocations: 2.281 kB / 0.682 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002728/0.002762, allocations: 1.525 MB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004936/0.003269, allocations: 188.2 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.003331, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.003377, allocations: 3.938 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.003447, allocations: 7.922 kB / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.003861, allocations: 47.89 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003986, allocations: 43.89 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004126, allocations: 20 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.004169, allocations: 15.92 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.004225, allocations: 15.92 kB / 0.6839 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004249, allocations: 4 kB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.004392, allocations: 51.94 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of combineBinaries: time 8.6e-05/0.004486, allocations: 51.42 kB / 0.684 GB, free: 5.012 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.67e-05/0.004518, allocations: 35.47 kB / 0.684 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.004541, allocations: 3.938 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.153e-05/0.004568, allocations: 4 kB / 0.684 GB, free: 4.969 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004222/0.004994, allocations: 284.5 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of FunctionAlias: time 9.795e-05/0.005099, allocations: 35.81 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001737/0.00528, allocations: 144.3 kB / 0.6844 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simplify1: time 2.673e-05/0.005313, allocations: 11.98 kB / 0.6844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of Alias: time 0.0004592/0.005777, allocations: 245.7 kB / 0.6847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simplify2: time 1.395e-05/0.005801, allocations: 7.984 kB / 0.6847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of Detect States: time 8.36e-05/0.005889, allocations: 40.23 kB / 0.6847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of Events: time 9.021e-05/0.005986, allocations: 39.91 kB / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of Partitioning: time 8.028e-05/0.006074, allocations: 48.03 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002426/0.006323, allocations: 172 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001327/0.006465, allocations: 128.4 kB / 0.6851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of Inline: time 0.0002348/0.006705, allocations: 200.3 kB / 0.6853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of Partitioning: time 1.854e-05/0.006733, allocations: 20.12 kB / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of Cleanup: time 1.609e-05/0.006754, allocations: 7.984 kB / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Causalize: time 0.000278/0.00704, allocations: 232.3 kB / 0.6855 GB, free: 3.082 MB / 494.1 MB Notification: Performance of Tearing: time 1.462e-05/0.007063, allocations: 3.938 kB / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of Initialization: time 3.2e-07/0.007068, allocations: 0 / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of Tearing: time 1.323e-06/0.007075, allocations: 0 / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of Categorize: time 7.724e-06/0.007089, allocations: 4 kB / 0.6855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of Solve: time 5.547e-05/0.007148, allocations: 19.98 kB / 0.6856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of Jacobian: time 4.208e-06/0.007158, allocations: 0 / 0.6856 GB, free: 3.055 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: ................. 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 4.087e-05/0.007203, allocations: 15.69 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007927/0.008, allocations: 0.8643 MB / 0.6864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Templates: time 0.003396/0.01141, allocations: 0.7956 MB / 0.6872 GB, free: 1.367 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.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.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.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.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.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.Examples.Binomial_functions.o] Error 1