Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.003491/0.00349, allocations: 184.5 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 96.41 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.745e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2464, allocations: 106.3 MB / 0.8841 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.039/2.285, allocations: 423 MB / 1.297 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/2.285, allocations: 123.7 kB / 1.297 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.736/8.022, allocations: 1.014 GB / 2.312 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.315e-06/8.022, allocations: 0 / 2.312 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005602/8.022, allocations: 78.44 kB / 2.312 GB, free: 111.2 MB / 0.9011 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.01277/8.035, allocations: 3.061 MB / 2.315 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/8.035, allocations: 9.781 kB / 2.315 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/8.038, allocations: 374.8 kB / 2.315 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/8.049, allocations: 2.911 MB / 2.318 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/8.05, allocations: 65.66 kB / 2.318 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007634/8.05, allocations: 125.4 kB / 2.318 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005551/8.056, allocations: 1.453 MB / 2.32 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006726/8.063, allocations: 1.786 MB / 2.321 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/8.063, allocations: 6.625 kB / 2.321 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/8.063, allocations: 6.188 kB / 2.321 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/8.063, allocations: 55.58 kB / 2.321 GB, free: 109.3 MB / 0.9011 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.02213/8.085, allocations: 8.442 MB / 2.33 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/8.088, allocations: 1.279 MB / 2.331 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/8.09, allocations: 0.7655 MB / 2.332 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00301/8.093, allocations: 2.922 MB / 2.335 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.232e-05/8.093, allocations: 56.7 kB / 2.335 GB, free: 103 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 5.179e-06/8.093, allocations: 0 / 2.335 GB, free: 103 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.00711/8.1, allocations: 1.639 MB / 2.336 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/8.1, allocations: 89.73 kB / 2.336 GB, free: 102.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/8.105, allocations: 1.689 MB / 2.338 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005211/8.105, allocations: 29.67 kB / 2.338 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/8.107, allocations: 1.212 MB / 2.339 GB, free: 102 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009267/8.108, allocations: 0.4892 MB / 2.34 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/8.108, allocations: 0 / 2.34 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001683/8.108, allocations: 372.1 kB / 2.34 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/8.11, allocations: 493.6 kB / 2.34 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/8.111, allocations: 0.8473 MB / 2.341 GB, free: 101 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/8.115, allocations: 0.8078 MB / 2.342 GB, free: 101 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/8.115, allocations: 3.953 kB / 2.342 GB, free: 101 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008512/8.124, allocations: 1.977 MB / 2.344 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007845/8.125, allocations: 2.695 MB / 2.347 GB, free: 97.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.706e-05/8.125, allocations: 12.73 kB / 2.347 GB, free: 97.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/8.126, allocations: 200.3 kB / 2.347 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/8.128, allocations: 349.1 kB / 2.347 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/8.134, allocations: 6.893 MB / 2.354 GB, free: 91.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/8.139, allocations: 218.3 kB / 2.354 GB, free: 91.62 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/8.139, allocations: 74.77 kB / 2.354 GB, free: 91.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/8.139, allocations: 3.875 kB / 2.354 GB, free: 91.62 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006601/8.146, allocations: 1.669 MB / 2.356 GB, free: 91.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/8.146, allocations: 10.59 kB / 2.356 GB, free: 91.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/8.147, allocations: 199.1 kB / 2.356 GB, free: 91.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/8.15, allocations: 352.9 kB / 2.356 GB, free: 91.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/8.158, allocations: 8.644 MB / 2.365 GB, free: 83.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/8.162, allocations: 207.2 kB / 2.365 GB, free: 83.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005689/8.162, allocations: 73.36 kB / 2.365 GB, free: 83.76 MB / 0.9011 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.0005864/8.163, allocations: 137.7 kB / 2.365 GB, free: 83.65 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006563/8.17, allocations: 1.61 MB / 2.367 GB, free: 83.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/8.171, allocations: 240 kB / 2.367 GB, free: 83.28 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007613/8.179, allocations: 1.999 MB / 2.369 GB, free: 83.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/8.179, allocations: 20.91 kB / 2.369 GB, free: 83.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/8.179, allocations: 3.219 kB / 2.369 GB, free: 83.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005792/8.185, allocations: 1.684 MB / 2.371 GB, free: 82.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/8.199, allocations: 4.268 MB / 2.375 GB, free: 82.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/8.199, allocations: 3.188 kB / 2.375 GB, free: 82.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/8.202, allocations: 267.7 kB / 2.375 GB, free: 82.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/8.202, allocations: 182.5 kB / 2.375 GB, free: 82.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002818/8.203, allocations: 27.16 kB / 2.375 GB, free: 82.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006008/8.209, allocations: 6.852 MB / 2.382 GB, free: 75.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/8.209, allocations: 0 / 2.382 GB, free: 75.94 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009099/8.218, allocations: 2.726 MB / 2.385 GB, free: 75.42 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/8.221, allocations: 0.5504 MB / 2.385 GB, free: 75.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/8.222, allocations: 6.812 kB / 2.385 GB, free: 75.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/8.225, allocations: 130.3 kB / 2.385 GB, free: 75.17 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/8.226, allocations: 105.4 kB / 2.385 GB, free: 75.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/8.226, allocations: 65.67 kB / 2.385 GB, free: 75.16 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003518/8.23, allocations: 1.267 MB / 2.387 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.42e-07/8.23, allocations: 0 / 2.387 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01164/8.242, allocations: 1.965 MB / 2.389 GB, free: 74.67 MB / 0.9011 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.01417/8.256, allocations: 5.14 MB / 2.394 GB, free: 73.06 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00787/8.264, allocations: 3.429 MB / 2.397 GB, free: 71.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/8.264, allocations: 6.156 kB / 2.397 GB, free: 71.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/8.266, allocations: 1.165 MB / 2.398 GB, free: 71.48 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/8.277, allocations: 1.131 MB / 2.399 GB, free: 71.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/8.294, allocations: 4.683 MB / 2.404 GB, free: 70.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/8.296, allocations: 1.802 MB / 2.406 GB, free: 69.45 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005895/8.302, allocations: 0.7311 MB / 2.406 GB, free: 69.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/8.304, allocations: 1.092 MB / 2.407 GB, free: 69.43 MB / 0.9011 GB Notification: Performance of SimCode: time 1.242e-06/8.304, allocations: 0 / 2.407 GB, free: 69.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/8.521, allocations: 80.35 MB / 2.486 GB, free: 64.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/8.522, allocations: 229.2 kB / 2.486 GB, free: 64.5 MB / 0.9011 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_7_0_0_Buildings_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_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); ^ Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1098: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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1