Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7749/0.7749, allocations: 133.6 MB / 141.6 MB, free: 2.961 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008992/0.0008992, allocations: 99.8 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.461e-05, allocations: 4.219 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4975, allocations: 82.31 MB / 0.634 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9243/1.422, allocations: 403.1 MB / 1.028 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.422, allocations: 119.3 kB / 1.028 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.845/6.267, allocations: 1.035 GB / 2.063 GB, free: 50.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/6.267, allocations: 0 / 2.063 GB, free: 50.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002796/6.267, allocations: 85.64 kB / 2.063 GB, free: 50.72 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.00705/6.274, allocations: 3.056 MB / 2.066 GB, free: 47.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/6.274, allocations: 15.97 kB / 2.066 GB, free: 47.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/6.275, allocations: 375.7 kB / 2.067 GB, free: 47.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/6.281, allocations: 2.931 MB / 2.069 GB, free: 44.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/6.281, allocations: 64 kB / 2.069 GB, free: 44.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/6.281, allocations: 128 kB / 2.07 GB, free: 44.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002462/6.283, allocations: 1.449 MB / 2.071 GB, free: 42.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/6.286, allocations: 1.784 MB / 2.073 GB, free: 40.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/6.286, allocations: 8 kB / 2.073 GB, free: 40.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/6.286, allocations: 0 / 2.073 GB, free: 40.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/6.286, allocations: 52 kB / 2.073 GB, free: 40.71 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.01197/6.298, allocations: 8.448 MB / 2.081 GB, free: 32.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/6.3, allocations: 1.279 MB / 2.082 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009706/6.301, allocations: 0.7731 MB / 2.083 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/6.304, allocations: 2.922 MB / 2.086 GB, free: 26.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/6.304, allocations: 51.88 kB / 2.086 GB, free: 26.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 4.939e-06/6.304, allocations: 4 kB / 2.086 GB, free: 26.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.003987/6.308, allocations: 1.641 MB / 2.088 GB, free: 24.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/6.308, allocations: 90.42 kB / 2.088 GB, free: 24.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/6.31, allocations: 1.694 MB / 2.089 GB, free: 22.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/6.31, allocations: 33.64 kB / 2.089 GB, free: 22.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/6.311, allocations: 1.215 MB / 2.091 GB, free: 21.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/6.311, allocations: 0.4926 MB / 2.091 GB, free: 21.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/6.311, allocations: 0 / 2.091 GB, free: 21.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001175/6.311, allocations: 373.9 kB / 2.091 GB, free: 20.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/6.312, allocations: 499.9 kB / 2.092 GB, free: 20.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/6.313, allocations: 0.8347 MB / 2.093 GB, free: 19.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/6.315, allocations: 0.8045 MB / 2.093 GB, free: 18.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/6.315, allocations: 4 kB / 2.093 GB, free: 18.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003494/6.318, allocations: 1.979 MB / 2.095 GB, free: 16.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001123/6.319, allocations: 2.703 MB / 2.098 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/6.319, allocations: 8 kB / 2.098 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/6.32, allocations: 197.1 kB / 2.098 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/6.321, allocations: 351.5 kB / 2.099 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/6.327, allocations: 6.882 MB / 2.105 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/6.33, allocations: 214.4 kB / 2.106 GB, free: 5.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/6.33, allocations: 67.98 kB / 2.106 GB, free: 5.254 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/6.33, allocations: 4 kB / 2.106 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00407/6.334, allocations: 1.676 MB / 2.107 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/6.334, allocations: 12 kB / 2.107 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/6.335, allocations: 207.4 kB / 2.107 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/6.336, allocations: 351.6 kB / 2.108 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/6.343, allocations: 8.655 MB / 2.116 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/6.346, allocations: 198.7 kB / 2.116 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/6.346, allocations: 71.98 kB / 2.116 GB, free: 9.391 MB / 0.7136 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.0004845/6.346, allocations: 151.8 kB / 2.117 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004417/6.351, allocations: 1.603 MB / 2.118 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007499/6.352, allocations: 237.1 kB / 2.118 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/6.356, allocations: 2.007 MB / 2.12 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/6.356, allocations: 19.98 kB / 2.12 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/6.356, allocations: 3.953 kB / 2.12 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/6.36, allocations: 1.685 MB / 2.122 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7029/7.063, allocations: 4.254 MB / 2.126 GB, free: 72.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/7.063, allocations: 3.906 kB / 2.126 GB, free: 72.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/7.064, allocations: 270.6 kB / 2.126 GB, free: 72.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/7.064, allocations: 186.6 kB / 2.127 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/7.065, allocations: 19.17 kB / 2.127 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/7.07, allocations: 6.853 MB / 2.133 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/7.07, allocations: 2.062 kB / 2.133 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/7.076, allocations: 2.72 MB / 2.136 GB, free: 65.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/7.078, allocations: 0.5569 MB / 2.137 GB, free: 65.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/7.078, allocations: 9.922 kB / 2.137 GB, free: 65.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/7.079, allocations: 120.1 kB / 2.137 GB, free: 65.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/7.08, allocations: 105.5 kB / 2.137 GB, free: 65.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/7.08, allocations: 59.44 kB / 2.137 GB, free: 65.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002059/7.082, allocations: 1.269 MB / 2.138 GB, free: 65.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/7.082, allocations: 3.344 kB / 2.138 GB, free: 65.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006513/7.088, allocations: 1.965 MB / 2.14 GB, free: 65.26 MB / 0.7136 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.007897/7.096, allocations: 5.124 MB / 2.145 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004474/7.101, allocations: 3.419 MB / 2.148 GB, free: 62.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.826e-05/7.101, allocations: 3.219 kB / 2.148 GB, free: 62.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/7.102, allocations: 1.168 MB / 2.149 GB, free: 62.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005894/7.108, allocations: 1.142 MB / 2.151 GB, free: 62.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/7.119, allocations: 4.696 MB / 2.155 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/7.12, allocations: 1.809 MB / 2.157 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003062/7.123, allocations: 0.7312 MB / 2.158 GB, free: 60.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/7.124, allocations: 1.097 MB / 2.159 GB, free: 60.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/7.124, allocations: 1.188 kB / 2.159 GB, free: 60.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/7.266, allocations: 80.19 MB / 2.237 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/7.266, allocations: 218.1 kB / 2.237 GB, free: 55.68 MB / 0.7136 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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1320: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: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1