Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001118/0.001118, allocations: 106.9 kB / 16.42 MB, free: 6.508 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.001008/0.001008, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.539/1.539, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.338e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002394/0.002427, allocations: 1.486 MB / 0.7278 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000854/0.003292, allocations: 0.5046 MB / 0.7283 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.003356, allocations: 0 / 0.7283 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.003468, allocations: 7.922 kB / 0.7283 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.003515, allocations: 11.88 kB / 0.7283 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.003747, allocations: 35.89 kB / 0.7283 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.003941, allocations: 111.7 kB / 0.7284 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004064, allocations: 16.17 kB / 0.7285 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.004191, allocations: 43.84 kB / 0.7285 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.004288, allocations: 47.81 kB / 0.7286 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.004321, allocations: 8 kB / 0.7286 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.004344, allocations: 12 kB / 0.7286 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001175/0.004467, allocations: 114.9 kB / 0.7287 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.335e-05/0.004505, allocations: 59.06 kB / 0.7287 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.004548, allocations: 12 kB / 0.7287 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.447e-05/0.004567, allocations: 4 kB / 0.7288 GB, free: 2.285 MB / 0.5606 GB 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.000535/0.005106, allocations: 463.3 kB / 0.7292 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.572e-05/0.0052, allocations: 35.94 kB / 0.7292 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0002579/0.005465, allocations: 288.2 kB / 0.7295 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simplify1: time 2.037e-05/0.005492, allocations: 15.97 kB / 0.7295 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of Alias: time 8.776e-05/0.005586, allocations: 84.56 kB / 0.7296 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simplify2: time 1.61e-05/0.005607, allocations: 15.97 kB / 0.7296 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of Events: time 0.000163/0.005774, allocations: 91.8 kB / 0.7297 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001989/0.00598, allocations: 144.1 kB / 0.7298 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001205/0.006108, allocations: 91.97 kB / 0.7299 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0004727/0.006587, allocations: 362.3 kB / 0.7303 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0002789/0.006875, allocations: 320.2 kB / 0.7306 GB, free: 196 kB / 0.5606 GB Notification: Performance of Inline: time 0.0004318/0.007314, allocations: 453 kB / 0.731 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of Partitioning: time 2.535e-05/0.007349, allocations: 28.05 kB / 0.731 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of Cleanup: time 3.263e-05/0.007386, allocations: 27.92 kB / 0.7311 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0004945/0.007886, allocations: 485.5 kB / 0.7315 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Tearing: time 6.162e-06/0.007901, allocations: 0 / 0.7315 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Initialization: time 3.01e-07/0.007906, allocations: 0 / 0.7315 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Tearing: time 7.81e-07/0.007911, allocations: 0 / 0.7315 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Categorize: time 9.217e-06/0.007925, allocations: 4 kB / 0.7315 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Solve: time 7.897e-05/0.008008, allocations: 43.91 kB / 0.7316 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.925e-06/0.008017, allocations: 0 / 0.7316 GB, free: 15.13 MB / 0.5762 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: .................... 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.824e-05/0.00807, allocations: 26.53 kB / 0.7316 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0006646/0.00874, allocations: 0.922 MB / 0.7325 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.00354/0.01229, allocations: 1.269 MB / 0.7337 GB, free: 12.91 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_functions.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_records.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_01exo.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_02nls.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_03lsy.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_04set.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.o Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.c Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests_05evt.o] Error 1