Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 211.4 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.49 GB / 0.7958 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.776e-05/3.776e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.005337/0.005375, allocations: 1.636 MB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.007128, allocations: 0.6465 MB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.007234, allocations: 10.22 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.007448, allocations: 22.2 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.007791, allocations: 46.64 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007587/0.00855, allocations: 126.7 kB / 1.157 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.008968, allocations: 211.8 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.009138, allocations: 19.61 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.009422, allocations: 103 kB / 1.158 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.009601, allocations: 85.22 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.009653, allocations: 13.22 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.009771, allocations: 32.98 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002793/0.01005, allocations: 253.3 kB / 1.158 GB, free: 23.22 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 8.928e-05/0.01014, allocations: 145.3 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.01021, allocations: 16.75 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.216e-05/0.01023, allocations: 2.094 kB / 1.158 GB, free: 23.12 MB / 0.9044 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 [SIM] Bindings: time 0.001066/0.01129, allocations: 0.6874 MB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001344/0.01143, allocations: 72.09 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007813/0.01221, allocations: 478.2 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003121/0.01252, allocations: 165.8 kB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00036/0.01288, allocations: 231.8 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002653/0.01315, allocations: 164.8 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002123/0.01336, allocations: 138.8 kB / 1.16 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000315/0.01367, allocations: 207.1 kB / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002595/0.01393, allocations: 67.47 kB / 1.16 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000399/0.01433, allocations: 183.3 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0006566/0.01499, allocations: 192.2 kB / 1.161 GB, free: 21.29 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006473/0.01564, allocations: 410.7 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0009115/0.01655, allocations: 315.7 kB / 1.161 GB, free: 20.86 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00088/0.01743, allocations: 0.5773 MB / 1.162 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.349e-05/0.01746, allocations: 19 kB / 1.162 GB, free: 20.54 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001448/0.01761, allocations: 94.89 kB / 1.162 GB, free: 20.48 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0008253/0.01843, allocations: 317.6 kB / 1.162 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.689e-05/0.01846, allocations: 14.72 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.61e-07/0.01846, allocations: 5.25 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.045e-06/0.01847, allocations: 0 / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.624e-06/0.01848, allocations: 6.938 kB / 1.162 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.062e-05/0.01849, allocations: 0.875 kB / 1.162 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003105/0.0188, allocations: 98.66 kB / 1.163 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.295e-05/0.01881, allocations: 0 / 1.163 GB, free: 20.34 MB / 0.9044 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) {} * Number of discrete variables: ................. 10 (10) {combiTimeTableWriter.str, combiTimeTableWriter.sampleTrigger, csvWriter.str, csvWriter.sampleTrigger, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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 (resizable: 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: ........... 16 (scalar:14, array:0, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.989e-05/0.01889, allocations: 42.77 kB / 1.163 GB, free: 20.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001625/0.02051, allocations: 0.5324 MB / 1.163 GB, free: 20 MB / 0.9044 GB Notification: Performance of Templates: time 0.009596/0.03011, allocations: 2.234 MB / 1.165 GB, free: 19.65 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] make -j1 -f Buildings_12_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 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.o Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.c Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.c:141:151: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* $SEV_1 DISCRETE */) = (modelica_integer_mod(((modelica_integer) 1) + i, tmp6) == ((modelica_integer) 0)); ^ Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.c:218:151: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[3]] /* $SEV_0 DISCRETE */) = (modelica_integer_mod(((modelica_integer) 1) + i, tmp18) == ((modelica_integer) 0)); ^ 2 errors generated. make: *** [: Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.o] Error 1 [Calling os._exit(0), Time elapsed: 7.155124922282994] Failed to read output from testmodel.py, exit status != 0: 0.04245658265426755 0.064556235 0.049938256 Calling exit ...