Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001255/0.001256, allocations: 173 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008384/0.0008384, allocations: 93.12 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.094e-05, allocations: 4 kB / 0.8519 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7395, allocations: 115.3 MB / 0.9645 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.84, allocations: 413.1 MB / 1.368 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.84, allocations: 117.7 kB / 1.368 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.01/12.85, allocations: 2.772 GB / 4.14 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.984e-06/12.85, allocations: 0 / 4.14 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.004311/12.85, allocations: 311.8 kB / 4.14 GB, free: 12.24 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.05175/12.9, allocations: 10.85 MB / 4.151 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/12.9, allocations: 8.031 kB / 4.151 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.448/14.35, allocations: 1.616 MB / 4.152 GB, free: 114.6 MB / 0.9793 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06435/14.42, allocations: 18.67 MB / 4.171 GB, free: 113.5 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006781/14.42, allocations: 270 kB / 4.171 GB, free: 113.5 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004805/14.42, allocations: 0.5124 MB / 4.171 GB, free: 113.5 MB / 0.9793 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02744/14.45, allocations: 9.568 MB / 4.181 GB, free: 113.4 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/14.49, allocations: 10.6 MB / 4.191 GB, free: 112.5 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004232/14.49, allocations: 37.06 kB / 4.191 GB, free: 112.5 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/14.49, allocations: 17.06 kB / 4.191 GB, free: 112.5 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/14.49, allocations: 209.6 kB / 4.191 GB, free: 112.5 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.1332/14.62, allocations: 49.6 MB / 4.24 GB, free: 98.53 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/14.64, allocations: 5.542 MB / 4.245 GB, free: 98.46 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008358/14.64, allocations: 3.7 MB / 4.249 GB, free: 98.41 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/14.65, allocations: 2.181 MB / 4.251 GB, free: 96.06 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/14.65, allocations: 97.69 kB / 4.251 GB, free: 96.02 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=482): time 1.19e-05/14.65, allocations: 0 / 4.251 GB, free: 96.02 MB / 0.9793 GB Notification: Performance of matching and sorting (n=482): time 0.02187/14.67, allocations: 7.208 MB / 4.258 GB, free: 95.16 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/14.67, allocations: 360.7 kB / 4.258 GB, free: 94.78 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03608/14.7, allocations: 12.75 MB / 4.271 GB, free: 94.15 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001905/14.71, allocations: 35.17 kB / 4.271 GB, free: 94.12 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01112/14.72, allocations: 5.94 MB / 4.277 GB, free: 92.39 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.004552/14.72, allocations: 1.648 MB / 4.278 GB, free: 91.31 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/14.72, allocations: 0 / 4.278 GB, free: 91.31 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001116/14.73, allocations: 0.5693 MB / 4.279 GB, free: 90.99 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008025/14.73, allocations: 3.342 MB / 4.282 GB, free: 90.98 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009179/14.74, allocations: 5.502 MB / 4.288 GB, free: 88.81 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/14.75, allocations: 4.625 MB / 4.292 GB, free: 88.71 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/14.75, allocations: 11.31 kB / 4.292 GB, free: 88.71 MB / 0.9793 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02961/14.78, allocations: 10.32 MB / 4.302 GB, free: 87.76 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.008848/14.79, allocations: 24.19 MB / 4.326 GB, free: 78.28 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003868/14.79, allocations: 61.84 kB / 4.326 GB, free: 78.28 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/14.79, allocations: 0.9682 MB / 4.327 GB, free: 78.12 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006751/14.8, allocations: 1.447 MB / 4.328 GB, free: 78.12 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02878/14.83, allocations: 32.01 MB / 4.359 GB, free: 68.62 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/14.85, allocations: 1.145 MB / 4.361 GB, free: 68.29 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003057/14.85, allocations: 273.3 kB / 4.361 GB, free: 68.29 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/14.85, allocations: 4.656 kB / 4.361 GB, free: 68.29 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02556/14.88, allocations: 9.212 MB / 4.37 GB, free: 67.93 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00042/14.88, allocations: 67.59 kB / 4.37 GB, free: 67.93 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/14.88, allocations: 0.9679 MB / 4.371 GB, free: 67.77 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/14.89, allocations: 1.45 MB / 4.372 GB, free: 67.77 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02951/14.92, allocations: 32.03 MB / 4.404 GB, free: 55.03 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/14.93, allocations: 1.023 MB / 4.405 GB, free: 54.79 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002611/14.93, allocations: 271.8 kB / 4.405 GB, free: 54.73 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.004105/14.94, allocations: 276.5 kB / 4.405 GB, free: 54.59 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02147/14.96, allocations: 7.197 MB / 4.412 GB, free: 51.86 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005993/14.97, allocations: 1.053 MB / 4.413 GB, free: 51.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/14.99, allocations: 7.961 MB / 4.421 GB, free: 48.49 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-05/14.99, allocations: 46.91 kB / 4.421 GB, free: 48.49 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-05/14.99, allocations: 18.67 kB / 4.421 GB, free: 48.49 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0149/15.01, allocations: 6.285 MB / 4.427 GB, free: 46.27 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0833/15.09, allocations: 42.63 MB / 4.469 GB, free: 31.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.218e-05/15.09, allocations: 7.469 kB / 4.469 GB, free: 31.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00503/15.1, allocations: 1.07 MB / 4.47 GB, free: 31.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/15.1, allocations: 0.9114 MB / 4.471 GB, free: 30.97 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/15.1, allocations: 90.88 kB / 4.471 GB, free: 30.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02737/15.13, allocations: 31.96 MB / 4.502 GB, free: 18.14 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.826e-05/15.13, allocations: 18.47 kB / 4.502 GB, free: 18.14 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/15.15, allocations: 14.5 MB / 4.516 GB, free: 9.891 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/15.17, allocations: 2.744 MB / 4.519 GB, free: 8.34 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006796/15.17, allocations: 55.78 kB / 4.519 GB, free: 8.324 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01243/15.19, allocations: 0.5091 MB / 4.519 GB, free: 8.281 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/15.19, allocations: 356.5 kB / 4.52 GB, free: 8.211 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00175/15.19, allocations: 196.5 kB / 4.52 GB, free: 8.176 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03178/15.22, allocations: 9.744 MB / 4.529 GB, free: 4.586 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.62e-07/15.22, allocations: 0 / 4.529 GB, free: 4.586 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0516/15.27, allocations: 6.688 MB / 4.536 GB, free: 3.68 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.8648/16.14, allocations: 17.07 MB / 4.553 GB, free: 166.9 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03453/16.17, allocations: 17.44 MB / 4.57 GB, free: 162.1 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.755e-05/16.17, allocations: 5.625 kB / 4.57 GB, free: 162.1 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/16.18, allocations: 5.399 MB / 4.575 GB, free: 160 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04464/16.23, allocations: 5.987 MB / 4.581 GB, free: 159.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1218/16.35, allocations: 29.33 MB / 4.609 GB, free: 155.1 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03068/16.38, allocations: 9.557 MB / 4.619 GB, free: 154.1 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.05583/16.44, allocations: 11.62 MB / 4.63 GB, free: 153.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0206/16.46, allocations: 5.333 MB / 4.635 GB, free: 153.4 MB / 1.057 GB Notification: Performance of SimCode: time 2.805e-06/16.46, allocations: 0 / 4.635 GB, free: 153.4 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.375/17.83, allocations: 334.2 MB / 4.962 GB, free: 156.8 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/17.83, allocations: 234.3 kB / 4.962 GB, free: 156.5 MB / 1.073 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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_maint_8_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_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_maint_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_maint_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1