Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 248.7 MB / 256.2 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001551, allocations: 182.3 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 94.45 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.973e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2537, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.066/2.32, allocations: 407.6 MB / 1.282 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/2.32, allocations: 115 kB / 1.282 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.32/18.64, allocations: 2.772 GB / 4.054 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.244e-06/18.64, allocations: 1.875 kB / 4.054 GB, free: 128.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.004038/18.64, allocations: 300.9 kB / 4.054 GB, free: 128.4 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04607/18.69, allocations: 10.85 MB / 4.065 GB, free: 124.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/18.69, allocations: 11.53 kB / 4.065 GB, free: 124.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/18.7, allocations: 1.621 MB / 4.066 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06672/18.77, allocations: 18.67 MB / 4.085 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/18.77, allocations: 269.2 kB / 4.085 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/18.77, allocations: 0.5123 MB / 4.085 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03742/18.81, allocations: 9.578 MB / 4.095 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/18.86, allocations: 10.6 MB / 4.105 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001045/18.86, allocations: 30.56 kB / 4.105 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004818/18.87, allocations: 10.81 kB / 4.105 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/18.87, allocations: 209 kB / 4.105 GB, free: 120.7 MB / 0.9167 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.1415/19.01, allocations: 49.6 MB / 4.154 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/19.02, allocations: 5.546 MB / 4.159 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01041/19.03, allocations: 3.694 MB / 4.163 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003161/19.04, allocations: 2.186 MB / 4.165 GB, free: 98.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/19.04, allocations: 99.06 kB / 4.165 GB, free: 98.09 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=482): time 8.787e-06/19.04, allocations: 0 / 4.165 GB, free: 98.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=482): time 0.03014/19.07, allocations: 7.21 MB / 4.172 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/19.07, allocations: 358.4 kB / 4.172 GB, free: 95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04589/19.11, allocations: 12.74 MB / 4.185 GB, free: 90.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002289/19.12, allocations: 34.27 kB / 4.185 GB, free: 90.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01289/19.13, allocations: 5.949 MB / 4.191 GB, free: 85.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004551/19.13, allocations: 1.645 MB / 4.192 GB, free: 84.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002067/19.14, allocations: 0 / 4.192 GB, free: 84.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001091/19.14, allocations: 0.5813 MB / 4.193 GB, free: 84.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01034/19.15, allocations: 3.338 MB / 4.196 GB, free: 82.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01364/19.16, allocations: 5.497 MB / 4.201 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/19.18, allocations: 4.632 MB / 4.206 GB, free: 77.61 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/19.18, allocations: 11.22 kB / 4.206 GB, free: 77.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.04187/19.22, allocations: 10.31 MB / 4.216 GB, free: 68.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008085/19.23, allocations: 24.19 MB / 4.24 GB, free: 42.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005114/19.23, allocations: 67.39 kB / 4.24 GB, free: 42.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/19.23, allocations: 0.9621 MB / 4.241 GB, free: 41.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/19.24, allocations: 1.453 MB / 4.242 GB, free: 40.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03877/19.28, allocations: 32.02 MB / 4.273 GB, free: 24.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01977/19.3, allocations: 1.133 MB / 4.275 GB, free: 23.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/19.3, allocations: 276.4 kB / 4.275 GB, free: 22.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/19.3, allocations: 4 kB / 4.275 GB, free: 22.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03174/19.34, allocations: 9.208 MB / 4.284 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004/19.34, allocations: 67.98 kB / 4.284 GB, free: 15 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/19.34, allocations: 0.9756 MB / 4.285 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/19.35, allocations: 1.449 MB / 4.286 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671/21.02, allocations: 32 MB / 4.317 GB, free: 120.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01824/21.04, allocations: 1.036 MB / 4.318 GB, free: 120.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/21.04, allocations: 272 kB / 4.319 GB, free: 120.5 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00294/21.05, allocations: 273.2 kB / 4.319 GB, free: 120.4 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02711/21.07, allocations: 7.191 MB / 4.326 GB, free: 120.1 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005918/21.08, allocations: 1.051 MB / 4.327 GB, free: 119.8 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03129/21.11, allocations: 7.967 MB / 4.335 GB, free: 119.4 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001385/21.11, allocations: 51.78 kB / 4.335 GB, free: 119.4 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-05/21.11, allocations: 10.72 kB / 4.335 GB, free: 119.4 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02158/21.13, allocations: 6.288 MB / 4.341 GB, free: 119 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08836/21.22, allocations: 42.64 MB / 4.383 GB, free: 96.41 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-05/21.22, allocations: 12.59 kB / 4.383 GB, free: 96.41 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009283/21.23, allocations: 1.063 MB / 4.384 GB, free: 96.41 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/21.23, allocations: 0.9184 MB / 4.385 GB, free: 96.25 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/21.23, allocations: 88.66 kB / 4.385 GB, free: 96.25 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02846/21.26, allocations: 31.96 MB / 4.416 GB, free: 70.83 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-05/21.26, allocations: 20.25 kB / 4.416 GB, free: 70.83 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0323/21.29, allocations: 14.5 MB / 4.43 GB, free: 66.08 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01303/21.31, allocations: 2.748 MB / 4.433 GB, free: 65.43 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00543/21.31, allocations: 60.48 kB / 4.433 GB, free: 65.43 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01455/21.33, allocations: 0.5072 MB / 4.433 GB, free: 65.4 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/21.33, allocations: 353.8 kB / 4.434 GB, free: 65.39 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008512/21.33, allocations: 190.3 kB / 4.434 GB, free: 65.39 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.02861/21.36, allocations: 9.751 MB / 4.443 GB, free: 65.07 MB / 0.9324 GB Notification: Performance of sort global known variables: time 9.31e-07/21.36, allocations: 1.062 kB / 4.443 GB, free: 65.07 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.04507/21.4, allocations: 6.685 MB / 4.45 GB, free: 64.65 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (428): * Single equations (assignments): 402 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03911/21.44, allocations: 17.07 MB / 4.467 GB, free: 58.85 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.03777/21.48, allocations: 17.43 MB / 4.484 GB, free: 53.95 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.904e-05/21.48, allocations: 8.938 kB / 4.484 GB, free: 53.95 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.01109/21.49, allocations: 5.397 MB / 4.489 GB, free: 51.87 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04821/21.54, allocations: 5.98 MB / 4.495 GB, free: 51.78 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08717/21.63, allocations: 29.33 MB / 4.523 GB, free: 46.75 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0193/21.65, allocations: 9.559 MB / 4.533 GB, free: 45.55 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.05396/21.7, allocations: 11.62 MB / 4.544 GB, free: 44.96 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/21.72, allocations: 5.333 MB / 4.549 GB, free: 43.92 MB / 0.9324 GB Notification: Performance of SimCode: time 1.814e-06/21.72, allocations: 0 / 4.549 GB, free: 43.92 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.53/23.25, allocations: 334.2 MB / 4.876 GB, free: 92.5 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/23.25, allocations: 223 kB / 4.876 GB, free: 92.22 MB / 0.9637 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:953:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1