Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.905/1.905, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001717, allocations: 172.9 kB / 361.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008621, allocations: 86.95 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.296e-05, allocations: 4 kB / 0.8519 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7344, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.881, allocations: 411.5 MB / 1.366 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.882, allocations: 123.9 kB / 1.366 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.647/3.529, allocations: 472.4 MB / 1.828 GB, free: 140 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.304e-06/3.529, allocations: 0 / 1.828 GB, free: 140 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002951/3.529, allocations: 47.67 kB / 1.828 GB, free: 140 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00563/3.535, allocations: 1.922 MB / 1.83 GB, free: 138 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/3.535, allocations: 8.031 kB / 1.83 GB, free: 138 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/3.536, allocations: 213.5 kB / 1.83 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/3.541, allocations: 1.692 MB / 1.832 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/3.541, allocations: 39.95 kB / 1.832 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/3.541, allocations: 68 kB / 1.832 GB, free: 136 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/3.543, allocations: 0.7148 MB / 1.832 GB, free: 135.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/3.545, allocations: 0.9014 MB / 1.833 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/3.545, allocations: 3.938 kB / 1.833 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/3.545, allocations: 8 kB / 1.833 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/3.545, allocations: 24 kB / 1.833 GB, free: 134.3 MB / 0.9323 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.007291/3.552, allocations: 6.241 MB / 1.839 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/3.553, allocations: 0.5136 MB / 1.84 GB, free: 127 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/3.554, allocations: 316.1 kB / 1.84 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/3.554, allocations: 1.27 MB / 1.841 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/3.554, allocations: 43.12 kB / 1.841 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 2.935e-06/3.555, allocations: 0 / 1.841 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.001679/3.556, allocations: 0.741 MB / 1.842 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/3.556, allocations: 93.59 kB / 1.842 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/3.558, allocations: 1.125 MB / 1.843 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/3.558, allocations: 29.7 kB / 1.843 GB, free: 123 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/3.558, allocations: 0.7232 MB / 1.844 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/3.558, allocations: 236.6 kB / 1.844 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/3.558, allocations: 0 / 1.844 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/3.558, allocations: 337.9 kB / 1.845 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/3.559, allocations: 242.6 kB / 1.845 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/3.559, allocations: 471.9 kB / 1.845 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009767/3.56, allocations: 424.2 kB / 1.846 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/3.56, allocations: 0 / 1.846 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00174/3.562, allocations: 0.9803 MB / 1.847 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/3.562, allocations: 1.337 MB / 1.848 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/3.562, allocations: 4 kB / 1.848 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/3.562, allocations: 65.69 kB / 1.848 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/3.563, allocations: 187.7 kB / 1.848 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/3.565, allocations: 2.886 MB / 1.851 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/3.566, allocations: 107.3 kB / 1.851 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/3.566, allocations: 32 kB / 1.851 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/3.566, allocations: 4.625 kB / 1.851 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/3.568, allocations: 0.8046 MB / 1.852 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/3.568, allocations: 4 kB / 1.852 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/3.568, allocations: 65.69 kB / 1.852 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/3.568, allocations: 171.7 kB / 1.852 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/3.57, allocations: 2.883 MB / 1.855 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/3.571, allocations: 91.38 kB / 1.855 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/3.571, allocations: 36 kB / 1.855 GB, free: 110.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/3.571, allocations: 126.9 kB / 1.855 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001452/3.573, allocations: 0.7448 MB / 1.856 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/3.573, allocations: 134.3 kB / 1.856 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/3.575, allocations: 0.9644 MB / 1.857 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/3.575, allocations: 11.98 kB / 1.857 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/3.575, allocations: 0 / 1.857 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/3.576, allocations: 0.7972 MB / 1.858 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/3.58, allocations: 2.479 MB / 1.86 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/3.58, allocations: 4 kB / 1.86 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/3.58, allocations: 131.8 kB / 1.86 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/3.581, allocations: 65.86 kB / 1.86 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/3.581, allocations: 15.98 kB / 1.86 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/3.582, allocations: 2.868 MB / 1.863 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/3.582, allocations: 7.938 kB / 1.863 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/3.584, allocations: 1.529 MB / 1.865 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/3.585, allocations: 351 kB / 1.865 GB, free: 99.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/3.585, allocations: 4 kB / 1.865 GB, free: 99.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/3.586, allocations: 39.81 kB / 1.865 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/3.586, allocations: 64.44 kB / 1.865 GB, free: 99.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/3.586, allocations: 27.98 kB / 1.865 GB, free: 99.36 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001214/3.587, allocations: 0.8556 MB / 1.866 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/3.587, allocations: 0 / 1.866 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003777/3.591, allocations: 1.193 MB / 1.867 GB, free: 97.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00495/3.596, allocations: 4.058 MB / 1.871 GB, free: 93.22 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002128/3.598, allocations: 1.585 MB / 1.873 GB, free: 91.59 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/3.598, allocations: 0 / 1.873 GB, free: 91.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005758/3.599, allocations: 0.5534 MB / 1.873 GB, free: 91.02 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/3.602, allocations: 0.616 MB / 1.874 GB, free: 90.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/3.608, allocations: 2.699 MB / 1.877 GB, free: 87.62 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/3.608, allocations: 1.307 MB / 1.878 GB, free: 86.28 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001664/3.61, allocations: 456.5 kB / 1.878 GB, free: 85.83 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/3.611, allocations: 0.5891 MB / 1.879 GB, free: 85.24 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/3.611, allocations: 4 kB / 1.879 GB, free: 85.24 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08533/3.696, allocations: 47.64 MB / 1.925 GB, free: 37.86 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/3.696, allocations: 239.4 kB / 1.926 GB, free: 37.57 MB / 0.9323 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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:953: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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1