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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7383/0.7383, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001031/0.001031, allocations: 174.8 kB / 164.6 MB, free: 11.62 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.735/1.735, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0008422/0.0008425, allocations: 101.4 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.459e-05, allocations: 6.172 kB / 0.5467 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1787, allocations: 76.77 MB / 0.6217 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6104/0.7891, allocations: 124.8 MB / 0.7436 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.7895, allocations: 122.9 kB / 0.7437 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04825/0.8378, allocations: 15.52 MB / 0.7589 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8378, allocations: 0.75 kB / 0.7589 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.8379, allocations: 0 / 0.7589 GB, free: 113.1 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.001175/0.839, allocations: 0.5588 MB / 0.7594 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.8391, allocations: 11.52 kB / 0.7595 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.8392, allocations: 86.94 kB / 0.7595 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.8393, allocations: 255 kB / 0.7598 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.8393, allocations: 158.6 kB / 0.7599 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.8394, allocations: 150.6 kB / 0.7601 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.649e-05/0.8394, allocations: 158.4 kB / 0.7602 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.635e-05/0.8395, allocations: 104.9 kB / 0.7603 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.8395, allocations: 75.28 kB / 0.7604 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.8396, allocations: 154.5 kB / 0.7605 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.8396, allocations: 154.6 kB / 0.7607 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.8398, allocations: 442 kB / 0.7611 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.8399, allocations: 165.1 kB / 0.7613 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.8399, allocations: 80.14 kB / 0.7613 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.84, allocations: 82.94 kB / 0.7614 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.84, allocations: 109.8 kB / 0.7615 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.84, allocations: 0 / 0.7615 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.333e-05/0.8401, allocations: 41.41 kB / 0.7616 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.8401, allocations: 51.41 kB / 0.7616 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.8402, allocations: 113.9 kB / 0.7617 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.8402, allocations: 25.7 kB / 0.7618 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.8403, allocations: 91.77 kB / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.8403, allocations: 0 / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8403, allocations: 0 / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.8404, allocations: 326.4 kB / 0.7621 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.8404, allocations: 3.906 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.8404, allocations: 7.75 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.8405, allocations: 3.75 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8405, allocations: 0 / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001304/0.8407, allocations: 60.69 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8407, allocations: 7.625 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.8407, allocations: 4 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8407, allocations: 3.75 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-06/0.8407, allocations: 0 / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.8407, allocations: 0 / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.8408, allocations: 0 / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8408, allocations: 0 / 0.7622 GB, free: 109.7 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 7.485e-05/0.8409, allocations: 183.9 kB / 0.7624 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.07e-05/0.8409, allocations: 150.2 kB / 0.7626 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.841, allocations: 112.6 kB / 0.7627 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.841, allocations: 105 kB / 0.7628 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.8411, allocations: 180.2 kB / 0.7629 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.485e-05/0.8411, allocations: 184.2 kB / 0.7631 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/0.8412, allocations: 180.2 kB / 0.7633 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.8413, allocations: 401.5 kB / 0.7637 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.8414, allocations: 105.1 kB / 0.7638 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.8414, allocations: 101 kB / 0.7639 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.8415, allocations: 184.2 kB / 0.764 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.8415, allocations: 180.2 kB / 0.7642 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.79e-05/0.8415, allocations: 180.2 kB / 0.7644 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.224e-05/0.8416, allocations: 184.2 kB / 0.7646 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.8417, allocations: 311.2 kB / 0.7649 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.8418, allocations: 185.7 kB / 0.765 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.8418, allocations: 177.2 kB / 0.7652 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.8419, allocations: 105 kB / 0.7653 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.8419, allocations: 183.9 kB / 0.7655 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.842, allocations: 105 kB / 0.7656 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.842, allocations: 96.81 kB / 0.7657 GB, free: 106 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.842, allocations: 0 / 0.7657 GB, free: 106 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00124/0.8433, allocations: 334.6 kB / 0.766 GB, free: 105.8 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.001408/0.8447, allocations: 1.215 MB / 0.7672 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.8448, allocations: 36.92 kB / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8448, allocations: 6.719 kB / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.8448, allocations: 0 / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.8451, allocations: 0.5302 MB / 0.7677 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.8457, allocations: 339.5 kB / 0.7681 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.8459, allocations: 0.6844 MB / 0.7687 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.706e-05/0.8459, allocations: 3.844 kB / 0.7687 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.846, allocations: 23.36 kB / 0.7687 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.846, allocations: 0 / 0.7687 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.8738, allocations: 6.311 MB / 0.7749 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.8741, allocations: 260.5 kB / 0.7752 GB, free: 97.04 MB / 0.5105 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_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o] Error 1