Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001343/0.001343, allocations: 188.8 kB / 487.4 MB, free: 5.059 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.45/1.45, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008833, allocations: 102.1 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.057e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2704, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.486, allocations: 425.3 MB / 1.621 GB, free: 12 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.486, allocations: 115.2 kB / 1.622 GB, free: 11.94 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 11.18/12.67, allocations: 2.888 GB / 4.509 GB, free: 176.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.793e-06/12.67, allocations: 0 / 4.509 GB, free: 176.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.003597/12.67, allocations: 317.9 kB / 4.509 GB, free: 176.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.04402/12.72, allocations: 10.87 MB / 4.52 GB, free: 172.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/12.72, allocations: 11 kB / 4.52 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/12.73, allocations: 1.627 MB / 4.522 GB, free: 171.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05254/12.78, allocations: 18.87 MB / 4.54 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007517/12.78, allocations: 266.7 kB / 4.54 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004657/12.79, allocations: 0.5137 MB / 4.541 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02874/12.82, allocations: 9.574 MB / 4.55 GB, free: 169.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03987/12.86, allocations: 10.6 MB / 4.56 GB, free: 168.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008318/12.86, allocations: 40.69 kB / 4.56 GB, free: 168.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003866/12.86, allocations: 9.406 kB / 4.56 GB, free: 168.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/12.86, allocations: 208 kB / 4.561 GB, free: 168.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.103/12.96, allocations: 49.56 MB / 4.609 GB, free: 154.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/12.98, allocations: 5.547 MB / 4.615 GB, free: 154.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006891/12.98, allocations: 3.699 MB / 4.618 GB, free: 154.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002202/12.99, allocations: 2.182 MB / 4.62 GB, free: 152.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/12.99, allocations: 99.61 kB / 4.62 GB, free: 152.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=482): time 1.562e-05/12.99, allocations: 3.5 kB / 4.62 GB, free: 152.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=482): time 0.02152/13.01, allocations: 7.211 MB / 4.627 GB, free: 151.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/13.01, allocations: 361.8 kB / 4.628 GB, free: 150.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0467/13.05, allocations: 12.83 MB / 4.64 GB, free: 149.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002156/13.06, allocations: 32.73 kB / 4.64 GB, free: 149 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01182/13.07, allocations: 6.016 MB / 4.646 GB, free: 144.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.004127/13.07, allocations: 1.642 MB / 4.648 GB, free: 143.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/13.07, allocations: 0 / 4.648 GB, free: 143.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001089/13.08, allocations: 0.5854 MB / 4.648 GB, free: 142.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007345/13.08, allocations: 3.339 MB / 4.652 GB, free: 141.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009374/13.09, allocations: 5.31 MB / 4.657 GB, free: 138 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/13.1, allocations: 4.613 MB / 4.661 GB, free: 136.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/13.1, allocations: 12.12 kB / 4.661 GB, free: 136.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02942/13.13, allocations: 10.32 MB / 4.671 GB, free: 132.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.007308/13.14, allocations: 24.22 MB / 4.695 GB, free: 107 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004241/13.14, allocations: 64.94 kB / 4.695 GB, free: 107 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/13.14, allocations: 0.9702 MB / 4.696 GB, free: 106.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008123/13.15, allocations: 1.443 MB / 4.697 GB, free: 106.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02753/13.18, allocations: 32.01 MB / 4.729 GB, free: 77.83 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.016/13.19, allocations: 1.112 MB / 4.73 GB, free: 77.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/13.2, allocations: 273.8 kB / 4.73 GB, free: 77.45 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/13.2, allocations: 3.938 kB / 4.73 GB, free: 77.45 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02517/13.22, allocations: 9.21 MB / 4.739 GB, free: 74.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000371/13.22, allocations: 66.03 kB / 4.739 GB, free: 74.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/13.22, allocations: 0.9719 MB / 4.74 GB, free: 73.79 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006435/13.23, allocations: 1.451 MB / 4.742 GB, free: 73.66 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/13.26, allocations: 32.03 MB / 4.773 GB, free: 44.79 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/13.27, allocations: 1.007 MB / 4.774 GB, free: 44.54 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/13.28, allocations: 269.2 kB / 4.774 GB, free: 44.48 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.004105/13.28, allocations: 274.6 kB / 4.774 GB, free: 44.25 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02294/13.3, allocations: 7.204 MB / 4.781 GB, free: 41.49 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008338/13.31, allocations: 1.056 MB / 4.782 GB, free: 40.93 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02517/13.34, allocations: 7.97 MB / 4.79 GB, free: 35.74 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/13.34, allocations: 50.23 kB / 4.79 GB, free: 35.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/13.34, allocations: 12 kB / 4.79 GB, free: 35.69 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01338/13.35, allocations: 6.292 MB / 4.796 GB, free: 30.36 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0843/13.44, allocations: 42.66 MB / 4.838 GB, free: 5.137 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.222e-05/13.44, allocations: 12 kB / 4.838 GB, free: 5.125 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006178/13.44, allocations: 1.062 MB / 4.839 GB, free: 4.258 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/13.45, allocations: 0.9126 MB / 4.84 GB, free: 3.445 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001809/13.45, allocations: 97.86 kB / 4.84 GB, free: 3.367 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791/15.24, allocations: 31.95 MB / 4.871 GB, free: 182.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.794e-05/15.24, allocations: 22.62 kB / 4.871 GB, free: 182.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/15.27, allocations: 14.52 MB / 4.885 GB, free: 178.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01216/15.28, allocations: 2.759 MB / 4.888 GB, free: 178 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005992/15.29, allocations: 54.77 kB / 4.888 GB, free: 178 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01195/15.3, allocations: 0.508 MB / 4.889 GB, free: 178 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/15.3, allocations: 355.1 kB / 4.889 GB, free: 178 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006542/15.3, allocations: 197.3 kB / 4.889 GB, free: 178 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.024/15.32, allocations: 9.819 MB / 4.899 GB, free: 177.7 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.72e-07/15.32, allocations: 1.969 kB / 4.899 GB, free: 177.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04841/15.37, allocations: 6.676 MB / 4.905 GB, free: 177.2 MB / 1.214 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.04447/15.42, allocations: 17.07 MB / 4.922 GB, free: 171.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.03261/15.45, allocations: 17.43 MB / 4.939 GB, free: 166.6 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.389e-05/15.45, allocations: 3.688 kB / 4.939 GB, free: 166.6 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.008809/15.46, allocations: 5.385 MB / 4.944 GB, free: 164.5 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03776/15.5, allocations: 5.942 MB / 4.95 GB, free: 164.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09597/15.59, allocations: 29.45 MB / 4.979 GB, free: 159.7 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/15.61, allocations: 9.596 MB / 4.988 GB, free: 158.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03715/15.64, allocations: 11.62 MB / 5 GB, free: 158.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01169/15.65, allocations: 5.374 MB / 5.005 GB, free: 158.1 MB / 1.214 GB Notification: Performance of SimCode: time 6.71e-07/15.65, allocations: 0 / 5.005 GB, free: 158.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.368/17.02, allocations: 333.2 MB / 5.33 GB, free: 192.3 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/17.02, allocations: 215.3 kB / 5.33 GB, free: 192 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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_9_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_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1