Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.9741/0.9741, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 180.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 94.62 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 267.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.569e-05, allocations: 8 kB / 0.6767 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4772, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9476/1.425, allocations: 383.5 MB / 1.132 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.425, allocations: 126.1 kB / 1.132 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.986/3.412, allocations: 481.7 MB / 1.603 GB, free: 112 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/3.412, allocations: 3.938 kB / 1.603 GB, free: 112 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001821/3.412, allocations: 44.83 kB / 1.603 GB, free: 112 MB / 0.698 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.00513/3.417, allocations: 1.933 MB / 1.604 GB, free: 110 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/3.417, allocations: 8.031 kB / 1.604 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006585/3.418, allocations: 208.8 kB / 1.605 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/3.421, allocations: 1.7 MB / 1.606 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/3.421, allocations: 33.88 kB / 1.606 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/3.421, allocations: 68 kB / 1.606 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001471/3.423, allocations: 0.7148 MB / 1.607 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/3.425, allocations: 0.9081 MB / 1.608 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/3.425, allocations: 0 / 1.608 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/3.425, allocations: 0 / 1.608 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/3.425, allocations: 28 kB / 1.608 GB, free: 106.3 MB / 0.698 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.008437/3.433, allocations: 6.249 MB / 1.614 GB, free: 99.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/3.434, allocations: 0.5009 MB / 1.615 GB, free: 99.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/3.434, allocations: 315.7 kB / 1.615 GB, free: 98.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009624/3.435, allocations: 1.27 MB / 1.616 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/3.435, allocations: 43.12 kB / 1.616 GB, free: 97.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.597e-06/3.435, allocations: 0 / 1.616 GB, free: 97.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.00191/3.437, allocations: 0.7512 MB / 1.617 GB, free: 96.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/3.437, allocations: 85.67 kB / 1.617 GB, free: 96.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/3.439, allocations: 1.129 MB / 1.618 GB, free: 95.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/3.439, allocations: 31.55 kB / 1.618 GB, free: 95.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/3.439, allocations: 0.7155 MB / 1.619 GB, free: 94.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/3.44, allocations: 236.5 kB / 1.619 GB, free: 94.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/3.44, allocations: 0 / 1.619 GB, free: 94.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001025/3.44, allocations: 337.9 kB / 1.619 GB, free: 93.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/3.44, allocations: 250.6 kB / 1.62 GB, free: 93.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/3.441, allocations: 471.4 kB / 1.62 GB, free: 93.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/3.442, allocations: 418.5 kB / 1.621 GB, free: 92.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/3.442, allocations: 3.031 kB / 1.621 GB, free: 92.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001831/3.444, allocations: 0.9737 MB / 1.621 GB, free: 91.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003007/3.444, allocations: 1.336 MB / 1.623 GB, free: 90.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/3.444, allocations: 11.98 kB / 1.623 GB, free: 90.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/3.444, allocations: 71.69 kB / 1.623 GB, free: 90.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/3.445, allocations: 175.7 kB / 1.623 GB, free: 89.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/3.447, allocations: 2.881 MB / 1.626 GB, free: 86.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/3.448, allocations: 104 kB / 1.626 GB, free: 86.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/3.448, allocations: 43.98 kB / 1.626 GB, free: 86.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/3.448, allocations: 5.719 kB / 1.626 GB, free: 86.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/3.45, allocations: 0.7921 MB / 1.627 GB, free: 85.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/3.45, allocations: 10.47 kB / 1.627 GB, free: 85.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/3.45, allocations: 61.69 kB / 1.627 GB, free: 85.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/3.45, allocations: 183.7 kB / 1.627 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/3.452, allocations: 2.882 MB / 1.63 GB, free: 82.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/3.453, allocations: 90.44 kB / 1.63 GB, free: 82.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/3.453, allocations: 42.17 kB / 1.63 GB, free: 82.45 MB / 0.698 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.0002334/3.453, allocations: 116.8 kB / 1.63 GB, free: 82.33 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001601/3.455, allocations: 0.7436 MB / 1.631 GB, free: 81.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/3.455, allocations: 146.1 kB / 1.631 GB, free: 81.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/3.457, allocations: 0.964 MB / 1.632 GB, free: 80.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/3.457, allocations: 10.03 kB / 1.632 GB, free: 80.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/3.457, allocations: 0 / 1.632 GB, free: 80.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/3.458, allocations: 0.7858 MB / 1.633 GB, free: 79.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/3.463, allocations: 2.481 MB / 1.635 GB, free: 77.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/3.463, allocations: 4 kB / 1.635 GB, free: 77.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/3.463, allocations: 139.5 kB / 1.635 GB, free: 76.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/3.463, allocations: 73 kB / 1.635 GB, free: 76.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/3.463, allocations: 8 kB / 1.635 GB, free: 76.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/3.465, allocations: 2.866 MB / 1.638 GB, free: 73.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/3.465, allocations: 7.953 kB / 1.638 GB, free: 73.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/3.467, allocations: 1.531 MB / 1.64 GB, free: 72.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/3.468, allocations: 351.1 kB / 1.64 GB, free: 71.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/3.468, allocations: 7.625 kB / 1.64 GB, free: 71.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/3.469, allocations: 39.94 kB / 1.64 GB, free: 71.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/3.469, allocations: 61.81 kB / 1.64 GB, free: 71.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/3.469, allocations: 35.98 kB / 1.64 GB, free: 71.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001203/3.47, allocations: 0.85 MB / 1.641 GB, free: 70.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/3.47, allocations: 0 / 1.641 GB, free: 70.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004409/3.475, allocations: 1.201 MB / 1.642 GB, free: 69.52 MB / 0.698 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.005517/3.48, allocations: 4.049 MB / 1.646 GB, free: 65.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002308/3.483, allocations: 1.592 MB / 1.648 GB, free: 63.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/3.483, allocations: 4 kB / 1.648 GB, free: 63.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/3.483, allocations: 0.5484 MB / 1.648 GB, free: 63.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/3.487, allocations: 0.6129 MB / 1.649 GB, free: 62.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/3.494, allocations: 2.7 MB / 1.651 GB, free: 59.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/3.494, allocations: 1.302 MB / 1.653 GB, free: 58.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001801/3.496, allocations: 449.2 kB / 1.653 GB, free: 58.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/3.497, allocations: 0.593 MB / 1.654 GB, free: 57.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/3.497, allocations: 0 / 1.654 GB, free: 57.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09946/3.596, allocations: 47.71 MB / 1.7 GB, free: 10.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/3.597, allocations: 239.6 kB / 1.7 GB, free: 10.31 MB / 0.698 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1