Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001084/0.001084, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.149/1.149, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.893/1.893, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.247e-05, allocations: 4.953 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002229/0.00225, allocations: 1.628 MB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.003254, allocations: 0.6118 MB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.003326, allocations: 3.938 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.003468, allocations: 15.86 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.003706, allocations: 43.77 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.004051, allocations: 123.7 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.004288, allocations: 203.5 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004401, allocations: 33.05 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.004545, allocations: 79.81 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.00466, allocations: 83.72 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.004696, allocations: 16 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.983e-05/0.004761, allocations: 27.98 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001496/0.004916, allocations: 197.8 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.91e-05/0.004981, allocations: 122.3 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.005025, allocations: 23.94 kB / 0.9546 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.602e-05/0.005045, allocations: 4 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (8) Notification: Performance of Bindings: time 0.0006071/0.005656, allocations: 0.6406 MB / 0.9552 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.488e-05/0.005717, allocations: 23.88 kB / 0.9552 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003487/0.006074, allocations: 412.1 kB / 0.9556 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simplify1: time 2.278e-05/0.006104, allocations: 19.92 kB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of Alias: time 9.402e-05/0.006202, allocations: 97.67 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of simplify2: time 1.055e-05/0.006218, allocations: 11.98 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001927/0.006415, allocations: 200 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of Events: time 0.0001287/0.00655, allocations: 79.84 kB / 0.956 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001306/0.006688, allocations: 96.08 kB / 0.9561 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003648/0.00706, allocations: 278.7 kB / 0.9564 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0003687/0.007437, allocations: 448 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of Inline: time 0.0005677/0.008011, allocations: 0.5819 MB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.465e-05/0.008044, allocations: 28.11 kB / 0.9574 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of Cleanup: time 3.772e-05/0.008087, allocations: 39.95 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0004855/0.008577, allocations: 446.2 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of Tearing: time 8.205e-06/0.008597, allocations: 0 / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of Initialization: time 3.11e-07/0.008603, allocations: 4 kB / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Tearing: time 1.532e-06/0.008608, allocations: 0 / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Categorize: time 5.701e-06/0.008618, allocations: 0 / 0.9578 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Solve: time 8.609e-05/0.008707, allocations: 48.09 kB / 0.9579 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.605e-06/0.008717, allocations: 3.938 kB / 0.9579 GB, free: 0.832 MB / 0.7325 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: ................. 8 (8) {combiTimeTableWriter.str, combiTimeTableWriter.sampleTrigger, csvWriter.str, csvWriter.sampleTrigger, $TEV_3, $TEV_2, $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: ........... 13 (scalar:13, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:15, array:0, record:2) * Number of multi strong components: ............ 2 (algorithm:2, 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 3.064e-05/0.008752, allocations: 22.45 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0008525/0.009608, allocations: 1.154 MB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of Templates: time 0.003993/0.01361, allocations: 1.892 MB / 0.9609 GB, free: 13.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c:19:21: warning: implicit declaration of function 'fileWriterInit' is invalid in C99 [-Wimplicit-function-declaration] _fileWriter_ext = fileWriterInit(MMC_STRINGDATA(_instanceName), MMC_STRINGDATA(_fileName), _numColumns_ext, _isCombiTimeTable_ext); ^ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c:19:19: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] _fileWriter_ext = fileWriterInit(MMC_STRINGDATA(_instanceName), MMC_STRINGDATA(_fileName), _numColumns_ext, _isCombiTimeTable_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c:39:3: warning: implicit declaration of function 'fileWriterFree' is invalid in C99 [-Wimplicit-function-declaration] fileWriterFree(_fileWriter_ext); ^ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c:54:3: warning: implicit declaration of function 'writeLine' is invalid in C99 [-Wimplicit-function-declaration] writeLine(_id_ext, MMC_STRINGDATA(_string), _isMetaData_ext); ^ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_functions.c:71:3: warning: implicit declaration of function 'writeLine' is invalid in C99 [-Wimplicit-function-declaration] writeLine(_id_ext, MMC_STRINGDATA(_string), _isMetaData_ext); ^ 5 warnings generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_records.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_01exo.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_02nls.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_03lsy.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_04set.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -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_9_Buildings_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.c Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.c:108:36: error: use of undeclared identifier 'i' gout[0] = ((modelica_integer_mod(i + ((modelica_integer) 1), tmp23) == ((modelica_integer) 0))) ? 1 : -1; ^ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.c:135:64: error: use of undeclared identifier 'i' data->simulationInfo->relations[0] = (modelica_integer_mod(i + ((modelica_integer) 1), tmp24) == ((modelica_integer) 0)); ^ Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.c:139:64: error: use of undeclared identifier 'i' data->simulationInfo->relations[0] = (modelica_integer_mod(i + ((modelica_integer) 1), tmp25) == ((modelica_integer) 0)); ^ 3 errors generated. make: *** [: Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_05evt.o] Error 1