Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 113.2 kB / 16.48 MB, free: 6.012 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.001352/0.001352, allocations: 197.2 kB / 17.41 MB, free: 5.512 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.324/1.324, allocations: 225.6 MB / 243.8 MB, free: 14.04 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.57/2.57, allocations: 476.7 MB / 0.7552 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.051e-05, allocations: 2.281 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002395/0.002415, allocations: 1.431 MB / 1.098 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.005855, allocations: 2.681 MB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.005892, allocations: 1.438 kB / 1.101 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.007437, allocations: 0.5876 MB / 1.101 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.007486, allocations: 25.39 kB / 1.101 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.00749, allocations: 0 / 1.101 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.007682, allocations: 73.83 kB / 1.101 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.007724, allocations: 2.375 kB / 1.101 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.007778, allocations: 33.22 kB / 1.101 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.007844, allocations: 40.48 kB / 1.101 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.007855, allocations: 1.375 kB / 1.101 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.008943, allocations: 477.1 kB / 1.102 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001102/0.009053, allocations: 85.09 kB / 1.102 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.467e-05/0.009118, allocations: 70.41 kB / 1.102 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.009134, allocations: 7.312 kB / 1.102 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.217e-06/0.009144, allocations: 0 / 1.102 GB, free: 8.277 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.0005803/0.009724, allocations: 463.5 kB / 1.102 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.817e-05/0.009742, allocations: 9.609 kB / 1.102 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of Early Inline: time 4.692e-05/0.009789, allocations: 32.64 kB / 1.102 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of Simplify 1: time 3.087e-05/0.00982, allocations: 40.05 kB / 1.102 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of Alias: time 7.448e-05/0.009894, allocations: 69.31 kB / 1.103 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of Simplify 2: time 2.787e-05/0.009922, allocations: 32.06 kB / 1.103 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of Remove Stream: time 2.847e-05/0.009951, allocations: 35.88 kB / 1.103 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001295/0.01008, allocations: 70.03 kB / 1.103 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Events: time 3.937e-06/0.01008, allocations: 0 / 1.103 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.438e-05/0.0101, allocations: 2.078 kB / 1.103 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Causalize: time 5.039e-06/0.0101, allocations: 3.938 kB / 1.103 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 4.598e-06/0.01011, allocations: 5.156 kB / 1.103 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of Simplify: time 0.0004006/0.01051, allocations: 199.6 kB / 1.103 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001961/0.0107, allocations: 166.3 kB / 1.103 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.179e-05/0.01073, allocations: 16.42 kB / 1.103 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.272e-05/0.01075, allocations: 19.61 kB / 1.103 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001316/0.01207, allocations: 0.8842 MB / 1.104 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of Tearing: time 9.438e-06/0.01207, allocations: 0 / 1.104 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of Initialization: time 2.91e-07/0.01208, allocations: 0 / 1.104 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of Tearing: time 3.016e-06/0.01208, allocations: 5.5 kB / 1.104 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of Categorize: time 2.645e-06/0.01208, allocations: 4 kB / 1.104 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of Solve: time 6.785e-05/0.01215, allocations: 34.33 kB / 1.104 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of Jacobian: time 5.32e-06/0.01215, allocations: 4 kB / 1.104 GB, free: 6.793 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) {} * Number of discrete variables: ................. 0 (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: ........... 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 (resizable: 0generic: 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: ......... 10 (resizable: 10generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.658e-05/0.01219, allocations: 22.11 kB / 1.104 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002484/0.01467, allocations: 2.015 MB / 1.106 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.006734/0.02141, allocations: 2.775 MB / 1.109 GB, free: 5.18 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med -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_med.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med -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_med_functions.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_records.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_01exo.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_02nls.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_03lsy.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_04set.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med -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_med_05evt.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_05evt.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_med -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_med_06inz.o Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.c Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.c:50:115: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->realParameter[65] /* cab[1].GMD PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 11))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../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/gc/../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/gc/../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_med_06inz.c:77:115: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->realParameter[58] /* cab[1].GMR PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 10))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../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/gc/../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/gc/../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_med_06inz.c:104:113: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->realParameter[51] /* cab[1].D PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 9))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../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/gc/../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/gc/../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_med_06inz.c:131:113: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->realParameter[44] /* cab[1].d PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(threadData, (&data->simulationInfo->realParameter[1] /* P_nominal[1] PARAM */)[_omcQ_24i1 - 1], (data->simulationInfo->realParameter[0] /* V_nominal PARAM */))), 8))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../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/gc/../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/gc/../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_med_06inz.c:158:115: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->realParameter[37] /* cab[1].Rdc PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(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/gc/../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/gc/../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/gc/../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_med_06inz.c:185:117: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_Generic' where arithmetic or pointer type is required (&(data->simulationInfo->stringParameter[0] /* cab[1].size PARAM */))[_omcQ_24i1 - 1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Buildings_Electrical_Transmission_Functions_selectCable__med(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/gc/../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/gc/../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/gc/../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_med_06inz.c:212:113: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_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__med(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/gc/../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/gc/../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/gc/../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_med_06inz.c:239:117: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_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__med(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/gc/../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/gc/../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/gc/../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_med_06inz.c:266:115: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_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__med(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/gc/../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/gc/../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/gc/../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_med_06inz.c:293:122: error: operand of type 'Buildings_Electrical_Transmission_MediumVoltageCables_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__med(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/gc/../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/gc/../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/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ 10 errors generated. make: *** [: Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.o] Error 1