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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.7096/0.7096, allocations: 127.4 MB / 134.9 MB, free: 3.719 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.001078/0.001078, allocations: 176.8 kB / 164.7 MB, free: 6.516 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.753/1.753, allocations: 205.2 MB / 399.5 MB, free: 5.875 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.0008694/0.0008693, allocations: 92.58 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.311e-05, allocations: 4 kB / 0.5467 GB, free: 60.33 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1889, allocations: 76.76 MB / 0.6217 GB, free: 15.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6444/0.8334, allocations: 124.4 MB / 0.7432 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.8338, allocations: 124.4 kB / 0.7433 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04563/0.8794, allocations: 15.2 MB / 0.7581 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.707e-06/0.8795, allocations: 4 kB / 0.7581 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.8795, allocations: 4 kB / 0.7581 GB, free: 10.08 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.001186/0.8807, allocations: 0.5554 MB / 0.7587 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.8807, allocations: 11.97 kB / 0.7587 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.8808, allocations: 86.38 kB / 0.7588 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.881, allocations: 254.8 kB / 0.759 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.8811, allocations: 150.6 kB / 0.7592 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.8812, allocations: 154.6 kB / 0.7593 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/0.8813, allocations: 150.6 kB / 0.7594 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.082e-05/0.8813, allocations: 101 kB / 0.7595 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.8814, allocations: 83.22 kB / 0.7596 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.8815, allocations: 158.5 kB / 0.7598 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.8815, allocations: 153.6 kB / 0.7599 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.8819, allocations: 444.5 kB / 0.7603 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.919e-05/0.882, allocations: 165.1 kB / 0.7605 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.882, allocations: 80.14 kB / 0.7606 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.8821, allocations: 75.28 kB / 0.7606 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.8821, allocations: 112.7 kB / 0.7608 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.8821, allocations: 0 / 0.7608 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.092e-05/0.8822, allocations: 37.55 kB / 0.7608 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8823, allocations: 52.34 kB / 0.7608 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.8824, allocations: 116.6 kB / 0.761 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.8824, allocations: 29.69 kB / 0.761 GB, free: 7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.8825, allocations: 90.64 kB / 0.7611 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.8825, allocations: 0 / 0.7611 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8825, allocations: 4 kB / 0.7611 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8827, allocations: 317 kB / 0.7614 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.8827, allocations: 7.984 kB / 0.7614 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.8827, allocations: 6.875 kB / 0.7614 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.939e-05/0.8828, allocations: 4 kB / 0.7614 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8828, allocations: 3.938 kB / 0.7614 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.8829, allocations: 53.47 kB / 0.7614 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.883, allocations: 7.938 kB / 0.7615 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.883, allocations: 4 kB / 0.7615 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.883, allocations: 4.062 kB / 0.7615 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.883, allocations: 0 / 0.7615 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.883, allocations: 0 / 0.7615 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.8831, allocations: 0 / 0.7615 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8831, allocations: 4 kB / 0.7615 GB, free: 6.5 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.000118/0.8832, allocations: 192.1 kB / 0.7616 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.881e-05/0.8833, allocations: 138.6 kB / 0.7618 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.8834, allocations: 108.9 kB / 0.7619 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.8834, allocations: 109 kB / 0.762 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.686e-05/0.8835, allocations: 176.3 kB / 0.7622 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-05/0.8836, allocations: 187.3 kB / 0.7623 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-05/0.8837, allocations: 184.2 kB / 0.7625 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.8839, allocations: 389.2 kB / 0.7629 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-05/0.884, allocations: 117 kB / 0.763 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.884, allocations: 104.4 kB / 0.7631 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-05/0.8841, allocations: 176.3 kB / 0.7633 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.851e-05/0.8842, allocations: 184.2 kB / 0.7634 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-05/0.8843, allocations: 180.3 kB / 0.7636 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.094e-05/0.8844, allocations: 176.3 kB / 0.7638 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.8846, allocations: 315.5 kB / 0.7641 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.8847, allocations: 186 kB / 0.7643 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.8848, allocations: 185.2 kB / 0.7644 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.8848, allocations: 101 kB / 0.7645 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.885, allocations: 180.3 kB / 0.7647 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.885, allocations: 104.9 kB / 0.7648 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.8851, allocations: 100.2 kB / 0.7649 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8851, allocations: 0 / 0.7649 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001227/0.8863, allocations: 322.1 kB / 0.7652 GB, free: 2.48 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.001633/0.888, allocations: 1.21 MB / 0.7664 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.8881, allocations: 37.14 kB / 0.7664 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8881, allocations: 0 / 0.7664 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.8881, allocations: 4 kB / 0.7664 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.8886, allocations: 0.5332 MB / 0.7669 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.8892, allocations: 340.1 kB / 0.7673 GB, free: 328 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.8896, allocations: 0.6884 MB / 0.7679 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.8896, allocations: 0 / 0.7679 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.8897, allocations: 14.62 kB / 0.768 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/0.8897, allocations: 4 kB / 0.768 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.9205, allocations: 6.171 MB / 0.774 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/0.9209, allocations: 267.2 kB / 0.7742 GB, free: 9.191 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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_functions.o] Error 1