Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001046/0.001046, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.858/1.858, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009205/0.00092, allocations: 86.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.247e-05, allocations: 8 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7219, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.867, allocations: 429.4 MB / 1.393 GB, free: 122 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.868, allocations: 126.8 kB / 1.393 GB, free: 122 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.404/6.272, allocations: 1.015 GB / 2.408 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/6.272, allocations: 4.188 kB / 2.408 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003375/6.272, allocations: 80 kB / 2.408 GB, free: 118.3 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.009879/6.282, allocations: 3.055 MB / 2.411 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/6.282, allocations: 9.781 kB / 2.411 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/6.284, allocations: 379.3 kB / 2.411 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007563/6.292, allocations: 2.908 MB / 2.414 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-05/6.292, allocations: 65.69 kB / 2.414 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/6.292, allocations: 130.8 kB / 2.414 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003306/6.295, allocations: 1.452 MB / 2.415 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/6.299, allocations: 1.79 MB / 2.417 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/6.299, allocations: 9 kB / 2.417 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/6.299, allocations: 1.375 kB / 2.417 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.765e-05/6.299, allocations: 50.91 kB / 2.417 GB, free: 116.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.01505/6.314, allocations: 8.439 MB / 2.426 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/6.316, allocations: 1.277 MB / 2.427 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/6.317, allocations: 0.7706 MB / 2.428 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/6.319, allocations: 2.917 MB / 2.43 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/6.319, allocations: 57.38 kB / 2.43 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 4.078e-06/6.319, allocations: 0 / 2.43 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.004434/6.324, allocations: 1.637 MB / 2.432 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/6.324, allocations: 95.45 kB / 2.432 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/6.327, allocations: 1.688 MB / 2.434 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/6.327, allocations: 25.7 kB / 2.434 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/6.328, allocations: 1.215 MB / 2.435 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/6.329, allocations: 0.4903 MB / 2.435 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/6.329, allocations: 0 / 2.435 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000114/6.329, allocations: 371.6 kB / 2.436 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/6.33, allocations: 496.6 kB / 2.436 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/6.33, allocations: 0.8383 MB / 2.437 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/6.333, allocations: 0.8074 MB / 2.438 GB, free: 108 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/6.333, allocations: 3.75 kB / 2.438 GB, free: 108 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004611/6.337, allocations: 1.986 MB / 2.44 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000605/6.338, allocations: 2.691 MB / 2.442 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/6.338, allocations: 7.25 kB / 2.442 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/6.338, allocations: 201.8 kB / 2.443 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/6.339, allocations: 353.3 kB / 2.443 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004043/6.344, allocations: 6.89 MB / 2.45 GB, free: 98.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/6.347, allocations: 222.9 kB / 2.45 GB, free: 98.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/6.347, allocations: 69.12 kB / 2.45 GB, free: 98.65 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/6.347, allocations: 3.188 kB / 2.45 GB, free: 98.65 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003716/6.351, allocations: 1.671 MB / 2.452 GB, free: 98.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/6.351, allocations: 7.656 kB / 2.452 GB, free: 98.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/6.351, allocations: 207.7 kB / 2.452 GB, free: 98.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/6.352, allocations: 353.5 kB / 2.452 GB, free: 98.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/6.358, allocations: 8.642 MB / 2.461 GB, free: 90.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/6.361, allocations: 207.2 kB / 2.461 GB, free: 90.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/6.361, allocations: 72.34 kB / 2.461 GB, free: 90.8 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.0006933/6.362, allocations: 140.1 kB / 2.461 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004978/6.367, allocations: 1.616 MB / 2.463 GB, free: 90.45 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/6.368, allocations: 235.2 kB / 2.463 GB, free: 90.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004957/6.373, allocations: 2.006 MB / 2.465 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/6.373, allocations: 21.25 kB / 2.465 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/6.373, allocations: 3.781 kB / 2.465 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003093/6.376, allocations: 1.683 MB / 2.466 GB, free: 89.79 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/6.387, allocations: 4.264 MB / 2.471 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/6.387, allocations: 0 / 2.471 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/6.388, allocations: 273.2 kB / 2.471 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/6.388, allocations: 185.5 kB / 2.471 GB, free: 89.13 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/6.389, allocations: 23.39 kB / 2.471 GB, free: 89.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/6.393, allocations: 6.849 MB / 2.478 GB, free: 82.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/6.393, allocations: 3.656 kB / 2.478 GB, free: 82.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/6.399, allocations: 2.719 MB / 2.48 GB, free: 82.47 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/6.401, allocations: 0.5513 MB / 2.481 GB, free: 82.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/6.402, allocations: 6.594 kB / 2.481 GB, free: 82.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/6.404, allocations: 129.2 kB / 2.481 GB, free: 82.21 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/6.405, allocations: 104.5 kB / 2.481 GB, free: 82.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/6.405, allocations: 57.34 kB / 2.481 GB, free: 82.21 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003409/6.408, allocations: 1.26 MB / 2.482 GB, free: 82.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.41e-07/6.408, allocations: 2.25 kB / 2.482 GB, free: 82.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01409/6.422, allocations: 1.964 MB / 2.484 GB, free: 81.72 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.01496/6.437, allocations: 5.173 MB / 2.489 GB, free: 80.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006307/6.444, allocations: 3.418 MB / 2.493 GB, free: 78.95 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/6.444, allocations: 4.75 kB / 2.493 GB, free: 78.95 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/6.445, allocations: 1.172 MB / 2.494 GB, free: 78.52 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00763/6.453, allocations: 1.13 MB / 2.495 GB, free: 78.51 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/6.469, allocations: 4.691 MB / 2.5 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/6.471, allocations: 1.803 MB / 2.501 GB, free: 76.49 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004777/6.476, allocations: 0.7245 MB / 2.502 GB, free: 76.46 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/6.478, allocations: 1.088 MB / 2.503 GB, free: 76.46 MB / 0.9636 GB Notification: Performance of SimCode: time 1.764e-06/6.478, allocations: 0 / 2.503 GB, free: 76.46 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/6.638, allocations: 80.36 MB / 2.582 GB, free: 71.67 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/6.638, allocations: 225 kB / 2.582 GB, free: 71.38 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_8_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_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_8_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_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_8_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_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_8_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_8_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_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_8_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_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1