Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001399/0.001399, allocations: 172.5 kB / 7.646 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.77/0.77, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.845/1.845, allocations: 221.5 MB / 395.5 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.002063/0.002062, allocations: 102 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-05/7.558e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.185, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.958/3.143, allocations: 387.2 MB / 1.012 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00069/3.144, allocations: 118.1 kB / 1.012 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 21.98/25.12, allocations: 2.825 GB / 3.837 GB, free: 87.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.037e-06/25.12, allocations: 0 / 3.837 GB, free: 87.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.004763/25.13, allocations: 319.1 kB / 3.838 GB, free: 87.52 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.06329/25.19, allocations: 10.87 MB / 3.848 GB, free: 83.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.793e-05/25.19, allocations: 8.719 kB / 3.848 GB, free: 83.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/25.21, allocations: 1.628 MB / 3.85 GB, free: 82.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08129/25.29, allocations: 18.88 MB / 3.868 GB, free: 80.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/25.29, allocations: 270.6 kB / 3.869 GB, free: 80.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007119/25.3, allocations: 0.5125 MB / 3.869 GB, free: 80.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04636/25.35, allocations: 9.577 MB / 3.878 GB, free: 80.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0657/25.41, allocations: 10.6 MB / 3.889 GB, free: 79.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001246/25.41, allocations: 31.73 kB / 3.889 GB, free: 79.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006551/25.42, allocations: 10.69 kB / 3.889 GB, free: 79.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/25.42, allocations: 206.9 kB / 3.889 GB, free: 79.64 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.1989/25.62, allocations: 49.57 MB / 3.937 GB, free: 55.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/25.64, allocations: 5.536 MB / 3.943 GB, free: 53.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/25.65, allocations: 3.7 MB / 3.947 GB, free: 51.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/25.65, allocations: 2.189 MB / 3.949 GB, free: 49.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/25.65, allocations: 93.64 kB / 3.949 GB, free: 49.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=482): time 1.454e-05/25.65, allocations: 3.188 kB / 3.949 GB, free: 49.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=482): time 0.04006/25.69, allocations: 7.211 MB / 3.956 GB, free: 43.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/25.69, allocations: 364.2 kB / 3.956 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0542/25.75, allocations: 12.83 MB / 3.969 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002706/25.75, allocations: 33.7 kB / 3.969 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01529/25.77, allocations: 6.02 MB / 3.975 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.005441/25.77, allocations: 1.65 MB / 3.976 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/25.77, allocations: 4 kB / 3.976 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0009171/25.77, allocations: 0.5692 MB / 3.977 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008977/25.78, allocations: 3.343 MB / 3.98 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/25.8, allocations: 5.313 MB / 3.985 GB, free: 16.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/25.81, allocations: 4.613 MB / 3.99 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/25.81, allocations: 12 kB / 3.99 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.04388/25.86, allocations: 10.32 MB / 4 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.859/27.72, allocations: 24.21 MB / 4.023 GB, free: 70.36 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008136/27.72, allocations: 65.86 kB / 4.023 GB, free: 70.36 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/27.72, allocations: 0.9624 MB / 4.024 GB, free: 70.21 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/27.74, allocations: 1.446 MB / 4.026 GB, free: 70.21 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04434/27.78, allocations: 32.02 MB / 4.057 GB, free: 61.03 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02757/27.81, allocations: 1.107 MB / 4.058 GB, free: 61.03 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003694/27.81, allocations: 274.6 kB / 4.058 GB, free: 61.03 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/27.81, allocations: 4.469 kB / 4.058 GB, free: 61.03 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04779/27.86, allocations: 9.204 MB / 4.067 GB, free: 60.67 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007157/27.86, allocations: 64.53 kB / 4.068 GB, free: 60.67 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/27.87, allocations: 0.9667 MB / 4.068 GB, free: 60.51 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/27.88, allocations: 1.452 MB / 4.07 GB, free: 60.51 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04628/27.92, allocations: 32.02 MB / 4.101 GB, free: 51.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/27.95, allocations: 1.011 MB / 4.102 GB, free: 51.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003582/27.95, allocations: 275.7 kB / 4.102 GB, free: 51.31 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.005659/27.96, allocations: 274.8 kB / 4.103 GB, free: 51.2 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03622/27.99, allocations: 7.199 MB / 4.11 GB, free: 50.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00858/28, allocations: 1.06 MB / 4.111 GB, free: 49.89 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04093/28.04, allocations: 7.972 MB / 4.119 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/28.04, allocations: 48.72 kB / 4.119 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.125e-05/28.04, allocations: 16.67 kB / 4.119 GB, free: 49.43 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02495/28.07, allocations: 6.289 MB / 4.125 GB, free: 49.09 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1304/28.2, allocations: 42.65 MB / 4.166 GB, free: 42.48 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/28.2, allocations: 11.97 kB / 4.166 GB, free: 42.48 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00829/28.21, allocations: 1.062 MB / 4.167 GB, free: 42.48 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003574/28.21, allocations: 0.9194 MB / 4.168 GB, free: 42.33 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00122/28.21, allocations: 90.36 kB / 4.168 GB, free: 42.33 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04804/28.26, allocations: 31.95 MB / 4.2 GB, free: 32.89 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-05/28.26, allocations: 21.95 kB / 4.2 GB, free: 32.89 MB / 0.7918 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04833/28.31, allocations: 14.53 MB / 4.214 GB, free: 28.13 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01761/28.33, allocations: 2.749 MB / 4.217 GB, free: 27.47 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009411/28.34, allocations: 55.84 kB / 4.217 GB, free: 27.47 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02054/28.36, allocations: 0.5168 MB / 4.217 GB, free: 27.45 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002879/28.36, allocations: 353.8 kB / 4.217 GB, free: 27.44 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002354/28.36, allocations: 195.3 kB / 4.218 GB, free: 27.44 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.04678/28.41, allocations: 9.819 MB / 4.227 GB, free: 27.12 MB / 0.7918 GB Notification: Performance of sort global known variables: time 1.844e-06/28.41, allocations: 0 / 4.227 GB, free: 27.12 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.0701/28.48, allocations: 6.686 MB / 4.234 GB, free: 26.7 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.0601/28.54, allocations: 17.06 MB / 4.25 GB, free: 36.8 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.05979/28.6, allocations: 17.43 MB / 4.267 GB, free: 28.14 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 6.199e-05/28.6, allocations: 7.625 kB / 4.267 GB, free: 28.14 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/28.62, allocations: 5.384 MB / 4.273 GB, free: 24.85 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06686/28.68, allocations: 5.941 MB / 4.278 GB, free: 23.92 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/28.86, allocations: 29.46 MB / 4.307 GB, free: 1.113 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.192/30.06, allocations: 9.828 MB / 4.317 GB, free: 147.6 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.07568/30.13, allocations: 11.68 MB / 4.328 GB, free: 147.5 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02333/30.16, allocations: 5.366 MB / 4.333 GB, free: 147.5 MB / 0.8074 GB Notification: Performance of SimCode: time 1.934e-06/30.16, allocations: 0 / 4.333 GB, free: 147.5 MB / 0.8074 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.953/32.11, allocations: 333.2 MB / 4.659 GB, free: 146.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/32.11, allocations: 207.5 kB / 4.659 GB, free: 146.6 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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from IDEAS_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1