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.001733/0.001733, allocations: 110.6 kB / 16.42 MB, free: 6.527 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.00174/0.00174, allocations: 183.2 kB / 17.36 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.129/1.129, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.036/2.036, allocations: 437 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.848e-06/9.848e-06, allocations: 2.281 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001035/0.001052, allocations: 0.5692 MB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.00135, allocations: 123.5 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.001374, allocations: 0 / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.001402, allocations: 0 / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-06/0.00141, allocations: 0 / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.001676, allocations: 39.89 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.001742, allocations: 15.98 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.001781, allocations: 4 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.001808, allocations: 7.938 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.808e-05/0.00184, allocations: 3.984 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.001857, allocations: 4 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.001959, allocations: 43.95 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of combineBinaries: time 2.905e-05/0.001994, allocations: 15.92 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.747e-06/0.002003, allocations: 3.906 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-06/0.002015, allocations: 0 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.735e-06/0.002026, allocations: 0 / 1.02 GB, free: 8.633 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.0002571/0.002286, allocations: 193.2 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.534e-05/0.002327, allocations: 15.83 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of Early Inline: time 7.215e-05/0.002405, allocations: 72.41 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of simplify1: time 4.628e-06/0.002415, allocations: 0 / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of Alias: time 4.726e-05/0.002466, allocations: 64.53 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of simplify2: time 1.753e-06/0.002472, allocations: 0 / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of Detect States: time 4.863e-05/0.002524, allocations: 33.58 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of Events: time 6.699e-05/0.002599, allocations: 39.84 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of Partitioning: time 4.581e-05/0.002652, allocations: 28.12 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003314/0.002988, allocations: 247.7 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 8.037e-05/0.003076, allocations: 108.2 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of Inline: time 0.0001082/0.00319, allocations: 132.4 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of Partitioning: time 1.255e-05/0.003208, allocations: 16.12 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of Cleanup: time 8.416e-06/0.003222, allocations: 7.984 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002702/0.003496, allocations: 257.6 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of Tearing: time 6.933e-06/0.003511, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of Initialization: time 4.51e-07/0.003516, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of Tearing: time 1.302e-06/0.003522, allocations: 4 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of Categorize: time 6.081e-06/0.003531, allocations: 4 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of Solve: time 0.0001069/0.003641, allocations: 72.36 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of Jacobian: time 3.156e-06/0.003654, allocations: 4.094 kB / 1.021 GB, free: 7.09 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.304e-05/0.003681, allocations: 13.84 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005839/0.004268, allocations: 0.9319 MB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of Templates: time 0.002222/0.0065, allocations: 0.7163 MB / 1.023 GB, free: 5.414 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