Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 171.7 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 93.58 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.324e-05, allocations: 5.562 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.664, allocations: 426.1 MB / 1.629 GB, free: 3.582 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004391/1.664, allocations: 117.2 kB / 1.629 GB, free: 3.516 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 11.96/13.63, allocations: 2.888 GB / 4.516 GB, free: 177.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.797e-06/13.63, allocations: 2.844 kB / 4.516 GB, free: 177.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.004443/13.63, allocations: 315.2 kB / 4.516 GB, free: 177.5 MB / 1.182 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.04463/13.68, allocations: 10.87 MB / 4.527 GB, free: 173.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/13.68, allocations: 15 kB / 4.527 GB, free: 173.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/13.69, allocations: 1.618 MB / 4.529 GB, free: 172.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05622/13.75, allocations: 18.89 MB / 4.547 GB, free: 170.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008618/13.75, allocations: 267.4 kB / 4.547 GB, free: 170.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004783/13.75, allocations: 0.5088 MB / 4.548 GB, free: 170.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02838/13.78, allocations: 9.572 MB / 4.557 GB, free: 170.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/13.82, allocations: 10.6 MB / 4.568 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007139/13.82, allocations: 22.41 kB / 4.568 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003999/13.82, allocations: 11.47 kB / 4.568 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/13.82, allocations: 204.5 kB / 4.568 GB, free: 169.9 MB / 1.182 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.1034/13.92, allocations: 49.58 MB / 4.616 GB, free: 155.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/13.94, allocations: 5.542 MB / 4.622 GB, free: 155.5 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005656/13.94, allocations: 3.7 MB / 4.625 GB, free: 155.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/13.94, allocations: 2.177 MB / 4.627 GB, free: 153.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.98e-05/13.94, allocations: 95.39 kB / 4.627 GB, free: 153.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=482): time 7.063e-06/13.94, allocations: 4.719 kB / 4.627 GB, free: 153.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=482): time 0.01792/13.96, allocations: 7.221 MB / 4.635 GB, free: 152.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/13.96, allocations: 359.3 kB / 4.635 GB, free: 151.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03123/13.99, allocations: 12.84 MB / 4.647 GB, free: 150.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/13.99, allocations: 36.23 kB / 4.647 GB, free: 150.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.008228/14, allocations: 6.018 MB / 4.653 GB, free: 145.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.003368/14.01, allocations: 1.641 MB / 4.655 GB, free: 144.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/14.01, allocations: 0 / 4.655 GB, free: 144.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0005974/14.01, allocations: 0.5818 MB / 4.655 GB, free: 144 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/14.01, allocations: 3.339 MB / 4.659 GB, free: 142.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006542/14.02, allocations: 5.317 MB / 4.664 GB, free: 139.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008813/14.03, allocations: 4.614 MB / 4.668 GB, free: 137.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.709e-05/14.03, allocations: 14.09 kB / 4.668 GB, free: 137.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03029/14.06, allocations: 10.32 MB / 4.679 GB, free: 134 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006624/14.06, allocations: 24.22 MB / 4.702 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005526/14.07, allocations: 64.72 kB / 4.702 GB, free: 108.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/14.07, allocations: 0.9622 MB / 4.703 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006873/14.08, allocations: 1.452 MB / 4.705 GB, free: 107.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/14.09, allocations: 32.01 MB / 4.736 GB, free: 79.12 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/14.11, allocations: 1.112 MB / 4.737 GB, free: 78.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/14.11, allocations: 282.8 kB / 4.737 GB, free: 78.75 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/14.11, allocations: 2.375 kB / 4.737 GB, free: 78.75 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01941/14.13, allocations: 9.2 MB / 4.746 GB, free: 75.47 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/14.13, allocations: 68.02 kB / 4.746 GB, free: 75.46 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/14.13, allocations: 0.9734 MB / 4.747 GB, free: 75.06 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005894/14.14, allocations: 1.441 MB / 4.749 GB, free: 74.93 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/14.16, allocations: 32.04 MB / 4.78 GB, free: 46.05 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01497/14.17, allocations: 1.006 MB / 4.781 GB, free: 45.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002732/14.18, allocations: 271 kB / 4.781 GB, free: 45.75 MB / 1.182 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.002798/14.18, allocations: 265.1 kB / 4.781 GB, free: 45.53 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02238/14.2, allocations: 7.208 MB / 4.788 GB, free: 42.76 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006724/14.21, allocations: 1.061 MB / 4.789 GB, free: 42.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/14.23, allocations: 7.969 MB / 4.797 GB, free: 35.93 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/14.23, allocations: 46.62 kB / 4.797 GB, free: 35.89 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/14.23, allocations: 12 kB / 4.797 GB, free: 35.88 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01021/14.24, allocations: 6.288 MB / 4.803 GB, free: 30.56 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07341/14.31, allocations: 42.66 MB / 4.845 GB, free: 5.309 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/14.31, allocations: 12.22 kB / 4.845 GB, free: 5.297 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004798/14.32, allocations: 1.069 MB / 4.846 GB, free: 4.422 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/14.32, allocations: 0.9122 MB / 4.847 GB, free: 3.609 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008057/14.32, allocations: 96.11 kB / 4.847 GB, free: 3.535 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/14.35, allocations: 31.95 MB / 4.878 GB, free: 3 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/14.35, allocations: 19.88 kB / 4.878 GB, free: 2.98 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.898/16.24, allocations: 14.52 MB / 4.893 GB, free: 204.1 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/16.25, allocations: 2.753 MB / 4.895 GB, free: 204 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005259/16.26, allocations: 55.42 kB / 4.895 GB, free: 204 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01241/16.27, allocations: 0.51 MB / 4.896 GB, free: 204 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/16.27, allocations: 357.8 kB / 4.896 GB, free: 204 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008178/16.27, allocations: 201.1 kB / 4.896 GB, free: 204 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02938/16.3, allocations: 9.816 MB / 4.906 GB, free: 203.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.52e-07/16.3, allocations: 3.625 kB / 4.906 GB, free: 203.7 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04443/16.35, allocations: 6.679 MB / 4.912 GB, free: 203.3 MB / 1.229 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.03345/16.38, allocations: 17.07 MB / 4.929 GB, free: 197.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.02671/16.41, allocations: 17.42 MB / 4.946 GB, free: 192.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.24e-05/16.41, allocations: 4.781 kB / 4.946 GB, free: 192.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.006977/16.42, allocations: 5.397 MB / 4.951 GB, free: 190.6 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03545/16.45, allocations: 5.95 MB / 4.957 GB, free: 190.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07539/16.53, allocations: 29.45 MB / 4.986 GB, free: 185.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/16.54, allocations: 9.594 MB / 4.995 GB, free: 184.7 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03875/16.58, allocations: 11.63 MB / 5.007 GB, free: 184.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0147/16.6, allocations: 5.366 MB / 5.012 GB, free: 184.3 MB / 1.229 GB Notification: Performance of SimCode: time 9.42e-07/16.6, allocations: 2.719 kB / 5.012 GB, free: 184.3 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5165/17.11, allocations: 333.2 MB / 5.337 GB, free: 13.54 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/17.11, allocations: 227.1 kB / 5.338 GB, free: 13.25 MB / 1.276 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_latest_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_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:915: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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1