Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8598/0.8598, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 184.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001012/0.001012, allocations: 87.86 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 276.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.579e-05, allocations: 4 kB / 0.6767 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5222, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9127/1.435, allocations: 385.1 MB / 1.134 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.435, allocations: 115.8 kB / 1.134 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.74/14.18, allocations: 2.822 GB / 3.956 GB, free: 92.95 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.442e-06/14.18, allocations: 0 / 3.956 GB, free: 92.95 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.003267/14.18, allocations: 307.2 kB / 3.956 GB, free: 92.92 MB / 0.7449 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.05003/14.23, allocations: 10.84 MB / 3.967 GB, free: 88.64 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 8.271e-05/14.23, allocations: 9.719 kB / 3.967 GB, free: 88.64 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/14.25, allocations: 1.624 MB / 3.968 GB, free: 87.85 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05678/14.31, allocations: 18.64 MB / 3.987 GB, free: 86.11 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008368/14.31, allocations: 268.1 kB / 3.987 GB, free: 86.11 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005187/14.31, allocations: 0.5179 MB / 3.987 GB, free: 86.1 MB / 0.7449 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0291/14.34, allocations: 9.576 MB / 3.997 GB, free: 86.06 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.043/14.38, allocations: 10.6 MB / 4.007 GB, free: 85.14 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009569/14.39, allocations: 28.25 kB / 4.007 GB, free: 85.14 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004682/14.39, allocations: 12.62 kB / 4.007 GB, free: 85.14 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/14.39, allocations: 213.1 kB / 4.007 GB, free: 85.14 MB / 0.7449 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.1267/14.52, allocations: 49.6 MB / 4.056 GB, free: 70.84 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/14.53, allocations: 5.543 MB / 4.061 GB, free: 70.76 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007777/14.54, allocations: 3.703 MB / 4.065 GB, free: 69.58 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/14.54, allocations: 2.176 MB / 4.067 GB, free: 67.21 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/14.54, allocations: 102.4 kB / 4.067 GB, free: 67.13 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=482): time 1.828e-05/14.54, allocations: 0 / 4.067 GB, free: 67.13 MB / 0.7449 GB Notification: Performance of matching and sorting (n=482): time 0.02643/14.57, allocations: 7.206 MB / 4.074 GB, free: 64.41 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/14.57, allocations: 365.4 kB / 4.074 GB, free: 64.03 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04346/14.61, allocations: 12.75 MB / 4.087 GB, free: 59.53 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.002295/14.61, allocations: 31.7 kB / 4.087 GB, free: 59.5 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.01323/14.62, allocations: 5.951 MB / 4.093 GB, free: 54.9 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.005283/14.63, allocations: 1.652 MB / 4.094 GB, free: 53.61 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00286/14.63, allocations: 3.828 kB / 4.094 GB, free: 53.61 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.001805/14.63, allocations: 0.5721 MB / 4.095 GB, free: 53.19 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009516/14.64, allocations: 3.341 MB / 4.098 GB, free: 51.93 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/14.66, allocations: 5.492 MB / 4.103 GB, free: 48.28 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/14.67, allocations: 4.63 MB / 4.108 GB, free: 46.61 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000202/14.67, allocations: 11.12 kB / 4.108 GB, free: 46.61 MB / 0.7449 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03945/14.71, allocations: 10.31 MB / 4.118 GB, free: 41.12 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.01204/14.72, allocations: 24.2 MB / 4.142 GB, free: 31.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004679/14.72, allocations: 64 kB / 4.142 GB, free: 31.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/14.72, allocations: 0.9664 MB / 4.143 GB, free: 30.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006877/14.73, allocations: 1.447 MB / 4.144 GB, free: 28.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02599/14.76, allocations: 32.02 MB / 4.175 GB, free: 12.36 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01618/14.77, allocations: 1.14 MB / 4.176 GB, free: 11.48 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/14.77, allocations: 274.1 kB / 4.177 GB, free: 11.22 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/14.77, allocations: 7.938 kB / 4.177 GB, free: 11.21 MB / 0.7762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01895/14.79, allocations: 9.206 MB / 4.186 GB, free: 3.32 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003262/14.79, allocations: 67.05 kB / 4.186 GB, free: 3.258 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/14.8, allocations: 0.9704 MB / 4.187 GB, free: 2.391 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006935/14.8, allocations: 1.443 MB / 4.188 GB, free: 1.156 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7699/15.57, allocations: 32.02 MB / 4.219 GB, free: 84.54 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/15.59, allocations: 1.028 MB / 4.22 GB, free: 84.54 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/15.59, allocations: 270.2 kB / 4.221 GB, free: 84.54 MB / 0.7762 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.002468/15.59, allocations: 279.9 kB / 4.221 GB, free: 84.43 MB / 0.7762 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01848/15.61, allocations: 7.193 MB / 4.228 GB, free: 84.12 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006185/15.62, allocations: 1.051 MB / 4.229 GB, free: 83.68 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02522/15.64, allocations: 7.971 MB / 4.237 GB, free: 83.22 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-05/15.64, allocations: 45.06 kB / 4.237 GB, free: 83.22 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.393e-05/15.64, allocations: 11.31 kB / 4.237 GB, free: 83.22 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01482/15.66, allocations: 6.299 MB / 4.243 GB, free: 82.88 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07948/15.74, allocations: 42.63 MB / 4.285 GB, free: 60.27 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.538e-05/15.74, allocations: 7.625 kB / 4.285 GB, free: 60.27 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005308/15.74, allocations: 1.063 MB / 4.286 GB, free: 60.27 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/15.75, allocations: 0.9155 MB / 4.287 GB, free: 60.12 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001391/15.75, allocations: 94.55 kB / 4.287 GB, free: 60.12 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/15.77, allocations: 31.95 MB / 4.318 GB, free: 34.69 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/15.77, allocations: 14.06 kB / 4.318 GB, free: 34.69 MB / 0.7762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0312/15.8, allocations: 14.49 MB / 4.332 GB, free: 45.95 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01156/15.81, allocations: 2.752 MB / 4.335 GB, free: 45.29 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006325/15.82, allocations: 53.88 kB / 4.335 GB, free: 45.29 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01174/15.83, allocations: 0.5051 MB / 4.335 GB, free: 45.27 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00184/15.83, allocations: 358.8 kB / 4.336 GB, free: 45.25 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001574/15.83, allocations: 192.5 kB / 4.336 GB, free: 45.25 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.02783/15.86, allocations: 9.756 MB / 4.345 GB, free: 44.93 MB / 0.7918 GB Notification: Performance of sort global known variables: time 5.31e-07/15.86, allocations: 2.938 kB / 4.345 GB, free: 44.93 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.04807/15.91, allocations: 6.69 MB / 4.352 GB, free: 44.51 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.03681/15.95, allocations: 17.09 MB / 4.368 GB, free: 38.71 MB / 0.7918 GB Notification: Performance of simCode: created initialization part: time 0.03271/15.98, allocations: 17.43 MB / 4.386 GB, free: 33.81 MB / 0.7918 GB Notification: Performance of simCode: created event and clocks part: time 2.917e-05/15.98, allocations: 5.625 kB / 4.386 GB, free: 33.81 MB / 0.7918 GB Notification: Performance of simCode: created simulation system equations: time 0.008881/15.99, allocations: 5.399 MB / 4.391 GB, free: 31.73 MB / 0.7918 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03676/16.02, allocations: 5.988 MB / 4.397 GB, free: 31.63 MB / 0.7918 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/16.13, allocations: 29.35 MB / 4.425 GB, free: 26.28 MB / 0.7918 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0224/16.15, allocations: 9.561 MB / 4.435 GB, free: 23.56 MB / 0.7918 GB Notification: Performance of simCode: alias equations: time 0.04255/16.19, allocations: 11.47 MB / 4.446 GB, free: 19.06 MB / 0.7918 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01502/16.21, allocations: 5.326 MB / 4.451 GB, free: 14.11 MB / 0.7918 GB Notification: Performance of SimCode: time 1.603e-06/16.21, allocations: 0 / 4.451 GB, free: 14.11 MB / 0.7918 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/17.36, allocations: 334.3 MB / 4.778 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/17.36, allocations: 226.9 kB / 4.778 GB, free: 14.31 MB / 0.8387 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:953:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1