Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7313/0.7313, allocations: 127.4 MB / 134.9 MB, free: 3.715 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 168.8 kB / 164.6 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 399.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 94.45 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.752e-05, allocations: 4 kB / 0.5467 GB, free: 60.35 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 76.76 MB / 0.6217 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.402, allocations: 400.8 MB / 1.013 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/1.403, allocations: 129.1 kB / 1.013 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.167/5.57, allocations: 1.037 GB / 2.05 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.372e-06/5.57, allocations: 2.938 kB / 2.05 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005679/5.57, allocations: 81.83 kB / 2.05 GB, free: 56.47 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01469/5.585, allocations: 3.07 MB / 2.053 GB, free: 54.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.306e-05/5.585, allocations: 9.094 kB / 2.053 GB, free: 54.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/5.589, allocations: 385.1 kB / 2.054 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/5.601, allocations: 3.266 MB / 2.057 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/5.601, allocations: 67.22 kB / 2.057 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009201/5.602, allocations: 130.3 kB / 2.057 GB, free: 53.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004475/5.606, allocations: 1.458 MB / 2.059 GB, free: 52.66 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/5.612, allocations: 1.816 MB / 2.06 GB, free: 51.82 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/5.612, allocations: 7.812 kB / 2.06 GB, free: 51.81 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/5.612, allocations: 7.969 kB / 2.06 GB, free: 51.81 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/5.612, allocations: 58.67 kB / 2.06 GB, free: 51.8 MB / 0.6667 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.01627/5.629, allocations: 9.534 MB / 2.07 GB, free: 44.61 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/5.63, allocations: 1.111 MB / 2.071 GB, free: 44.03 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009052/5.631, allocations: 0.7038 MB / 2.071 GB, free: 43.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/5.633, allocations: 2.757 MB / 2.074 GB, free: 40.51 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/5.633, allocations: 51.78 kB / 2.074 GB, free: 40.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=135): time 3.186e-06/5.633, allocations: 0 / 2.074 GB, free: 40.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135): time 0.007257/5.64, allocations: 1.885 MB / 2.076 GB, free: 39.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/5.64, allocations: 89.42 kB / 2.076 GB, free: 39.42 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/5.646, allocations: 1.721 MB / 2.078 GB, free: 38.53 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004826/5.646, allocations: 25.7 kB / 2.078 GB, free: 38.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/5.648, allocations: 1.286 MB / 2.079 GB, free: 37.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/5.648, allocations: 463.3 kB / 2.08 GB, free: 36.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/5.649, allocations: 0 / 2.08 GB, free: 36.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001998/5.649, allocations: 375.7 kB / 2.08 GB, free: 36.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/5.65, allocations: 0.4924 MB / 2.08 GB, free: 36.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/5.651, allocations: 0.9002 MB / 2.081 GB, free: 35.62 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/5.654, allocations: 0.8241 MB / 2.082 GB, free: 35.19 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/5.654, allocations: 0 / 2.082 GB, free: 35.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007711/5.661, allocations: 2.287 MB / 2.084 GB, free: 34.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009615/5.662, allocations: 3.619 MB / 2.088 GB, free: 30.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/5.662, allocations: 19.55 kB / 2.088 GB, free: 30.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/5.663, allocations: 257 kB / 2.088 GB, free: 29.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/5.664, allocations: 368.4 kB / 2.088 GB, free: 29.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/5.669, allocations: 6.961 MB / 2.095 GB, free: 22.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/5.672, allocations: 243.4 kB / 2.096 GB, free: 22.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/5.672, allocations: 81.28 kB / 2.096 GB, free: 22.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/5.672, allocations: 3.594 kB / 2.096 GB, free: 22.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004222/5.676, allocations: 1.672 MB / 2.097 GB, free: 21.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/5.676, allocations: 12 kB / 2.097 GB, free: 21.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/5.677, allocations: 208.9 kB / 2.097 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/5.678, allocations: 363.5 kB / 2.098 GB, free: 20.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006179/5.684, allocations: 8.648 MB / 2.106 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/5.687, allocations: 202.7 kB / 2.106 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/5.687, allocations: 71.92 kB / 2.106 GB, free: 27.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 189 * 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.0005452/5.688, allocations: 148.6 kB / 2.107 GB, free: 27.09 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005692/5.694, allocations: 1.733 MB / 2.108 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/5.694, allocations: 245 kB / 2.109 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/5.7, allocations: 1.994 MB / 2.11 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/5.7, allocations: 20 kB / 2.111 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/5.7, allocations: 4 kB / 2.111 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/5.705, allocations: 1.752 MB / 2.112 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00967/5.714, allocations: 4.019 MB / 2.116 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/5.714, allocations: 0 / 2.116 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/5.715, allocations: 251.7 kB / 2.116 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/5.716, allocations: 237 kB / 2.117 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/5.716, allocations: 23.98 kB / 2.117 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/5.729, allocations: 9.296 MB / 2.126 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/5.729, allocations: 0 / 2.126 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007797/5.736, allocations: 2.609 MB / 2.128 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/5.739, allocations: 0.5367 MB / 2.129 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/5.739, allocations: 4 kB / 2.129 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/5.74, allocations: 143.5 kB / 2.129 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/5.741, allocations: 101.1 kB / 2.129 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/5.741, allocations: 51.97 kB / 2.129 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0023/5.743, allocations: 1.28 MB / 2.13 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/5.743, allocations: 0 / 2.13 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.6327/6.376, allocations: 2.004 MB / 2.132 GB, free: 73.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (122): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01554/6.391, allocations: 4.827 MB / 2.137 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006574/6.398, allocations: 3.383 MB / 2.14 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/6.398, allocations: 1.25 kB / 2.14 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/6.4, allocations: 1.31 MB / 2.142 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0068/6.406, allocations: 1.117 MB / 2.143 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/6.418, allocations: 4.613 MB / 2.147 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/6.42, allocations: 1.788 MB / 2.149 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004328/6.424, allocations: 0.7441 MB / 2.15 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/6.426, allocations: 1.087 MB / 2.151 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.343e-06/6.426, allocations: 4.438 kB / 2.151 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/6.618, allocations: 82.85 MB / 2.232 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/6.618, allocations: 234.8 kB / 2.232 GB, free: 64.04 MB / 0.6823 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=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1045: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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1