Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001621/0.001621, allocations: 172.9 kB / 366.7 MB, free: 1.637 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.87/1.87, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008864/0.0008865, allocations: 97.38 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.166e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7411, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.848, allocations: 412.5 MB / 1.376 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.848, allocations: 119.7 kB / 1.376 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.613/3.461, allocations: 472.4 MB / 1.838 GB, free: 154.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/3.461, allocations: 3.938 kB / 1.838 GB, free: 154.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002703/3.462, allocations: 42.97 kB / 1.838 GB, free: 154.7 MB / 0.948 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.006142/3.468, allocations: 1.946 MB / 1.84 GB, free: 152.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/3.468, allocations: 11.98 kB / 1.84 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/3.469, allocations: 212.8 kB / 1.84 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/3.474, allocations: 1.686 MB / 1.841 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/3.474, allocations: 36 kB / 1.841 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/3.474, allocations: 75.94 kB / 1.842 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/3.475, allocations: 0.7149 MB / 1.842 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/3.477, allocations: 0.9014 MB / 1.843 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/3.477, allocations: 4 kB / 1.843 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/3.477, allocations: 0 / 1.843 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/3.477, allocations: 31.94 kB / 1.843 GB, free: 149 MB / 0.948 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.007428/3.484, allocations: 6.245 MB / 1.849 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/3.485, allocations: 0.5089 MB / 1.85 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/3.485, allocations: 317.7 kB / 1.85 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/3.486, allocations: 1.27 MB / 1.851 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/3.486, allocations: 47.11 kB / 1.851 GB, free: 139.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.006e-06/3.486, allocations: 0 / 1.851 GB, free: 139.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001689/3.488, allocations: 0.741 MB / 1.852 GB, free: 139 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/3.488, allocations: 85.67 kB / 1.852 GB, free: 138.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/3.489, allocations: 1.121 MB / 1.853 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/3.489, allocations: 25.7 kB / 1.853 GB, free: 137.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/3.49, allocations: 0.7348 MB / 1.854 GB, free: 137 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/3.49, allocations: 224.6 kB / 1.854 GB, free: 136.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/3.49, allocations: 0 / 1.854 GB, free: 136.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/3.49, allocations: 345.9 kB / 1.855 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/3.49, allocations: 246.6 kB / 1.855 GB, free: 136.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/3.491, allocations: 477.3 kB / 1.855 GB, free: 135.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/3.492, allocations: 420.2 kB / 1.856 GB, free: 135.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/3.492, allocations: 0 / 1.856 GB, free: 135.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001767/3.494, allocations: 0.9803 MB / 1.857 GB, free: 134.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/3.494, allocations: 1.333 MB / 1.858 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/3.494, allocations: 8 kB / 1.858 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/3.494, allocations: 69.62 kB / 1.858 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/3.495, allocations: 183.8 kB / 1.858 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/3.497, allocations: 2.874 MB / 1.861 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/3.498, allocations: 103.3 kB / 1.861 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/3.498, allocations: 43.98 kB / 1.861 GB, free: 129.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/3.498, allocations: 0 / 1.861 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/3.5, allocations: 0.8007 MB / 1.862 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/3.5, allocations: 11.94 kB / 1.862 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/3.5, allocations: 65.62 kB / 1.862 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/3.5, allocations: 175.7 kB / 1.862 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/3.502, allocations: 2.887 MB / 1.865 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/3.503, allocations: 91.38 kB / 1.865 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/3.503, allocations: 39.98 kB / 1.865 GB, free: 125 MB / 0.948 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.0002219/3.503, allocations: 120.8 kB / 1.865 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001534/3.505, allocations: 0.7409 MB / 1.866 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/3.505, allocations: 138.3 kB / 1.866 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/3.507, allocations: 0.9567 MB / 1.867 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/3.507, allocations: 8 kB / 1.867 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/3.507, allocations: 0 / 1.867 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/3.508, allocations: 0.7856 MB / 1.868 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/3.512, allocations: 2.484 MB / 1.87 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/3.512, allocations: 7.938 kB / 1.87 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/3.513, allocations: 135.8 kB / 1.87 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/3.513, allocations: 65.69 kB / 1.87 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/3.513, allocations: 12 kB / 1.87 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/3.515, allocations: 2.875 MB / 1.873 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/3.515, allocations: 4 kB / 1.873 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/3.517, allocations: 1.529 MB / 1.875 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/3.517, allocations: 355 kB / 1.875 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/3.518, allocations: 7.984 kB / 1.875 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/3.518, allocations: 35.88 kB / 1.875 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/3.518, allocations: 60.39 kB / 1.875 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/3.518, allocations: 35.97 kB / 1.875 GB, free: 114.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001083/3.52, allocations: 0.8439 MB / 1.876 GB, free: 113.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/3.52, allocations: 0 / 1.876 GB, free: 113.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00376/3.523, allocations: 1.201 MB / 1.877 GB, free: 112 MB / 0.948 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.00504/3.528, allocations: 4.066 MB / 1.881 GB, free: 107.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002066/3.53, allocations: 1.597 MB / 1.883 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/3.53, allocations: 4 kB / 1.883 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/3.531, allocations: 0.5417 MB / 1.883 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/3.534, allocations: 0.6167 MB / 1.884 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/3.539, allocations: 2.703 MB / 1.886 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/3.54, allocations: 1.303 MB / 1.888 GB, free: 101 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001618/3.542, allocations: 447.1 kB / 1.888 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/3.542, allocations: 0.5912 MB / 1.889 GB, free: 99.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/3.542, allocations: 4 kB / 1.889 GB, free: 99.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08461/3.627, allocations: 47.64 MB / 1.935 GB, free: 52.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/3.627, allocations: 223.9 kB / 1.935 GB, free: 52.27 MB / 0.948 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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from Buildings_8_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_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1