Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8904/0.8904, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 184.8 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009036/0.0009037, allocations: 99.42 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.011e-05, allocations: 4 kB / 0.5467 GB, free: 60.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 76.78 MB / 0.6217 GB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6281/0.8061, allocations: 124.3 MB / 0.7431 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.8065, allocations: 128.9 kB / 0.7432 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04472/0.8512, allocations: 15.19 MB / 0.758 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8512, allocations: 4 kB / 0.758 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.8512, allocations: 3.938 kB / 0.758 GB, free: 10.27 MB / 0.5105 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.0009973/0.8522, allocations: 0.5591 MB / 0.7586 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8523, allocations: 11.98 kB / 0.7586 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.8524, allocations: 88.33 kB / 0.7587 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.8525, allocations: 257.1 kB / 0.7589 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.8526, allocations: 150.6 kB / 0.7591 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.8527, allocations: 154.6 kB / 0.7592 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.82e-05/0.8527, allocations: 150.6 kB / 0.7594 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.591e-05/0.8528, allocations: 108.5 kB / 0.7595 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.8528, allocations: 79.22 kB / 0.7595 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.8529, allocations: 154.5 kB / 0.7597 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.853, allocations: 150.6 kB / 0.7598 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.8532, allocations: 449.2 kB / 0.7603 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/0.8533, allocations: 165.1 kB / 0.7604 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.8534, allocations: 80.14 kB / 0.7605 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.8534, allocations: 75.28 kB / 0.7606 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.8535, allocations: 112.8 kB / 0.7607 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8535, allocations: 4 kB / 0.7607 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.031e-05/0.8536, allocations: 37.53 kB / 0.7607 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.8536, allocations: 51.41 kB / 0.7608 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.8538, allocations: 111.9 kB / 0.7609 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.8538, allocations: 25.7 kB / 0.7609 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.8539, allocations: 90.33 kB / 0.761 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.8539, allocations: 4 kB / 0.761 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.8539, allocations: 0 / 0.761 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.854, allocations: 325.7 kB / 0.7613 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.854, allocations: 3.875 kB / 0.7613 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.8541, allocations: 4 kB / 0.7613 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.8541, allocations: 4 kB / 0.7613 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8541, allocations: 0 / 0.7613 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.8543, allocations: 57.28 kB / 0.7614 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8543, allocations: 4 kB / 0.7614 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.8543, allocations: 4 kB / 0.7614 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8543, allocations: 4.062 kB / 0.7614 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.8544, allocations: 0 / 0.7614 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.8544, allocations: 0 / 0.7614 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.8544, allocations: 0 / 0.7614 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.8544, allocations: 7.938 kB / 0.7614 GB, free: 6.688 MB / 0.5105 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 0.0001068/0.8545, allocations: 184.2 kB / 0.7615 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.899e-05/0.8546, allocations: 138.6 kB / 0.7617 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.144e-05/0.8547, allocations: 112.9 kB / 0.7618 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.8548, allocations: 109 kB / 0.7619 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/0.8548, allocations: 176.3 kB / 0.7621 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.8549, allocations: 191.5 kB / 0.7622 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/0.855, allocations: 180.2 kB / 0.7624 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.8552, allocations: 389.5 kB / 0.7628 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/0.8553, allocations: 113 kB / 0.7629 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.8553, allocations: 101 kB / 0.763 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.273e-05/0.8554, allocations: 184 kB / 0.7632 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.8554, allocations: 180.2 kB / 0.7633 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.8555, allocations: 180.3 kB / 0.7635 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-05/0.8556, allocations: 176.3 kB / 0.7637 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.8557, allocations: 319.4 kB / 0.764 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.8558, allocations: 186 kB / 0.7642 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.8559, allocations: 185.1 kB / 0.7643 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.856, allocations: 101 kB / 0.7644 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.8561, allocations: 180.3 kB / 0.7646 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.8561, allocations: 116.9 kB / 0.7647 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.8562, allocations: 91.19 kB / 0.7648 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8562, allocations: 0 / 0.7648 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001315/0.8575, allocations: 324.8 kB / 0.7651 GB, free: 2.668 MB / 0.5105 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.00163/0.8592, allocations: 1.204 MB / 0.7663 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.8593, allocations: 33.7 kB / 0.7663 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8593, allocations: 3.875 kB / 0.7663 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.8593, allocations: 4 kB / 0.7663 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.8597, allocations: 0.527 MB / 0.7668 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.8602, allocations: 343.7 kB / 0.7672 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.8605, allocations: 0.6884 MB / 0.7678 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.8605, allocations: 0 / 0.7678 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.8606, allocations: 18.31 kB / 0.7679 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.8606, allocations: 4 kB / 0.7679 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.891, allocations: 6.163 MB / 0.7739 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.8914, allocations: 267.1 kB / 0.7741 GB, free: 9.375 MB / 0.5261 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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o] Error 1