Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 104.2 kB / 16.42 MB, free: 6.465 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.0009562/0.0009563, allocations: 192.3 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4281/0.4281, allocations: 95.47 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.27e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00224/0.002271, allocations: 1.471 MB / 0.5056 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.003033, allocations: 499.7 kB / 0.5061 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.003088, allocations: 0 / 0.5061 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.601e-05/0.003181, allocations: 11.86 kB / 0.5061 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.003231, allocations: 11.88 kB / 0.5061 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.003427, allocations: 39.95 kB / 0.5062 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.003603, allocations: 107.7 kB / 0.5063 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.003706, allocations: 20.17 kB / 0.5063 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.003821, allocations: 51.78 kB / 0.5063 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.003904, allocations: 35.89 kB / 0.5064 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.003934, allocations: 11.94 kB / 0.5064 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.003955, allocations: 8 kB / 0.5064 GB, free: 9.641 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0001164/0.004075, allocations: 122.8 kB / 0.5065 GB, free: 9.52 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 2.652e-05/0.004108, allocations: 55.12 kB / 0.5066 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.004146, allocations: 15.94 kB / 0.5066 GB, free: 9.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.327e-05/0.004164, allocations: 4 kB / 0.5066 GB, free: 9.445 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (7) Notification: Performance of Bindings: time 0.0004988/0.004667, allocations: 451.5 kB / 0.507 GB, free: 8.902 MB / 398.1 MB Notification: Performance of FunctionAlias: time 8.302e-05/0.004758, allocations: 51.78 kB / 0.5071 GB, free: 8.852 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0002487/0.005013, allocations: 284.2 kB / 0.5073 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplify1: time 2.293e-05/0.005043, allocations: 23.97 kB / 0.5074 GB, free: 8.523 MB / 398.1 MB Notification: Performance of Alias: time 8.73e-05/0.005137, allocations: 88.5 kB / 0.5074 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplify2: time 1.486e-05/0.005156, allocations: 19.95 kB / 0.5075 GB, free: 8.379 MB / 398.1 MB Notification: Performance of Events: time 0.0001371/0.005298, allocations: 79.86 kB / 0.5075 GB, free: 8.301 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001792/0.005484, allocations: 140.1 kB / 0.5077 GB, free: 8.148 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001044/0.005596, allocations: 91.97 kB / 0.5078 GB, free: 8.051 MB / 398.1 MB Notification: Performance of Causalize: time 0.0004333/0.006037, allocations: 360 kB / 0.5081 GB, free: 7.691 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002814/0.006327, allocations: 324.2 kB / 0.5084 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Inline: time 0.0004145/0.006748, allocations: 456.9 kB / 0.5088 GB, free: 6.867 MB / 398.1 MB Notification: Performance of Partitioning: time 2.121e-05/0.006777, allocations: 20.06 kB / 0.5089 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Cleanup: time 2.862e-05/0.006811, allocations: 27.97 kB / 0.5089 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Causalize: time 0.0004778/0.007293, allocations: 492.5 kB / 0.5094 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Tearing: time 5.621e-06/0.007308, allocations: 0 / 0.5094 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Initialization: time 3.3e-07/0.007313, allocations: 0 / 0.5094 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Tearing: time 2.444e-06/0.00732, allocations: 4.031 kB / 0.5094 GB, free: 6.328 MB / 398.1 MB Notification: Performance of Categorize: time 6.472e-06/0.007331, allocations: 4 kB / 0.5094 GB, free: 6.324 MB / 398.1 MB Notification: Performance of Solve: time 7.498e-05/0.00741, allocations: 35.97 kB / 0.5094 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Jacobian: time 2.825e-06/0.007419, allocations: 0 / 0.5094 GB, free: 6.289 MB / 398.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: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {numReq.y, $SEV_10, $SEV_9, $SEV_8, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: ............ 3 (algorithm:1, when:2, 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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.039e-05/0.007463, allocations: 33.31 kB / 0.5094 GB, free: 6.266 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005974/0.008066, allocations: 0.9192 MB / 0.5103 GB, free: 5.324 MB / 398.1 MB Notification: Performance of Templates: time 0.003449/0.01152, allocations: 1.272 MB / 0.5116 GB, free: 4.066 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_functions.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_functions.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_records.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_records.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_01exo.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_01exo.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_02nls.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_02nls.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_03lsy.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_03lsy.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_04set.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_04set.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_1_6_Buildings_Controls_Continuous_Examples_NumberOfRequests -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_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.o Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:115:81: error: use of undeclared identifier 'i' tmp13 = Greater((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:120:83: error: use of undeclared identifier 'i' tmp14 = GreaterEq((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:125:80: error: use of undeclared identifier 'i' tmp15 = LessEq((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:130:78: error: use of undeclared identifier 'i' tmp16 = Less((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:183:83: error: use of undeclared identifier 'i' tmp22 = Greater((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:188:85: error: use of undeclared identifier 'i' tmp23 = GreaterEq((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:193:82: error: use of undeclared identifier 'i' tmp24 = LessEq((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:198:80: error: use of undeclared identifier 'i' tmp25 = Less((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:210:105: error: use of undeclared identifier 'i' data->simulationInfo->relations[1] = ((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1] > (data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:214:105: error: use of undeclared identifier 'i' data->simulationInfo->relations[3] = ((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1] >= (data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:218:105: error: use of undeclared identifier 'i' data->simulationInfo->relations[5] = ((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1] <= (data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c:222:105: error: use of undeclared identifier 'i' data->simulationInfo->relations[7] = ((&data->localData[0]->realVars[0] /* numReq.u[1] variable */)[i - 1] < (data->simulationInfo->realParameter[0] /* numReq.threShold PARAM */)); ^ 12 errors generated. make: *** [: Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.o] Error 1