Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 111.8 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 188.5 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 250.1 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 496.2 MB / 0.7826 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.267e-05, allocations: 4.672 kB / 1.136 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002408/0.00243, allocations: 1.434 MB / 1.138 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003316/0.005746, allocations: 2.701 MB / 1.141 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.005776, allocations: 0 / 1.141 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.007143, allocations: 0.5975 MB / 1.141 GB, free: 7.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.007192, allocations: 19.84 kB / 1.141 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.007196, allocations: 3.938 kB / 1.141 GB, free: 7.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.007378, allocations: 75.75 kB / 1.141 GB, free: 7.699 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.00742, allocations: 3.984 kB / 1.141 GB, free: 7.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.007474, allocations: 31.91 kB / 1.141 GB, free: 7.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.007546, allocations: 35.89 kB / 1.141 GB, free: 7.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.007554, allocations: 3.938 kB / 1.141 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000909/0.008463, allocations: 475.2 kB / 1.142 GB, free: 7.16 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001004/0.008563, allocations: 91.19 kB / 1.142 GB, free: 7.07 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 6.813e-05/0.008631, allocations: 71.33 kB / 1.142 GB, free: 7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.008645, allocations: 3.938 kB / 1.142 GB, free: 6.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.795e-06/0.008653, allocations: 4 kB / 1.142 GB, free: 6.992 MB / 0.92 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.0005907/0.009243, allocations: 0.5144 MB / 1.142 GB, free: 6.355 MB / 0.92 GB Notification: Performance of FunctionAlias: time 2.471e-05/0.009268, allocations: 18.75 kB / 1.142 GB, free: 6.34 MB / 0.92 GB Notification: Performance of Early Inline: time 6.195e-05/0.00933, allocations: 36.73 kB / 1.142 GB, free: 6.277 MB / 0.92 GB Notification: Performance of Simplify 1: time 2.808e-05/0.009358, allocations: 32.44 kB / 1.142 GB, free: 6.219 MB / 0.92 GB Notification: Performance of Alias: time 8.659e-05/0.009445, allocations: 78.05 kB / 1.143 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Simplify 2: time 2.683e-05/0.009472, allocations: 32.44 kB / 1.143 GB, free: 6.035 MB / 0.92 GB Notification: Performance of Remove Stream: time 2.513e-05/0.009497, allocations: 28.44 kB / 1.143 GB, free: 5.98 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001293/0.009626, allocations: 72.69 kB / 1.143 GB, free: 5.871 MB / 0.92 GB Notification: Performance of Events: time 8.005e-06/0.009634, allocations: 8 kB / 1.143 GB, free: 5.863 MB / 0.92 GB Notification: Performance of Partitioning: time 8.887e-06/0.009643, allocations: 0 / 1.143 GB, free: 5.863 MB / 0.92 GB Notification: Performance of Causalize: time 8.826e-06/0.009652, allocations: 8 kB / 1.143 GB, free: 5.855 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 2.064e-06/0.009654, allocations: 0 / 1.143 GB, free: 5.855 MB / 0.92 GB Notification: Performance of Simplify: time 0.0003798/0.01003, allocations: 191.8 kB / 1.143 GB, free: 5.621 MB / 0.92 GB Notification: Performance of Inline: time 0.0001698/0.0102, allocations: 167.7 kB / 1.143 GB, free: 5.453 MB / 0.92 GB Notification: Performance of Partitioning: time 1.798e-05/0.01022, allocations: 12.12 kB / 1.143 GB, free: 5.434 MB / 0.92 GB Notification: Performance of Cleanup: time 2.959e-05/0.01025, allocations: 23.97 kB / 1.143 GB, free: 5.41 MB / 0.92 GB Notification: Performance of Causalize: time 0.005264/0.01551, allocations: 4.788 MB / 1.148 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of Tearing: time 1.293e-05/0.01553, allocations: 8 kB / 1.148 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of Initialization: time 4.3e-07/0.01553, allocations: 0 / 1.148 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of Remove Dummies: time 7.21e-07/0.01553, allocations: 0 / 1.148 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of Tearing: time 3.71e-07/0.01553, allocations: 3.938 kB / 1.148 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of Categorize: time 3.838e-06/0.01553, allocations: 7.984 kB / 1.148 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of Solve: time 9.052e-05/0.01562, allocations: 43.95 kB / 1.148 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of Jacobian: time 4.379e-06/0.01563, allocations: 0 / 1.148 GB, free: 0.7266 MB / 0.92 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: 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: ......... 20 (resizable: 20, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.705e-05/0.01567, allocations: 17.7 kB / 1.148 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of SimCode: time 0.002331/0.018, allocations: 1.988 MB / 1.15 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.006883/0.02488, allocations: 3.179 MB / 1.153 GB, free: 11.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_functions.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_records.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_01exo.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_02nls.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_03lsy.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_04set.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_05evt.o Buildings_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.o Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.c Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 6.434619685634971]