Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.2 kB / 16.43 MB, free: 6.523 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.001061/0.001061, allocations: 182 kB / 17.36 MB, free: 5.746 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.139/1.139, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.212/2.212, allocations: 469.8 MB / 0.7432 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.17e-05, allocations: 6.219 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001767/0.001787, allocations: 1.397 MB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.003677, allocations: 1.931 MB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003713, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008243/0.004543, allocations: 389.8 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.004595, allocations: 15.91 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-06/0.004606, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.004804, allocations: 75.73 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.004854, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.004898, allocations: 27.91 kB / 1.07 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.004949, allocations: 23.91 kB / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.004966, allocations: 0 / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.005425, allocations: 179.9 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.683e-05/0.005513, allocations: 71.45 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.297e-05/0.005571, allocations: 55.38 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.171e-05/0.005587, allocations: 4 kB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.312e-06/0.005597, allocations: 0 / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0004256/0.006027, allocations: 359.5 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.708e-05/0.006049, allocations: 15.83 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of Early Inline: time 4.162e-05/0.006095, allocations: 40.38 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simplify1: time 2.308e-05/0.006124, allocations: 40.41 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of Alias: time 5.484e-05/0.006183, allocations: 44.62 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of simplify2: time 2.435e-05/0.006211, allocations: 40.42 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of Detect States: time 4.133e-05/0.006256, allocations: 21.75 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of Events: time 3.947e-06/0.006266, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.323e-05/0.006283, allocations: 4 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of Causalize: time 4.108e-06/0.006291, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 2.539e-05/0.006319, allocations: 32.38 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of Inline: time 0.0004245/0.006748, allocations: 252 kB / 1.071 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.668e-05/0.006775, allocations: 20.06 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.355e-05/0.006793, allocations: 7.984 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006929/0.00749, allocations: 0.5152 MB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of Tearing: time 1.113e-05/0.00751, allocations: 7.938 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of Initialization: time 2.314e-06/0.007516, allocations: 4 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of Tearing: time 9.12e-07/0.007521, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of Categorize: time 2.074e-06/0.007527, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of Solve: time 5.211e-05/0.007583, allocations: 15.98 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.006e-06/0.007591, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8419 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: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.21e-05/0.007629, allocations: 30.14 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001447/0.009082, allocations: 1.643 MB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.003825/0.01292, allocations: 1.834 MB / 1.075 GB, free: 4.211 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low -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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low -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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:362:110: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->realParameter[44] /* cab[1].XCha PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 7))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:371:110: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->realParameter[37] /* cab[1].RCha PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 6))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:380:107: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->realParameter[30] /* cab[1].M PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 5))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:389:111: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->realParameter[23] /* cab[1].T_ref PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 4))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:398:109: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->realParameter[16] /* cab[1].Amp PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 3))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.c:407:116: error: operand of type 'Buildings_Electrical_Transmission_LowVoltageCables_Generic' where arithmetic or pointer type is required (&data->simulationInfo->integerParameter[0] /* cab[1].material PARAM */)[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__low(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 2))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ 6 errors generated. make: *** [: Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_functions.o] Error 1