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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.7198/0.7198, allocations: 127.4 MB / 134.9 MB, free: 3.691 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.001168/0.001168, allocations: 184.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.71/1.71, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.0009733/0.0009733, allocations: 82.11 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.424e-05, allocations: 4 kB / 0.5467 GB, free: 60.32 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 76.77 MB / 0.6217 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5804/0.7337, allocations: 115.3 MB / 0.7343 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.7341, allocations: 122.3 kB / 0.7344 GB, free: 32 kB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_OneUTube.mo:32:26-32:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_OneUTube.mo:34:21-34:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_OneUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02375/0.7579, allocations: 8.058 MB / 0.7423 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7579, allocations: 0 / 0.7423 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7579, allocations: 0 / 0.7423 GB, free: 9.121 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007366/0.7586, allocations: 487.1 kB / 0.7428 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.7587, allocations: 8.031 kB / 0.7428 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.7588, allocations: 11.86 kB / 0.7428 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.759, allocations: 191.5 kB / 0.743 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.759, allocations: 0 / 0.743 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.759, allocations: 0 / 0.743 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.923e-05/0.7591, allocations: 26.86 kB / 0.743 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.7592, allocations: 49.69 kB / 0.7431 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7592, allocations: 0 / 0.7431 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7593, allocations: 3.953 kB / 0.7431 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7593, allocations: 0 / 0.7431 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.7595, allocations: 168.7 kB / 0.7432 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.7596, allocations: 54.56 kB / 0.7433 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.7596, allocations: 28.06 kB / 0.7433 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.7597, allocations: 4.156 kB / 0.7433 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.7597, allocations: 34.38 kB / 0.7433 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7597, allocations: 0 / 0.7433 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002483/0.76, allocations: 93 kB / 0.7434 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.76, allocations: 55.39 kB / 0.7435 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.7602, allocations: 140 kB / 0.7436 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.7602, allocations: 25.7 kB / 0.7436 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.7603, allocations: 98.62 kB / 0.7437 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.7603, allocations: 35.11 kB / 0.7438 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7603, allocations: 0 / 0.7438 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7605, allocations: 322 kB / 0.7441 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.7605, allocations: 23.3 kB / 0.7441 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.7606, allocations: 19.98 kB / 0.7441 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.7606, allocations: 34.78 kB / 0.7441 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7607, allocations: 4.031 kB / 0.7441 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001537/0.7608, allocations: 96.66 kB / 0.7442 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7609, allocations: 4 kB / 0.7442 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.7609, allocations: 0 / 0.7442 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.7609, allocations: 4 kB / 0.7442 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-06/0.7609, allocations: 3.984 kB / 0.7443 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.7609, allocations: 0.875 kB / 0.7443 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.761, allocations: 0 / 0.7443 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.761, allocations: 0 / 0.7443 GB, free: 7.016 MB / 0.4948 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.0001432/0.7612, allocations: 117 kB / 0.7444 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001423/0.7613, allocations: 95.23 kB / 0.7445 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7613, allocations: 7.906 kB / 0.7445 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.7616, allocations: 208.6 kB / 0.7447 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/0.7618, allocations: 176.3 kB / 0.7448 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001188/0.7619, allocations: 184.3 kB / 0.745 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001176/0.762, allocations: 192.2 kB / 0.7452 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.7624, allocations: 414.3 kB / 0.7456 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-05/0.7625, allocations: 101.7 kB / 0.7457 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.7625, allocations: 108.7 kB / 0.7458 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-05/0.7626, allocations: 176.3 kB / 0.746 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.7627, allocations: 192.2 kB / 0.7461 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.561e-05/0.7628, allocations: 184.2 kB / 0.7463 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000124/0.7629, allocations: 176.3 kB / 0.7465 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.7631, allocations: 318.8 kB / 0.7468 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.7633, allocations: 217.3 kB / 0.747 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.7635, allocations: 180.3 kB / 0.7472 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.7636, allocations: 104.9 kB / 0.7473 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7637, allocations: 183.7 kB / 0.7474 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.7638, allocations: 105 kB / 0.7475 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002696/0.764, allocations: 256.2 kB / 0.7478 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7641, allocations: 0 / 0.7478 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001198/0.7653, allocations: 242.5 kB / 0.748 GB, free: 3.043 MB / 0.4948 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.001255/0.7665, allocations: 1.083 MB / 0.7491 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.7667, allocations: 68.94 kB / 0.7491 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7667, allocations: 3.938 kB / 0.7491 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.7667, allocations: 0 / 0.7491 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.7672, allocations: 0.5339 MB / 0.7497 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.768, allocations: 340.3 kB / 0.75 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.7684, allocations: 0.7079 MB / 0.7507 GB, free: 248 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.7684, allocations: 7.984 kB / 0.7507 GB, free: 240 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.7685, allocations: 22.38 kB / 0.7507 GB, free: 228 kB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/0.7685, allocations: 0 / 0.7507 GB, free: 228 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.7965, allocations: 5.308 MB / 0.7559 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.7968, allocations: 251.1 kB / 0.7561 GB, free: 10.68 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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube_functions.c:310: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_MultipoleThermalResistances_OneUTube_functions.o] Error 1