Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.0009783/0.0009782, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7553/0.7553, allocations: 133.6 MB / 141.6 MB, free: 2.941 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.000877, allocations: 96.45 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.695e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5318, allocations: 82.3 MB / 0.634 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8607/1.393, allocations: 387.2 MB / 1.012 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/1.393, allocations: 110.5 kB / 1.012 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 12.52/13.92, allocations: 2.825 GB / 3.837 GB, free: 88.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.405e-06/13.92, allocations: 0 / 3.837 GB, free: 88.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.004412/13.92, allocations: 311 kB / 3.838 GB, free: 88.05 MB / 0.7292 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.05289/13.97, allocations: 10.87 MB / 3.848 GB, free: 83.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/13.97, allocations: 9.5 kB / 3.848 GB, free: 83.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/13.99, allocations: 1.62 MB / 3.85 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06733/14.06, allocations: 18.89 MB / 3.868 GB, free: 81.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008268/14.06, allocations: 267.8 kB / 3.869 GB, free: 81.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005692/14.06, allocations: 0.5049 MB / 3.869 GB, free: 81.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03494/14.1, allocations: 9.572 MB / 3.878 GB, free: 81.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/14.15, allocations: 10.6 MB / 3.889 GB, free: 80.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000894/14.15, allocations: 28.69 kB / 3.889 GB, free: 80.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004398/14.15, allocations: 8.906 kB / 3.889 GB, free: 80.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/14.15, allocations: 206 kB / 3.889 GB, free: 80.13 MB / 0.7292 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.1203/14.27, allocations: 49.58 MB / 3.937 GB, free: 55.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/14.28, allocations: 5.545 MB / 3.943 GB, free: 53.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007288/14.29, allocations: 3.693 MB / 3.947 GB, free: 51.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/14.29, allocations: 2.188 MB / 3.949 GB, free: 49.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/14.29, allocations: 95.11 kB / 3.949 GB, free: 49.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=482): time 1.581e-05/14.29, allocations: 0 / 3.949 GB, free: 49.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=482): time 0.02181/14.31, allocations: 7.209 MB / 3.956 GB, free: 43.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/14.31, allocations: 368.2 kB / 3.956 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03978/14.35, allocations: 12.83 MB / 3.969 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002079/14.36, allocations: 33.7 kB / 3.969 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01135/14.37, allocations: 6.015 MB / 3.975 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004109/14.37, allocations: 1.656 MB / 3.976 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/14.37, allocations: 0 / 3.976 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.001045/14.37, allocations: 0.5682 MB / 3.977 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007119/14.38, allocations: 3.342 MB / 3.98 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/14.39, allocations: 5.318 MB / 3.985 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/14.41, allocations: 4.609 MB / 3.99 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/14.41, allocations: 12 kB / 3.99 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03558/14.44, allocations: 10.31 MB / 4 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.329/15.77, allocations: 24.22 MB / 4.023 GB, free: 69.57 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004212/15.77, allocations: 64.06 kB / 4.023 GB, free: 69.57 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/15.77, allocations: 0.9674 MB / 4.024 GB, free: 69.42 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007401/15.78, allocations: 1.445 MB / 4.026 GB, free: 69.42 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02758/15.81, allocations: 32.02 MB / 4.057 GB, free: 60.24 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01751/15.83, allocations: 1.12 MB / 4.058 GB, free: 60.24 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/15.83, allocations: 274.2 kB / 4.058 GB, free: 60.24 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/15.83, allocations: 6.5 kB / 4.058 GB, free: 60.24 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01912/15.85, allocations: 9.203 MB / 4.067 GB, free: 59.88 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/15.85, allocations: 66.19 kB / 4.068 GB, free: 59.88 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/15.85, allocations: 0.9704 MB / 4.068 GB, free: 59.72 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/15.86, allocations: 1.449 MB / 4.07 GB, free: 59.72 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/15.88, allocations: 32.02 MB / 4.101 GB, free: 50.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/15.9, allocations: 1.004 MB / 4.102 GB, free: 50.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002648/15.9, allocations: 271.9 kB / 4.102 GB, free: 50.52 MB / 0.7605 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.002539/15.9, allocations: 276.9 kB / 4.103 GB, free: 50.41 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01734/15.92, allocations: 7.201 MB / 4.11 GB, free: 49.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005247/15.92, allocations: 1.06 MB / 4.111 GB, free: 49.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/15.94, allocations: 7.976 MB / 4.119 GB, free: 48.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/15.94, allocations: 50.03 kB / 4.119 GB, free: 48.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/15.94, allocations: 13.72 kB / 4.119 GB, free: 48.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01137/15.95, allocations: 6.286 MB / 4.125 GB, free: 48.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07499/16.03, allocations: 42.66 MB / 4.166 GB, free: 41.68 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/16.03, allocations: 18.09 kB / 4.166 GB, free: 41.68 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004613/16.03, allocations: 1.062 MB / 4.167 GB, free: 41.68 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/16.04, allocations: 0.9125 MB / 4.168 GB, free: 41.53 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008583/16.04, allocations: 100.3 kB / 4.168 GB, free: 41.53 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/16.06, allocations: 31.95 MB / 4.2 GB, free: 32.09 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/16.06, allocations: 14.22 kB / 4.2 GB, free: 32.09 MB / 0.7918 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02412/16.09, allocations: 14.53 MB / 4.214 GB, free: 27.35 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01069/16.1, allocations: 2.759 MB / 4.217 GB, free: 26.69 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005125/16.1, allocations: 58.09 kB / 4.217 GB, free: 26.68 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01151/16.11, allocations: 0.5098 MB / 4.217 GB, free: 26.66 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00201/16.12, allocations: 359.4 kB / 4.217 GB, free: 26.65 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008056/16.12, allocations: 193.6 kB / 4.218 GB, free: 26.65 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.02689/16.14, allocations: 9.819 MB / 4.227 GB, free: 26.33 MB / 0.7918 GB Notification: Performance of sort global known variables: time 2.91e-07/16.14, allocations: 0 / 4.227 GB, free: 26.33 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.04335/16.19, allocations: 6.68 MB / 4.234 GB, free: 25.89 MB / 0.7918 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.03558/16.22, allocations: 17.06 MB / 4.25 GB, free: 35.95 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0334/16.26, allocations: 17.43 MB / 4.267 GB, free: 26.97 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.966e-05/16.26, allocations: 10.88 kB / 4.267 GB, free: 26.97 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/16.27, allocations: 5.393 MB / 4.273 GB, free: 23.68 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03859/16.31, allocations: 5.942 MB / 4.278 GB, free: 22.74 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09517/16.4, allocations: 29.45 MB / 4.307 GB, free: 268 kB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6547/17.06, allocations: 10.21 MB / 4.317 GB, free: 148.5 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.04049/17.1, allocations: 11.69 MB / 4.329 GB, free: 148.4 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01341/17.11, allocations: 5.364 MB / 4.334 GB, free: 148.4 MB / 0.8074 GB Notification: Performance of SimCode: time 2.806e-06/17.11, allocations: 0 / 4.334 GB, free: 148.4 MB / 0.8074 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/18.27, allocations: 333.2 MB / 4.659 GB, free: 147 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/18.27, allocations: 209.8 kB / 4.659 GB, free: 146.8 MB / 0.823 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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1175: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: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1