Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 249.5 MB / 257 MB, free: 6.855 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.001155/0.001155, allocations: 183.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 86.55 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 106.4 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.686, allocations: 407.7 MB / 1.284 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.686, allocations: 113.4 kB / 1.284 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.57/12.26, allocations: 2.772 GB / 4.056 GB, free: 129 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.144e-06/12.26, allocations: 0 / 4.056 GB, free: 129 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003753/12.26, allocations: 312.3 kB / 4.056 GB, free: 128.9 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.04256/12.3, allocations: 10.84 MB / 4.066 GB, free: 124.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/12.3, allocations: 11.75 kB / 4.066 GB, free: 124.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/12.31, allocations: 1.621 MB / 4.068 GB, free: 123.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05152/12.37, allocations: 18.66 MB / 4.086 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009302/12.37, allocations: 272.3 kB / 4.086 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005101/12.37, allocations: 0.5127 MB / 4.087 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02712/12.4, allocations: 9.574 MB / 4.096 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03792/12.44, allocations: 10.59 MB / 4.107 GB, free: 121.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006526/12.44, allocations: 41.59 kB / 4.107 GB, free: 121.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/12.44, allocations: 11.62 kB / 4.107 GB, free: 121.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/12.44, allocations: 205.8 kB / 4.107 GB, free: 121.2 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.1046/12.55, allocations: 49.61 MB / 4.155 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009071/12.56, allocations: 5.543 MB / 4.161 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/12.56, allocations: 3.695 MB / 4.164 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/12.56, allocations: 2.191 MB / 4.167 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.708e-05/12.56, allocations: 91.3 kB / 4.167 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=482): time 8.015e-06/12.56, allocations: 0 / 4.167 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=482): time 0.01814/12.58, allocations: 7.206 MB / 4.174 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/12.58, allocations: 369.7 kB / 4.174 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03545/12.62, allocations: 12.74 MB / 4.186 GB, free: 96.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00196/12.62, allocations: 32.95 kB / 4.186 GB, free: 96.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0085/12.63, allocations: 5.951 MB / 4.192 GB, free: 91.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003203/12.63, allocations: 1.648 MB / 4.194 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006967/12.63, allocations: 1.812 kB / 4.194 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004822/12.63, allocations: 0.5701 MB / 4.194 GB, free: 89.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/12.64, allocations: 3.339 MB / 4.198 GB, free: 88.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006199/12.64, allocations: 5.504 MB / 4.203 GB, free: 84.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008544/12.65, allocations: 4.63 MB / 4.208 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-05/12.65, allocations: 11.22 kB / 4.208 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02355/12.67, allocations: 10.31 MB / 4.218 GB, free: 79.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004814/12.68, allocations: 24.2 MB / 4.241 GB, free: 53.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/12.68, allocations: 67.05 kB / 4.241 GB, free: 53.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/12.68, allocations: 0.9672 MB / 4.242 GB, free: 53.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006255/12.69, allocations: 1.446 MB / 4.244 GB, free: 53.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/12.71, allocations: 32.02 MB / 4.275 GB, free: 40.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/12.73, allocations: 1.137 MB / 4.276 GB, free: 40.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/12.73, allocations: 271.4 kB / 4.276 GB, free: 39.76 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/12.73, allocations: 5.875 kB / 4.276 GB, free: 39.76 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02189/12.75, allocations: 9.212 MB / 4.285 GB, free: 31.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003584/12.75, allocations: 68.25 kB / 4.285 GB, free: 31.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/12.75, allocations: 0.9627 MB / 4.286 GB, free: 30.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006215/12.76, allocations: 1.453 MB / 4.288 GB, free: 29.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/12.78, allocations: 32.03 MB / 4.319 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/12.8, allocations: 1.028 MB / 4.32 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/12.8, allocations: 274.3 kB / 4.32 GB, free: 12.04 MB / 0.948 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.002125/12.8, allocations: 272 kB / 4.321 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01642/12.82, allocations: 7.183 MB / 4.328 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007123/12.83, allocations: 1.061 MB / 4.329 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342/14.17, allocations: 8.464 MB / 4.337 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.866e-05/14.17, allocations: 51.95 kB / 4.337 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-05/14.17, allocations: 10.47 kB / 4.337 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01771/14.19, allocations: 6.287 MB / 4.343 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0831/14.27, allocations: 42.63 MB / 4.385 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.613e-05/14.27, allocations: 10.66 kB / 4.385 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006273/14.28, allocations: 1.063 MB / 4.386 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/14.28, allocations: 0.9223 MB / 4.387 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001826/14.28, allocations: 93.62 kB / 4.387 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/14.3, allocations: 31.96 MB / 4.418 GB, free: 91.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/14.3, allocations: 14.34 kB / 4.418 GB, free: 91.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02897/14.33, allocations: 14.49 MB / 4.432 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/14.34, allocations: 2.75 MB / 4.435 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008502/14.35, allocations: 55.89 kB / 4.435 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01217/14.37, allocations: 0.5041 MB / 4.435 GB, free: 87.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001919/14.37, allocations: 361 kB / 4.436 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001643/14.37, allocations: 194.2 kB / 4.436 GB, free: 87.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02737/14.4, allocations: 9.749 MB / 4.445 GB, free: 86.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.42e-07/14.4, allocations: 0 / 4.445 GB, free: 86.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0432/14.44, allocations: 6.692 MB / 4.452 GB, free: 86.41 MB / 0.948 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.03888/14.48, allocations: 17.07 MB / 4.469 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03063/14.51, allocations: 17.43 MB / 4.486 GB, free: 75.72 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.009e-05/14.51, allocations: 5.438 kB / 4.486 GB, free: 75.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008071/14.52, allocations: 5.395 MB / 4.491 GB, free: 73.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03457/14.55, allocations: 5.986 MB / 4.497 GB, free: 73.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08268/14.64, allocations: 29.35 MB / 4.525 GB, free: 68.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01807/14.65, allocations: 9.557 MB / 4.535 GB, free: 67.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0411/14.69, allocations: 11.61 MB / 4.546 GB, free: 66.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01479/14.71, allocations: 5.339 MB / 4.551 GB, free: 66.78 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/14.71, allocations: 0 / 4.551 GB, free: 66.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/15.95, allocations: 334.2 MB / 4.878 GB, free: 134.9 MB / 0.9793 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/15.95, allocations: 246.8 kB / 4.878 GB, free: 134.5 MB / 0.9793 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_maint_7_0_x_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 -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_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. make: *** [: Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1