Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.9542/0.9542, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001371/0.001371, allocations: 191.7 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.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009276/0.0009273, allocations: 92.05 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.001635/0.001634, allocations: 272 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.544e-05, allocations: 4 kB / 0.6767 GB, free: 12.67 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4606, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.6329, allocations: 129.4 MB / 0.8839 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.6333, allocations: 119.9 kB / 0.884 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.496/1.129, allocations: 15.41 MB / 0.899 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.432e-06/1.129, allocations: 3.844 kB / 0.899 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.129, allocations: 1.75 kB / 0.899 GB, free: 128.5 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.001067/1.13, allocations: 0.5603 MB / 0.8996 GB, free: 128 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.131, allocations: 9.062 kB / 0.8996 GB, free: 128 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/1.131, allocations: 77.47 kB / 0.8997 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.131, allocations: 253.2 kB / 0.8999 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.131, allocations: 151.1 kB / 0.9001 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/1.131, allocations: 157.4 kB / 0.9002 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.508e-05/1.131, allocations: 152.7 kB / 0.9004 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.339e-05/1.131, allocations: 102.4 kB / 0.9005 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.131, allocations: 76.5 kB / 0.9005 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/1.131, allocations: 156.5 kB / 0.9007 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/1.131, allocations: 154.8 kB / 0.9008 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/1.131, allocations: 444.1 kB / 0.9012 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/1.131, allocations: 170.4 kB / 0.9014 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/1.131, allocations: 84.77 kB / 0.9015 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.131, allocations: 83.97 kB / 0.9016 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.131, allocations: 108.5 kB / 0.9017 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.131, allocations: 0 / 0.9017 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/1.131, allocations: 33.7 kB / 0.9017 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/1.131, allocations: 51.41 kB / 0.9018 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.132, allocations: 119.9 kB / 0.9019 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/1.132, allocations: 26.42 kB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/1.132, allocations: 93.5 kB / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/1.132, allocations: 0 / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.132, allocations: 0 / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/1.132, allocations: 319.5 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/1.132, allocations: 2.844 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/1.132, allocations: 5.562 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/1.132, allocations: 12.38 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.132, allocations: 0 / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001381/1.132, allocations: 61.66 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.132, allocations: 5.141 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.132, allocations: 4.391 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.132, allocations: 0 / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/1.132, allocations: 0.75 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.132, allocations: 0.7031 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/1.132, allocations: 2.531 kB / 0.9024 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.132, allocations: 0.875 kB / 0.9024 GB, free: 125.2 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.334e-05/1.132, allocations: 185.1 kB / 0.9026 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.704e-05/1.132, allocations: 146.4 kB / 0.9027 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.132, allocations: 108.4 kB / 0.9028 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/1.132, allocations: 109 kB / 0.9029 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.132, allocations: 181 kB / 0.9031 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/1.132, allocations: 183.2 kB / 0.9033 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/1.132, allocations: 180.5 kB / 0.9034 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/1.133, allocations: 396.4 kB / 0.9038 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/1.133, allocations: 104.6 kB / 0.9039 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/1.133, allocations: 110.1 kB / 0.904 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-05/1.133, allocations: 183.6 kB / 0.9042 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/1.133, allocations: 180 kB / 0.9044 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/1.133, allocations: 177.7 kB / 0.9045 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-05/1.133, allocations: 178.7 kB / 0.9047 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.123e-05/1.133, allocations: 314.3 kB / 0.905 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/1.133, allocations: 184.5 kB / 0.9052 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/1.133, allocations: 182.4 kB / 0.9053 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.544e-05/1.133, allocations: 108.9 kB / 0.9054 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/1.133, allocations: 179.8 kB / 0.9056 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.133, allocations: 102.7 kB / 0.9057 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5e-05/1.133, allocations: 97.33 kB / 0.9058 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.352e-06/1.133, allocations: 0.6562 kB / 0.9058 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001395/1.135, allocations: 335.3 kB / 0.9061 GB, free: 121.5 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.001447/1.136, allocations: 1.213 MB / 0.9073 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.568e-05/1.136, allocations: 38.52 kB / 0.9074 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.136, allocations: 0 / 0.9074 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.136, allocations: 4.703 kB / 0.9074 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.136, allocations: 0.5374 MB / 0.9079 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/1.137, allocations: 342.2 kB / 0.9082 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/1.137, allocations: 0.6903 MB / 0.9089 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.413e-05/1.137, allocations: 0 / 0.9089 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/1.137, allocations: 14.56 kB / 0.9089 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/1.137, allocations: 1.094 kB / 0.9089 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/1.167, allocations: 6.287 MB / 0.915 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/1.167, allocations: 267.7 kB / 0.9153 GB, free: 118.3 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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_functions.c:817: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_InternalResistancesTwoUTube_functions.o] Error 1