Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 188.2 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.000943, allocations: 88.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001717, allocations: 276 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.218e-05, allocations: 4 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4741, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.6446, allocations: 128.7 MB / 0.8832 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.645, allocations: 123.9 kB / 0.8833 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5264/1.171, allocations: 15.11 MB / 0.898 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.306e-06/1.171, allocations: 0.5312 kB / 0.898 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.171, allocations: 0.8125 kB / 0.898 GB, free: 128.2 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001355/1.173, allocations: 0.5408 MB / 0.8986 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/1.173, allocations: 9.625 kB / 0.8986 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/1.173, allocations: 83.45 kB / 0.8987 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.173, allocations: 251.1 kB / 0.8989 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/1.173, allocations: 152.4 kB / 0.899 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/1.173, allocations: 153.9 kB / 0.8992 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.801e-05/1.173, allocations: 154.1 kB / 0.8993 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.291e-05/1.173, allocations: 102.2 kB / 0.8994 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.173, allocations: 80.19 kB / 0.8995 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/1.173, allocations: 151.8 kB / 0.8996 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/1.173, allocations: 152 kB / 0.8998 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/1.174, allocations: 444.9 kB / 0.9002 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/1.174, allocations: 173.7 kB / 0.9004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/1.174, allocations: 86.02 kB / 0.9005 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/1.174, allocations: 76.81 kB / 0.9005 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.174, allocations: 112.7 kB / 0.9006 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.174, allocations: 0 / 0.9006 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.089e-05/1.174, allocations: 38.19 kB / 0.9007 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/1.174, allocations: 51.91 kB / 0.9007 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/1.174, allocations: 114 kB / 0.9008 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/1.174, allocations: 25.7 kB / 0.9009 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/1.174, allocations: 94.19 kB / 0.901 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/1.174, allocations: 0 / 0.901 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.174, allocations: 3.688 kB / 0.901 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.579e-05/1.174, allocations: 317.6 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/1.174, allocations: 3.688 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/1.174, allocations: 5.906 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/1.174, allocations: 5.547 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.174, allocations: 1.125 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001671/1.175, allocations: 53.95 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.175, allocations: 6.156 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.175, allocations: 11.38 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.175, allocations: 0 / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/1.175, allocations: 1.062 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.175, allocations: 0.5156 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/1.175, allocations: 0.9688 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.175, allocations: 0.8438 kB / 0.9013 GB, free: 125 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/1.175, allocations: 181.2 kB / 0.9015 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.157e-05/1.175, allocations: 145.2 kB / 0.9017 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/1.175, allocations: 107.5 kB / 0.9018 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/1.175, allocations: 110.1 kB / 0.9019 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.684e-05/1.175, allocations: 186.2 kB / 0.902 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-05/1.175, allocations: 178.8 kB / 0.9022 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/1.175, allocations: 181.1 kB / 0.9024 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/1.175, allocations: 390.8 kB / 0.9028 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/1.175, allocations: 108.3 kB / 0.9029 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/1.175, allocations: 102.4 kB / 0.903 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.327e-05/1.176, allocations: 189 kB / 0.9031 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/1.176, allocations: 178.4 kB / 0.9033 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.266e-05/1.176, allocations: 182.4 kB / 0.9035 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.696e-05/1.176, allocations: 177.8 kB / 0.9037 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/1.176, allocations: 314.2 kB / 0.904 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/1.176, allocations: 186.1 kB / 0.9041 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/1.176, allocations: 187.9 kB / 0.9043 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/1.176, allocations: 103.3 kB / 0.9044 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/1.176, allocations: 178.4 kB / 0.9046 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/1.176, allocations: 109.3 kB / 0.9047 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.431e-05/1.176, allocations: 96.28 kB / 0.9048 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.182e-06/1.176, allocations: 0 / 0.9048 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001629/1.178, allocations: 323.5 kB / 0.9051 GB, free: 121.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/1.18, allocations: 1.211 MB / 0.9063 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.18, allocations: 37.58 kB / 0.9063 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.18, allocations: 0 / 0.9063 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-06/1.18, allocations: 2.125 kB / 0.9063 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/1.18, allocations: 0.5318 MB / 0.9068 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/1.181, allocations: 341.4 kB / 0.9072 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.181, allocations: 0.6868 MB / 0.9078 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.455e-05/1.181, allocations: 1.406 kB / 0.9078 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/1.181, allocations: 15.28 kB / 0.9078 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/1.181, allocations: 0 / 0.9078 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/1.215, allocations: 6.131 MB / 0.9138 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/1.216, allocations: 270.3 kB / 0.9141 GB, free: 118.2 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:786:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o] Error 1