Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 192.4 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008786, allocations: 86.53 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.25e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2085, allocations: 106.3 MB / 0.8854 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.624, allocations: 423.1 MB / 1.299 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.625, allocations: 125.2 kB / 1.299 GB, free: 318.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.766/5.391, allocations: 1.015 GB / 2.313 GB, free: 111 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.655e-06/5.391, allocations: 2.516 kB / 2.313 GB, free: 111 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006899/5.392, allocations: 82.31 kB / 2.313 GB, free: 111 MB / 0.9011 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.01294/5.405, allocations: 3.059 MB / 2.316 GB, free: 110 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/5.405, allocations: 9.438 kB / 2.316 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/5.407, allocations: 367.5 kB / 2.317 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009625/5.417, allocations: 2.903 MB / 2.32 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/5.417, allocations: 66 kB / 2.32 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009573/5.418, allocations: 131.9 kB / 2.32 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005507/5.424, allocations: 1.455 MB / 2.321 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/5.429, allocations: 1.787 MB / 2.323 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/5.43, allocations: 11.09 kB / 2.323 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004209/5.43, allocations: 0 / 2.323 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/5.43, allocations: 51.28 kB / 2.323 GB, free: 109.1 MB / 0.9011 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.01726/5.447, allocations: 8.456 MB / 2.331 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/5.449, allocations: 1.267 MB / 2.333 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/5.45, allocations: 0.7701 MB / 2.333 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/5.452, allocations: 2.922 MB / 2.336 GB, free: 103 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/5.452, allocations: 52.92 kB / 2.336 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 3.918e-06/5.452, allocations: 0 / 2.336 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.004066/5.456, allocations: 1.641 MB / 2.338 GB, free: 102.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/5.456, allocations: 95.14 kB / 2.338 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/5.459, allocations: 1.683 MB / 2.34 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/5.459, allocations: 29.61 kB / 2.34 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000773/5.46, allocations: 1.205 MB / 2.341 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/5.46, allocations: 0.5037 MB / 2.341 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/5.46, allocations: 0 / 2.341 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001007/5.46, allocations: 364 kB / 2.342 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/5.461, allocations: 0.4928 MB / 2.342 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/5.462, allocations: 0.8338 MB / 2.343 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/5.464, allocations: 0.8153 MB / 2.344 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/5.464, allocations: 0 / 2.344 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003901/5.468, allocations: 1.982 MB / 2.346 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007359/5.468, allocations: 2.694 MB / 2.348 GB, free: 97.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/5.469, allocations: 9.188 kB / 2.348 GB, free: 97.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/5.469, allocations: 208.4 kB / 2.348 GB, free: 97.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/5.47, allocations: 353.4 kB / 2.349 GB, free: 97.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/5.474, allocations: 6.882 MB / 2.355 GB, free: 91.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/5.478, allocations: 218.8 kB / 2.356 GB, free: 91.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/5.478, allocations: 70.2 kB / 2.356 GB, free: 91.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/5.479, allocations: 4.844 kB / 2.356 GB, free: 91.52 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004222/5.483, allocations: 1.674 MB / 2.357 GB, free: 91.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/5.483, allocations: 10.34 kB / 2.357 GB, free: 91.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/5.483, allocations: 201 kB / 2.358 GB, free: 91.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/5.484, allocations: 347 kB / 2.358 GB, free: 91.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/5.489, allocations: 8.648 MB / 2.366 GB, free: 83.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/5.492, allocations: 206.4 kB / 2.367 GB, free: 83.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/5.492, allocations: 73.92 kB / 2.367 GB, free: 83.66 MB / 0.9011 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.0004112/5.493, allocations: 138.1 kB / 2.367 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003967/5.497, allocations: 1.607 MB / 2.368 GB, free: 83.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/5.497, allocations: 244.8 kB / 2.369 GB, free: 83.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/5.501, allocations: 2.005 MB / 2.371 GB, free: 83 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/5.501, allocations: 19.34 kB / 2.371 GB, free: 83 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/5.501, allocations: 6.203 kB / 2.371 GB, free: 83 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002687/5.504, allocations: 1.687 MB / 2.372 GB, free: 82.65 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/5.511, allocations: 4.253 MB / 2.376 GB, free: 82.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/5.511, allocations: 3.75 kB / 2.376 GB, free: 82.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/5.512, allocations: 273.1 kB / 2.377 GB, free: 82.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/5.513, allocations: 191.4 kB / 2.377 GB, free: 82 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/5.513, allocations: 17.7 kB / 2.377 GB, free: 82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/5.517, allocations: 6.859 MB / 2.384 GB, free: 75.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/5.517, allocations: 3.938 kB / 2.384 GB, free: 75.84 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/5.521, allocations: 2.726 MB / 2.386 GB, free: 75.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/5.523, allocations: 0.5548 MB / 2.387 GB, free: 75.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/5.523, allocations: 2.938 kB / 2.387 GB, free: 75.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/5.524, allocations: 127.2 kB / 2.387 GB, free: 75.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/5.524, allocations: 107.8 kB / 2.387 GB, free: 75.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/5.524, allocations: 55.16 kB / 2.387 GB, free: 75.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00185/5.526, allocations: 1.257 MB / 2.388 GB, free: 74.92 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/5.526, allocations: 4.969 kB / 2.388 GB, free: 74.92 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006585/5.533, allocations: 1.973 MB / 2.39 GB, free: 74.57 MB / 0.9011 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.008053/5.541, allocations: 5.146 MB / 2.395 GB, free: 72.96 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004482/5.545, allocations: 3.424 MB / 2.399 GB, free: 71.81 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/5.545, allocations: 4.766 kB / 2.399 GB, free: 71.81 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/5.547, allocations: 1.163 MB / 2.4 GB, free: 71.39 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006082/5.553, allocations: 1.133 MB / 2.401 GB, free: 71.38 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/5.564, allocations: 4.689 MB / 2.405 GB, free: 70.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/5.565, allocations: 1.795 MB / 2.407 GB, free: 69.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00309/5.568, allocations: 0.7277 MB / 2.408 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/5.569, allocations: 1.094 MB / 2.409 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/5.569, allocations: 0 / 2.409 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/5.709, allocations: 80.35 MB / 2.487 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/5.709, allocations: 247.4 kB / 2.488 GB, free: 64.51 MB / 0.9011 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=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_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. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_maint_7_0_x_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. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1098: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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1