Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4966/0.4966, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.0008819, allocations: 83.95 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.188e-05, allocations: 4 kB / 494.6 MB, free: 52.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 72.31 MB / 0.5537 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.232, allocations: 375.9 MB / 0.9208 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.233, allocations: 122 kB / 0.9209 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/2.884, allocations: 487.8 MB / 1.397 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/2.884, allocations: 0 / 1.397 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000338/2.884, allocations: 46.16 kB / 1.397 GB, free: 68.75 MB / 0.5886 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.006116/2.89, allocations: 1.934 MB / 1.399 GB, free: 66.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/2.891, allocations: 12.03 kB / 1.399 GB, free: 66.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/2.892, allocations: 205.6 kB / 1.399 GB, free: 66.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/2.896, allocations: 1.715 MB / 1.401 GB, free: 64.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/2.896, allocations: 32 kB / 1.401 GB, free: 64.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/2.897, allocations: 67.94 kB / 1.401 GB, free: 64.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001415/2.898, allocations: 0.718 MB / 1.402 GB, free: 64.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/2.899, allocations: 0.9053 MB / 1.403 GB, free: 63.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/2.899, allocations: 3.906 kB / 1.403 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/2.9, allocations: 7.938 kB / 1.403 GB, free: 63.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/2.9, allocations: 27.95 kB / 1.403 GB, free: 63.02 MB / 0.5886 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.007772/2.907, allocations: 6.24 MB / 1.409 GB, free: 56.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/2.908, allocations: 0.5164 MB / 1.409 GB, free: 55.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/2.909, allocations: 313.3 kB / 1.41 GB, free: 55.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/2.91, allocations: 1.269 MB / 1.411 GB, free: 53.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/2.91, allocations: 39.12 kB / 1.411 GB, free: 53.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=68): time 4.369e-06/2.91, allocations: 0 / 1.411 GB, free: 53.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68): time 0.001747/2.911, allocations: 0.741 MB / 1.412 GB, free: 53.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/2.912, allocations: 85.67 kB / 1.412 GB, free: 52.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/2.913, allocations: 1.133 MB / 1.413 GB, free: 51.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/2.913, allocations: 29.7 kB / 1.413 GB, free: 51.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/2.913, allocations: 0.7233 MB / 1.414 GB, free: 51.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/2.914, allocations: 232.5 kB / 1.414 GB, free: 50.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/2.914, allocations: 0 / 1.414 GB, free: 50.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/2.914, allocations: 341.9 kB / 1.414 GB, free: 50.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/2.914, allocations: 242.6 kB / 1.414 GB, free: 50.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/2.915, allocations: 467.4 kB / 1.415 GB, free: 49.72 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/2.916, allocations: 424.3 kB / 1.415 GB, free: 49.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.916, allocations: 4 kB / 1.415 GB, free: 49.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001761/2.917, allocations: 0.9687 MB / 1.416 GB, free: 48.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002821/2.918, allocations: 1.343 MB / 1.418 GB, free: 46.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/2.918, allocations: 7.984 kB / 1.418 GB, free: 46.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/2.918, allocations: 77.62 kB / 1.418 GB, free: 46.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/2.918, allocations: 175.7 kB / 1.418 GB, free: 46.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/2.92, allocations: 2.874 MB / 1.421 GB, free: 43.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/2.921, allocations: 103.1 kB / 1.421 GB, free: 43.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/2.921, allocations: 39.98 kB / 1.421 GB, free: 43.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/2.921, allocations: 4 kB / 1.421 GB, free: 43.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/2.923, allocations: 0.8007 MB / 1.422 GB, free: 42.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/2.923, allocations: 7.953 kB / 1.422 GB, free: 42.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/2.923, allocations: 65.58 kB / 1.422 GB, free: 42.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/2.924, allocations: 175.8 kB / 1.422 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/2.925, allocations: 2.874 MB / 1.425 GB, free: 39.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/2.927, allocations: 91.38 kB / 1.425 GB, free: 39.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/2.927, allocations: 43.69 kB / 1.425 GB, free: 39.11 MB / 0.5886 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.0002633/2.927, allocations: 137.3 kB / 1.425 GB, free: 38.98 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001627/2.929, allocations: 0.7448 MB / 1.426 GB, free: 38.22 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/2.929, allocations: 146.2 kB / 1.426 GB, free: 38.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/2.931, allocations: 0.9451 MB / 1.427 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/2.931, allocations: 15.98 kB / 1.427 GB, free: 37.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.931, allocations: 4 kB / 1.427 GB, free: 37.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/2.932, allocations: 0.7856 MB / 1.427 GB, free: 36.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/2.936, allocations: 2.473 MB / 1.43 GB, free: 33.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/2.936, allocations: 4 kB / 1.43 GB, free: 33.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/2.936, allocations: 131.9 kB / 1.43 GB, free: 33.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/2.937, allocations: 77.56 kB / 1.43 GB, free: 33.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/2.937, allocations: 12 kB / 1.43 GB, free: 33.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/2.938, allocations: 2.865 MB / 1.433 GB, free: 30.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/2.938, allocations: 7.938 kB / 1.433 GB, free: 30.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/2.94, allocations: 1.53 MB / 1.434 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/2.941, allocations: 351 kB / 1.435 GB, free: 28.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/2.941, allocations: 12 kB / 1.435 GB, free: 28.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/2.942, allocations: 39.8 kB / 1.435 GB, free: 28.26 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/2.942, allocations: 64.33 kB / 1.435 GB, free: 28.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/2.942, allocations: 31.98 kB / 1.435 GB, free: 28.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001106/2.943, allocations: 0.856 MB / 1.436 GB, free: 27.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.943, allocations: 0 / 1.436 GB, free: 27.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003565/2.946, allocations: 1.193 MB / 1.437 GB, free: 26.11 MB / 0.5886 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.004927/2.951, allocations: 4.046 MB / 1.441 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002071/2.954, allocations: 1.593 MB / 1.442 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.954, allocations: 0 / 1.442 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/2.954, allocations: 0.5456 MB / 1.443 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/2.957, allocations: 0.6052 MB / 1.443 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/2.962, allocations: 2.709 MB / 1.446 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/2.963, allocations: 1.311 MB / 1.447 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001564/2.964, allocations: 442.5 kB / 1.448 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/2.965, allocations: 0.5968 MB / 1.448 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/2.965, allocations: 4 kB / 1.448 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5124/3.477, allocations: 47.43 MB / 1.495 GB, free: 87.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/3.478, allocations: 222.3 kB / 1.495 GB, free: 86.96 MB / 0.6042 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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1175: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: *** [: IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1