Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4841/0.4841, allocations: 90.92 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 79.97 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 4 kB / 494.6 MB, free: 52.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 72.31 MB / 0.5537 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.157, allocations: 393.4 MB / 0.9378 GB, free: 83.72 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.157, allocations: 125.6 kB / 0.938 GB, free: 83.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.151/5.308, allocations: 1.059 GB / 1.997 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.255e-06/5.308, allocations: 1.344 kB / 1.997 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003837/5.308, allocations: 80.11 kB / 1.997 GB, free: 48.54 MB / 0.6355 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.01035/5.319, allocations: 3.06 MB / 2 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/5.319, allocations: 11.09 kB / 2 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/5.321, allocations: 381.6 kB / 2 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/5.328, allocations: 2.918 MB / 2.003 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/5.328, allocations: 69.61 kB / 2.003 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/5.329, allocations: 136.6 kB / 2.003 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003429/5.332, allocations: 1.448 MB / 2.005 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/5.336, allocations: 1.788 MB / 2.006 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/5.336, allocations: 6.062 kB / 2.006 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/5.336, allocations: 5.609 kB / 2.006 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/5.336, allocations: 50.31 kB / 2.006 GB, free: 46.52 MB / 0.6355 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.0138/5.35, allocations: 8.445 MB / 2.015 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/5.352, allocations: 1.274 MB / 2.016 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009289/5.353, allocations: 0.7689 MB / 2.017 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/5.355, allocations: 2.919 MB / 2.02 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/5.355, allocations: 54.48 kB / 2.02 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=148): time 5.06e-06/5.355, allocations: 0 / 2.02 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=148): time 0.004072/5.359, allocations: 1.635 MB / 2.021 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/5.359, allocations: 98.95 kB / 2.021 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/5.362, allocations: 1.696 MB / 2.023 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/5.362, allocations: 25.7 kB / 2.023 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008507/5.363, allocations: 1.219 MB / 2.024 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/5.363, allocations: 0.4953 MB / 2.025 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/5.363, allocations: 0 / 2.025 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/5.363, allocations: 374 kB / 2.025 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/5.364, allocations: 493 kB / 2.026 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/5.365, allocations: 0.8372 MB / 2.026 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/5.367, allocations: 0.8114 MB / 2.027 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/5.367, allocations: 6.656 kB / 2.027 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004216/5.371, allocations: 1.981 MB / 2.029 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007203/5.372, allocations: 2.694 MB / 2.032 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/5.372, allocations: 8.938 kB / 2.032 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/5.372, allocations: 207.3 kB / 2.032 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/5.373, allocations: 350.5 kB / 2.032 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/5.377, allocations: 6.892 MB / 2.039 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/5.38, allocations: 215 kB / 2.039 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/5.38, allocations: 76.78 kB / 2.039 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/5.38, allocations: 3.969 kB / 2.039 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003567/5.384, allocations: 1.668 MB / 2.041 GB, free: 28.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/5.384, allocations: 7.312 kB / 2.041 GB, free: 28.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/5.384, allocations: 200.7 kB / 2.041 GB, free: 28.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/5.385, allocations: 353.4 kB / 2.041 GB, free: 28.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/5.393, allocations: 8.643 MB / 2.05 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/5.396, allocations: 201.9 kB / 2.05 GB, free: 37.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/5.396, allocations: 72.86 kB / 2.05 GB, free: 37.03 MB / 0.6511 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.0006338/5.397, allocations: 137.4 kB / 2.05 GB, free: 36.92 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004739/5.401, allocations: 1.613 MB / 2.052 GB, free: 36.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009619/5.402, allocations: 238.1 kB / 2.052 GB, free: 36.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/5.407, allocations: 2.005 MB / 2.054 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/5.407, allocations: 23.12 kB / 2.054 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/5.407, allocations: 3.469 kB / 2.054 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003103/5.41, allocations: 1.682 MB / 2.056 GB, free: 36.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/5.421, allocations: 4.275 MB / 2.06 GB, free: 35.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/5.421, allocations: 2.094 kB / 2.06 GB, free: 35.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/5.423, allocations: 275.4 kB / 2.06 GB, free: 35.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006173/5.423, allocations: 187.5 kB / 2.06 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/5.424, allocations: 25.16 kB / 2.06 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006438/5.43, allocations: 6.842 MB / 2.067 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/5.43, allocations: 3.953 kB / 2.067 GB, free: 29.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/5.436, allocations: 2.723 MB / 2.07 GB, free: 28.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/5.439, allocations: 0.5543 MB / 2.07 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/5.44, allocations: 8.938 kB / 2.07 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/5.443, allocations: 127.7 kB / 2.07 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/5.444, allocations: 106.4 kB / 2.07 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/5.444, allocations: 57.81 kB / 2.07 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003415/5.447, allocations: 1.268 MB / 2.072 GB, free: 28.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/5.447, allocations: 3.375 kB / 2.072 GB, free: 28.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009738/5.457, allocations: 1.964 MB / 2.074 GB, free: 27.93 MB / 0.6511 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.01068/5.468, allocations: 5.117 MB / 2.079 GB, free: 26.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005374/5.473, allocations: 3.424 MB / 2.082 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/5.473, allocations: 0 / 2.082 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/5.475, allocations: 1.164 MB / 2.083 GB, free: 24.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/5.481, allocations: 1.136 MB / 2.084 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/5.495, allocations: 4.707 MB / 2.089 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/5.497, allocations: 1.803 MB / 2.091 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004225/5.501, allocations: 0.7295 MB / 2.091 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/5.503, allocations: 1.093 MB / 2.092 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.334e-06/5.503, allocations: 2.5 kB / 2.092 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/5.651, allocations: 80.19 MB / 2.171 GB, free: 17.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/5.651, allocations: 231.3 kB / 2.171 GB, free: 17.4 MB / 0.6511 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./IBPSA_latest_IBPSA_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1320: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: *** [: IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1