Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.63/1.63, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001106/0.001106, allocations: 192.8 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0009607/0.0009606, allocations: 87.95 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.539e-05, allocations: 4 kB / 0.8519 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7294, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.866, allocations: 428.4 MB / 1.383 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.866, allocations: 123.1 kB / 1.383 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.31/6.176, allocations: 1.015 GB / 2.398 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.046e-06/6.176, allocations: 2.781 kB / 2.398 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006603/6.177, allocations: 81.89 kB / 2.398 GB, free: 125.4 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.01379/6.191, allocations: 3.054 MB / 2.401 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/6.191, allocations: 8.75 kB / 2.401 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/6.194, allocations: 375.6 kB / 2.401 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/6.202, allocations: 2.904 MB / 2.404 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/6.202, allocations: 69.16 kB / 2.404 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/6.202, allocations: 134.2 kB / 2.404 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003118/6.205, allocations: 1.455 MB / 2.406 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/6.209, allocations: 1.783 MB / 2.407 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/6.209, allocations: 1.844 kB / 2.407 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/6.209, allocations: 2.594 kB / 2.407 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/6.209, allocations: 56.56 kB / 2.407 GB, free: 123.3 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.01384/6.223, allocations: 8.444 MB / 2.416 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/6.225, allocations: 1.279 MB / 2.417 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/6.225, allocations: 0.7643 MB / 2.418 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/6.227, allocations: 2.917 MB / 2.42 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/6.227, allocations: 52.78 kB / 2.421 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 4.609e-06/6.227, allocations: 0 / 2.421 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.003915/6.231, allocations: 1.636 MB / 2.422 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/6.231, allocations: 95.11 kB / 2.422 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/6.234, allocations: 1.686 MB / 2.424 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/6.234, allocations: 29.61 kB / 2.424 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/6.235, allocations: 1.211 MB / 2.425 GB, free: 116 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/6.235, allocations: 0.4986 MB / 2.426 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/6.235, allocations: 0 / 2.426 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/6.235, allocations: 372.4 kB / 2.426 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/6.236, allocations: 498.6 kB / 2.426 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/6.237, allocations: 0.8343 MB / 2.427 GB, free: 115 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/6.239, allocations: 0.8152 MB / 2.428 GB, free: 115 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/6.239, allocations: 3.906 kB / 2.428 GB, free: 115 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003869/6.243, allocations: 1.974 MB / 2.43 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005626/6.243, allocations: 2.692 MB / 2.433 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/6.243, allocations: 10.12 kB / 2.433 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/6.244, allocations: 206.1 kB / 2.433 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/6.245, allocations: 354.3 kB / 2.433 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/6.249, allocations: 6.895 MB / 2.44 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/6.251, allocations: 216.8 kB / 2.44 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/6.252, allocations: 76.31 kB / 2.44 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/6.252, allocations: 4.469 kB / 2.44 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003688/6.255, allocations: 1.669 MB / 2.442 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/6.255, allocations: 15.2 kB / 2.442 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/6.256, allocations: 198 kB / 2.442 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/6.257, allocations: 352.2 kB / 2.442 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/6.262, allocations: 8.641 MB / 2.451 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/6.265, allocations: 204.6 kB / 2.451 GB, free: 97.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/6.265, allocations: 80.3 kB / 2.451 GB, free: 97.77 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.0004879/6.266, allocations: 142 kB / 2.451 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004183/6.27, allocations: 1.606 MB / 2.453 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/6.271, allocations: 235.3 kB / 2.453 GB, free: 97.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/6.275, allocations: 2.004 MB / 2.455 GB, free: 97.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/6.275, allocations: 18.19 kB / 2.455 GB, free: 97.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/6.275, allocations: 3.75 kB / 2.455 GB, free: 97.12 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/6.278, allocations: 1.689 MB / 2.457 GB, free: 96.76 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009872/6.288, allocations: 4.262 MB / 2.461 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/6.288, allocations: 7.172 kB / 2.461 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/6.289, allocations: 276.6 kB / 2.461 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/6.29, allocations: 180.2 kB / 2.461 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/6.29, allocations: 19.73 kB / 2.461 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004307/6.294, allocations: 6.849 MB / 2.468 GB, free: 89.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/6.294, allocations: 2.062 kB / 2.468 GB, free: 89.96 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/6.3, allocations: 2.724 MB / 2.471 GB, free: 89.44 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/6.302, allocations: 0.5542 MB / 2.471 GB, free: 89.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009459/6.303, allocations: 3.719 kB / 2.471 GB, free: 89.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/6.305, allocations: 122.8 kB / 2.471 GB, free: 89.19 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/6.305, allocations: 108.5 kB / 2.471 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/6.306, allocations: 64.94 kB / 2.471 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002941/6.309, allocations: 1.261 MB / 2.473 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.91e-07/6.309, allocations: 0 / 2.473 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01138/6.32, allocations: 1.966 MB / 2.475 GB, free: 88.69 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.01285/6.333, allocations: 5.136 MB / 2.48 GB, free: 87.08 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005581/6.338, allocations: 3.433 MB / 2.483 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/6.338, allocations: 0 / 2.483 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/6.34, allocations: 1.17 MB / 2.484 GB, free: 85.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00701/6.347, allocations: 1.139 MB / 2.485 GB, free: 85.49 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/6.361, allocations: 4.699 MB / 2.49 GB, free: 84.21 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/6.363, allocations: 1.797 MB / 2.491 GB, free: 83.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004333/6.367, allocations: 0.7239 MB / 2.492 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/6.369, allocations: 1.094 MB / 2.493 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of SimCode: time 1.763e-06/6.369, allocations: 0 / 2.493 GB, free: 83.44 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/6.522, allocations: 80.35 MB / 2.572 GB, free: 78.65 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/6.522, allocations: 240.2 kB / 2.572 GB, free: 78.36 MB / 0.9636 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_8_0_x_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_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_maint_8_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_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. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1