Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 180.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 96.45 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.839e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.204, allocations: 106.3 MB / 0.8854 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.655, allocations: 406.2 MB / 1.282 GB, free: 321.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.655, allocations: 123.2 kB / 1.282 GB, free: 321.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.454/3.109, allocations: 472.4 MB / 1.743 GB, free: 175 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/3.109, allocations: 0 / 1.743 GB, free: 175 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001684/3.109, allocations: 48.27 kB / 1.743 GB, free: 175 MB / 0.8698 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.004999/3.114, allocations: 1.937 MB / 1.745 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/3.114, allocations: 14.33 kB / 1.745 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005708/3.115, allocations: 207.9 kB / 1.746 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/3.118, allocations: 1.695 MB / 1.747 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/3.118, allocations: 34.06 kB / 1.747 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/3.118, allocations: 75.48 kB / 1.747 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/3.12, allocations: 0.7206 MB / 1.748 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/3.121, allocations: 0.903 MB / 1.749 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/3.121, allocations: 3.219 kB / 1.749 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/3.121, allocations: 0 / 1.749 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/3.122, allocations: 28.06 kB / 1.749 GB, free: 172.1 MB / 0.8698 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.007128/3.129, allocations: 6.246 MB / 1.755 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/3.129, allocations: 0.5079 MB / 1.756 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/3.13, allocations: 321.6 kB / 1.756 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009726/3.131, allocations: 1.265 MB / 1.757 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/3.131, allocations: 39 kB / 1.757 GB, free: 165 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 3.166e-06/3.131, allocations: 0 / 1.757 GB, free: 165 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.001772/3.133, allocations: 0.7469 MB / 1.758 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/3.133, allocations: 89.48 kB / 1.758 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/3.134, allocations: 1.12 MB / 1.759 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/3.134, allocations: 29.64 kB / 1.759 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/3.135, allocations: 0.723 MB / 1.76 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/3.135, allocations: 229.4 kB / 1.76 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/3.135, allocations: 2.953 kB / 1.76 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/3.135, allocations: 349.5 kB / 1.76 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/3.136, allocations: 244.8 kB / 1.761 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/3.136, allocations: 474.2 kB / 1.761 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/3.137, allocations: 421 kB / 1.761 GB, free: 162 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/3.137, allocations: 0 / 1.761 GB, free: 162 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00186/3.139, allocations: 0.9748 MB / 1.762 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003428/3.139, allocations: 1.338 MB / 1.764 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/3.139, allocations: 6.562 kB / 1.764 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/3.14, allocations: 69.31 kB / 1.764 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/3.14, allocations: 183.9 kB / 1.764 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/3.142, allocations: 2.871 MB / 1.767 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/3.143, allocations: 110.4 kB / 1.767 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/3.143, allocations: 35.73 kB / 1.767 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/3.143, allocations: 3.875 kB / 1.767 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/3.145, allocations: 0.7999 MB / 1.768 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/3.145, allocations: 13.61 kB / 1.768 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/3.145, allocations: 60.05 kB / 1.768 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/3.146, allocations: 178.8 kB / 1.768 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/3.147, allocations: 2.885 MB / 1.771 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/3.148, allocations: 86.48 kB / 1.771 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/3.149, allocations: 42.77 kB / 1.771 GB, free: 153.8 MB / 0.8698 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.0002205/3.149, allocations: 123.7 kB / 1.771 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001508/3.15, allocations: 0.7421 MB / 1.772 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/3.15, allocations: 142.2 kB / 1.772 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/3.152, allocations: 0.9466 MB / 1.773 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/3.152, allocations: 9.578 kB / 1.773 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/3.152, allocations: 10.25 kB / 1.773 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/3.154, allocations: 0.7918 MB / 1.773 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/3.158, allocations: 2.482 MB / 1.776 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/3.158, allocations: 3.781 kB / 1.776 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/3.159, allocations: 137.8 kB / 1.776 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/3.159, allocations: 68.38 kB / 1.776 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/3.159, allocations: 14.89 kB / 1.776 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/3.161, allocations: 2.871 MB / 1.779 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/3.161, allocations: 11.47 kB / 1.779 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/3.163, allocations: 1.526 MB / 1.78 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/3.163, allocations: 358.9 kB / 1.781 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/3.164, allocations: 3.219 kB / 1.781 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/3.164, allocations: 34.03 kB / 1.781 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/3.164, allocations: 59.59 kB / 1.781 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/3.164, allocations: 29.27 kB / 1.781 GB, free: 146 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001178/3.166, allocations: 0.8534 MB / 1.782 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/3.166, allocations: 2.969 kB / 1.782 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003972/3.17, allocations: 1.201 MB / 1.783 GB, free: 145.2 MB / 0.8698 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.005093/3.175, allocations: 4.053 MB / 1.787 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002113/3.177, allocations: 1.583 MB / 1.788 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/3.177, allocations: 2.5 kB / 1.788 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/3.177, allocations: 0.5572 MB / 1.789 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/3.18, allocations: 0.6073 MB / 1.79 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/3.186, allocations: 2.702 MB / 1.792 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/3.187, allocations: 1.311 MB / 1.793 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0017/3.188, allocations: 453.8 kB / 1.794 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/3.189, allocations: 0.5939 MB / 1.794 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/3.189, allocations: 0 / 1.794 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08729/3.276, allocations: 47.65 MB / 1.841 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/3.277, allocations: 239.9 kB / 1.841 GB, free: 93.89 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:953:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1