Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.528/2.528, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001523/0.001523, allocations: 184.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001192/0.001192, allocations: 92.84 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.788e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.9266, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/2.364, allocations: 428.4 MB / 1.382 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/2.364, allocations: 125.6 kB / 1.382 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.377/8.741, allocations: 1.014 GB / 2.396 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.777e-06/8.741, allocations: 4.406 kB / 2.396 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006951/8.742, allocations: 78.05 kB / 2.396 GB, free: 124.7 MB / 0.9636 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.0162/8.758, allocations: 3.057 MB / 2.399 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.583e-05/8.758, allocations: 10.81 kB / 2.399 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/8.762, allocations: 377.6 kB / 2.4 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/8.776, allocations: 2.906 MB / 2.403 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/8.777, allocations: 67.22 kB / 2.403 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/8.778, allocations: 131 kB / 2.403 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007397/8.785, allocations: 1.454 MB / 2.404 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/8.796, allocations: 1.785 MB / 2.406 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/8.796, allocations: 2.594 kB / 2.406 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008716/8.797, allocations: 2.031 kB / 2.406 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.213e-05/8.797, allocations: 52.12 kB / 2.406 GB, free: 122.7 MB / 0.9636 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.02848/8.826, allocations: 8.44 MB / 2.414 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/8.83, allocations: 1.283 MB / 2.416 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/8.832, allocations: 0.7635 MB / 2.416 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003473/8.836, allocations: 2.928 MB / 2.419 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/8.836, allocations: 47.78 kB / 2.419 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 5.471e-06/8.836, allocations: 0 / 2.419 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.0084/8.844, allocations: 1.643 MB / 2.421 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/8.844, allocations: 94.36 kB / 2.421 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/8.85, allocations: 1.682 MB / 2.422 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005523/8.851, allocations: 29.45 kB / 2.423 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/8.852, allocations: 1.218 MB / 2.424 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/8.853, allocations: 0.494 MB / 2.424 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/8.854, allocations: 0 / 2.424 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002054/8.854, allocations: 366 kB / 2.425 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/8.855, allocations: 0.4914 MB / 2.425 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/8.858, allocations: 0.8324 MB / 2.426 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/8.862, allocations: 0.8193 MB / 2.427 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/8.862, allocations: 2.375 kB / 2.427 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.009567/8.872, allocations: 1.98 MB / 2.429 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007918/8.873, allocations: 2.687 MB / 2.431 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.878e-05/8.873, allocations: 10.91 kB / 2.431 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/8.874, allocations: 201.2 kB / 2.431 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/8.876, allocations: 352.8 kB / 2.432 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/8.883, allocations: 6.891 MB / 2.438 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/8.888, allocations: 218.4 kB / 2.439 GB, free: 105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/8.889, allocations: 71.22 kB / 2.439 GB, free: 105 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/8.889, allocations: 3.312 kB / 2.439 GB, free: 105 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007202/8.896, allocations: 1.678 MB / 2.44 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.548e-05/8.896, allocations: 10.28 kB / 2.44 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008326/8.897, allocations: 201.6 kB / 2.441 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/8.9, allocations: 349.9 kB / 2.441 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008973/8.909, allocations: 8.648 MB / 2.449 GB, free: 97.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/8.913, allocations: 209.2 kB / 2.45 GB, free: 97.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000644/8.914, allocations: 72.78 kB / 2.45 GB, free: 97.15 MB / 0.9636 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.0006963/8.915, allocations: 141.2 kB / 2.45 GB, free: 97.04 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007376/8.922, allocations: 1.61 MB / 2.451 GB, free: 96.79 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/8.923, allocations: 230.6 kB / 2.452 GB, free: 96.67 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008687/8.932, allocations: 2.012 MB / 2.454 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/8.932, allocations: 20.88 kB / 2.454 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/8.932, allocations: 0 / 2.454 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006252/8.939, allocations: 1.687 MB / 2.455 GB, free: 96.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/8.955, allocations: 4.267 MB / 2.459 GB, free: 95.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/8.955, allocations: 6.672 kB / 2.459 GB, free: 95.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/8.958, allocations: 268.6 kB / 2.46 GB, free: 95.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008383/8.959, allocations: 185.2 kB / 2.46 GB, free: 95.47 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/8.959, allocations: 22.56 kB / 2.46 GB, free: 95.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006346/8.965, allocations: 6.844 MB / 2.466 GB, free: 89.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/8.965, allocations: 0.75 kB / 2.466 GB, free: 89.33 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009561/8.975, allocations: 2.731 MB / 2.469 GB, free: 88.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/8.978, allocations: 0.5447 MB / 2.47 GB, free: 88.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/8.979, allocations: 9.25 kB / 2.47 GB, free: 88.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/8.983, allocations: 131.7 kB / 2.47 GB, free: 88.56 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/8.984, allocations: 107.1 kB / 2.47 GB, free: 88.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/8.984, allocations: 62.17 kB / 2.47 GB, free: 88.55 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003998/8.988, allocations: 1.264 MB / 2.471 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.292e-06/8.988, allocations: 0 / 2.471 GB, free: 88.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01354/9.002, allocations: 1.961 MB / 2.473 GB, free: 88.06 MB / 0.9636 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.01665/9.019, allocations: 5.143 MB / 2.478 GB, free: 86.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009016/9.028, allocations: 3.425 MB / 2.482 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/9.028, allocations: 4.156 kB / 2.482 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/9.031, allocations: 1.168 MB / 2.483 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/9.042, allocations: 1.141 MB / 2.484 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/9.063, allocations: 4.687 MB / 2.488 GB, free: 83.58 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/9.066, allocations: 1.805 MB / 2.49 GB, free: 82.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006742/9.073, allocations: 0.7277 MB / 2.491 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/9.075, allocations: 1.089 MB / 2.492 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of SimCode: time 1.653e-06/9.076, allocations: 0 / 2.492 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2166/9.292, allocations: 80.34 MB / 2.57 GB, free: 77.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/9.292, allocations: 232 kB / 2.571 GB, free: 77.64 MB / 0.9636 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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_8_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_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1