Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.513/2.513, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001502/0.001502, allocations: 172.9 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001224/0.001223, allocations: 89.39 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.697e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9153/0.9154, allocations: 115.2 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/2.357, allocations: 413 MB / 1.367 GB, free: 155 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004456/2.357, allocations: 115.6 kB / 1.367 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.66/18.02, allocations: 2.772 GB / 4.139 GB, free: 17.86 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.655e-06/18.02, allocations: 4 kB / 4.139 GB, free: 17.85 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.004591/18.03, allocations: 311.7 kB / 4.139 GB, free: 17.55 MB / 0.9792 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.05745/18.08, allocations: 10.85 MB / 4.15 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/18.08, allocations: 8.031 kB / 4.15 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/18.1, allocations: 1.622 MB / 4.151 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.764/19.86, allocations: 18.67 MB / 4.169 GB, free: 113.6 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009856/19.86, allocations: 267.8 kB / 4.17 GB, free: 113.6 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005786/19.87, allocations: 0.5135 MB / 4.17 GB, free: 113.6 MB / 0.9793 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03996/19.91, allocations: 9.574 MB / 4.179 GB, free: 113.6 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04966/19.96, allocations: 10.59 MB / 4.19 GB, free: 112.7 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009989/19.96, allocations: 34.09 kB / 4.19 GB, free: 112.6 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004706/19.96, allocations: 10.92 kB / 4.19 GB, free: 112.6 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/19.96, allocations: 207.7 kB / 4.19 GB, free: 112.6 MB / 0.9793 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.1498/20.11, allocations: 49.6 MB / 4.238 GB, free: 98.64 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/20.13, allocations: 5.536 MB / 4.244 GB, free: 98.57 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01142/20.14, allocations: 3.703 MB / 4.247 GB, free: 98.53 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003231/20.15, allocations: 2.182 MB / 4.25 GB, free: 96.18 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/20.15, allocations: 95.7 kB / 4.25 GB, free: 96.14 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=482): time 9.087e-06/20.15, allocations: 0 / 4.25 GB, free: 96.14 MB / 0.9793 GB Notification: Performance of matching and sorting (n=482): time 0.03229/20.18, allocations: 7.208 MB / 4.257 GB, free: 95.27 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/20.18, allocations: 367.6 kB / 4.257 GB, free: 94.89 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04182/20.22, allocations: 12.74 MB / 4.27 GB, free: 94.27 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001839/20.22, allocations: 32.73 kB / 4.27 GB, free: 94.23 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01199/20.23, allocations: 5.946 MB / 4.275 GB, free: 92.5 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.004038/20.24, allocations: 1.643 MB / 4.277 GB, free: 91.41 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/20.24, allocations: 0 / 4.277 GB, free: 91.41 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0009519/20.24, allocations: 0.574 MB / 4.278 GB, free: 91.1 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/20.25, allocations: 3.341 MB / 4.281 GB, free: 91.08 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01327/20.26, allocations: 5.502 MB / 4.286 GB, free: 88.92 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/20.28, allocations: 4.625 MB / 4.291 GB, free: 88.82 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/20.28, allocations: 10.12 kB / 4.291 GB, free: 88.82 MB / 0.9793 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03731/20.32, allocations: 10.33 MB / 4.301 GB, free: 87.88 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.008588/20.33, allocations: 24.2 MB / 4.324 GB, free: 78.39 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004394/20.33, allocations: 63.22 kB / 4.324 GB, free: 78.39 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/20.33, allocations: 0.9666 MB / 4.325 GB, free: 78.24 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/20.34, allocations: 1.445 MB / 4.327 GB, free: 78.24 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03772/20.38, allocations: 32.01 MB / 4.358 GB, free: 68.73 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01966/20.4, allocations: 1.141 MB / 4.359 GB, free: 68.41 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/20.4, allocations: 275.8 kB / 4.359 GB, free: 68.41 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/20.4, allocations: 3.062 kB / 4.359 GB, free: 68.41 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03157/20.43, allocations: 9.208 MB / 4.368 GB, free: 68.04 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000443/20.43, allocations: 65.42 kB / 4.369 GB, free: 68.04 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/20.44, allocations: 0.967 MB / 4.369 GB, free: 67.89 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/20.45, allocations: 1.451 MB / 4.371 GB, free: 67.89 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03832/20.49, allocations: 32.03 MB / 4.402 GB, free: 56.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01848/20.5, allocations: 1.028 MB / 4.403 GB, free: 56.69 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/20.51, allocations: 271.3 kB / 4.403 GB, free: 56.64 MB / 1.026 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.003601/20.51, allocations: 271 kB / 4.404 GB, free: 56.5 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02752/20.54, allocations: 7.191 MB / 4.411 GB, free: 53.78 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006851/20.54, allocations: 1.052 MB / 4.412 GB, free: 53.22 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03064/20.57, allocations: 7.965 MB / 4.42 GB, free: 50.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/20.58, allocations: 53.38 kB / 4.42 GB, free: 50.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.636e-05/20.58, allocations: 8.812 kB / 4.42 GB, free: 50.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02053/20.6, allocations: 6.294 MB / 4.426 GB, free: 48.18 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09661/20.69, allocations: 42.62 MB / 4.467 GB, free: 33.31 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001215/20.69, allocations: 11.28 kB / 4.467 GB, free: 33.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01283/20.71, allocations: 1.068 MB / 4.468 GB, free: 33.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004814/20.71, allocations: 0.9106 MB / 4.469 GB, free: 32.89 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001917/20.71, allocations: 95.31 kB / 4.469 GB, free: 32.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04912/20.76, allocations: 31.97 MB / 4.501 GB, free: 20.13 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/20.76, allocations: 15.56 kB / 4.501 GB, free: 20.12 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03422/20.8, allocations: 14.5 MB / 4.515 GB, free: 11.88 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01234/20.81, allocations: 2.75 MB / 4.517 GB, free: 10.33 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00569/20.81, allocations: 53.86 kB / 4.518 GB, free: 10.31 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/20.83, allocations: 0.5091 MB / 4.518 GB, free: 10.27 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001724/20.83, allocations: 353.5 kB / 4.518 GB, free: 10.2 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001189/20.83, allocations: 195.8 kB / 4.519 GB, free: 10.17 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03158/20.86, allocations: 9.747 MB / 4.528 GB, free: 6.578 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.82e-07/20.86, allocations: 0 / 4.528 GB, free: 6.578 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04717/20.91, allocations: 6.683 MB / 4.535 GB, free: 5.676 MB / 1.057 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.9056/21.82, allocations: 17.08 MB / 4.551 GB, free: 169.9 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0389/21.85, allocations: 17.43 MB / 4.568 GB, free: 165 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.459e-05/21.86, allocations: 5.344 kB / 4.568 GB, free: 165 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01206/21.87, allocations: 5.4 MB / 4.574 GB, free: 163 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05069/21.92, allocations: 5.971 MB / 4.579 GB, free: 162.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1049/22.02, allocations: 29.34 MB / 4.608 GB, free: 158.2 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02633/22.05, allocations: 9.56 MB / 4.617 GB, free: 157.1 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0631/22.11, allocations: 11.63 MB / 4.629 GB, free: 156.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01823/22.13, allocations: 5.336 MB / 4.634 GB, free: 156.5 MB / 1.057 GB Notification: Performance of SimCode: time 1.773e-06/22.13, allocations: 0 / 4.634 GB, free: 156.5 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.713/23.84, allocations: 334.2 MB / 4.96 GB, free: 158.8 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/23.84, allocations: 217.4 kB / 4.96 GB, free: 158.5 MB / 1.073 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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_8_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_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_8_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_8_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1