Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 390.5 MB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 170.7 kB / 491.2 MB, free: 1.492 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 87.95 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.086e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.282, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.594, allocations: 442 MB / 1.644 GB, free: 3.852 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.594, allocations: 125.6 kB / 1.644 GB, free: 3.777 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.748/6.342, allocations: 1.059 GB / 2.703 GB, free: 183 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.304e-06/6.342, allocations: 0 / 2.703 GB, free: 183 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004987/6.343, allocations: 81.16 kB / 2.703 GB, free: 183 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01238/6.355, allocations: 3.059 MB / 2.706 GB, free: 181.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/6.355, allocations: 7.781 kB / 2.706 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/6.357, allocations: 378.3 kB / 2.706 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006654/6.364, allocations: 2.927 MB / 2.709 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/6.364, allocations: 63.34 kB / 2.709 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/6.364, allocations: 129.4 kB / 2.71 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002821/6.367, allocations: 1.457 MB / 2.711 GB, free: 181.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/6.37, allocations: 1.78 MB / 2.713 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/6.37, allocations: 6.828 kB / 2.713 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/6.37, allocations: 3.156 kB / 2.713 GB, free: 181 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/6.37, allocations: 49.75 kB / 2.713 GB, free: 181 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/6.384, allocations: 8.446 MB / 2.721 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/6.385, allocations: 1.28 MB / 2.722 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/6.386, allocations: 0.7647 MB / 2.723 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/6.388, allocations: 2.93 MB / 2.726 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/6.388, allocations: 48.38 kB / 2.726 GB, free: 174.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 4.198e-06/6.388, allocations: 0 / 2.726 GB, free: 174.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004083/6.392, allocations: 1.643 MB / 2.727 GB, free: 174.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/6.392, allocations: 92.98 kB / 2.728 GB, free: 174.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/6.395, allocations: 1.695 MB / 2.729 GB, free: 174.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/6.395, allocations: 25.7 kB / 2.729 GB, free: 174.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007994/6.396, allocations: 1.213 MB / 2.73 GB, free: 173.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/6.397, allocations: 0.4988 MB / 2.731 GB, free: 173.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/6.397, allocations: 0 / 2.731 GB, free: 173.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000115/6.397, allocations: 374.3 kB / 2.731 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/6.397, allocations: 496.3 kB / 2.732 GB, free: 173.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/6.398, allocations: 0.8382 MB / 2.733 GB, free: 172.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/6.4, allocations: 0.8172 MB / 2.733 GB, free: 172.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/6.4, allocations: 3.844 kB / 2.733 GB, free: 172.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004474/6.405, allocations: 1.972 MB / 2.735 GB, free: 172.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006758/6.406, allocations: 2.695 MB / 2.738 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/6.406, allocations: 14.69 kB / 2.738 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/6.406, allocations: 196.9 kB / 2.738 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/6.407, allocations: 353.2 kB / 2.738 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/6.411, allocations: 6.882 MB / 2.745 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/6.414, allocations: 215.6 kB / 2.745 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/6.414, allocations: 73.48 kB / 2.745 GB, free: 163.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/6.414, allocations: 6.375 kB / 2.745 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003714/6.418, allocations: 1.671 MB / 2.747 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/6.418, allocations: 7.812 kB / 2.747 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/6.419, allocations: 206.6 kB / 2.747 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/6.42, allocations: 352.7 kB / 2.748 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/6.425, allocations: 8.654 MB / 2.756 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/6.428, allocations: 197.3 kB / 2.756 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/6.428, allocations: 70.61 kB / 2.756 GB, free: 155.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004932/6.429, allocations: 141.8 kB / 2.757 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003954/6.433, allocations: 1.62 MB / 2.758 GB, free: 155.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/6.433, allocations: 238.9 kB / 2.758 GB, free: 155 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/6.438, allocations: 2.003 MB / 2.76 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/6.438, allocations: 20.45 kB / 2.76 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/6.438, allocations: 3.938 kB / 2.76 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/6.441, allocations: 1.682 MB / 2.762 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008399/6.449, allocations: 4.267 MB / 2.766 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/6.449, allocations: 5.688 kB / 2.766 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/6.45, allocations: 269.9 kB / 2.766 GB, free: 153.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/6.451, allocations: 188.3 kB / 2.767 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/6.451, allocations: 22.2 kB / 2.767 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/6.454, allocations: 6.847 MB / 2.773 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/6.454, allocations: 3.688 kB / 2.773 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/6.46, allocations: 2.732 MB / 2.776 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/6.461, allocations: 0.553 MB / 2.776 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/6.462, allocations: 3.938 kB / 2.776 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/6.463, allocations: 125.5 kB / 2.777 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/6.463, allocations: 112.6 kB / 2.777 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/6.463, allocations: 59.75 kB / 2.777 GB, free: 146.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001961/6.465, allocations: 1.269 MB / 2.778 GB, free: 146.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/6.465, allocations: 0 / 2.778 GB, free: 146.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01044/6.476, allocations: 1.952 MB / 2.78 GB, free: 146.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/6.487, allocations: 5.133 MB / 2.785 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00569/6.493, allocations: 3.426 MB / 2.788 GB, free: 143.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/6.493, allocations: 0 / 2.788 GB, free: 143.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/6.495, allocations: 1.167 MB / 2.789 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/6.501, allocations: 1.141 MB / 2.791 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/6.514, allocations: 4.708 MB / 2.795 GB, free: 141.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/6.515, allocations: 1.805 MB / 2.797 GB, free: 141.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003478/6.518, allocations: 0.7284 MB / 2.798 GB, free: 141.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/6.52, allocations: 1.099 MB / 2.799 GB, free: 141.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/6.52, allocations: 5.531 kB / 2.799 GB, free: 141.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/6.662, allocations: 80.2 MB / 2.877 GB, free: 136.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/6.662, allocations: 241.2 kB / 2.877 GB, free: 136.6 MB / 1.167 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=Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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=Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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=Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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); ^ Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1060: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: *** [: Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1