Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 289.9 MB / 297.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 176.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 81.98 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.712e-05/4.726e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7526, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.933, allocations: 414.1 MB / 1.378 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.933, allocations: 111.4 kB / 1.378 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/12.58, allocations: 2.772 GB / 4.15 GB, free: 44.18 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.665e-06/12.58, allocations: 0 / 4.15 GB, free: 44.18 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003059/12.58, allocations: 312.5 kB / 4.15 GB, free: 43.9 MB / 0.9792 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.04119/12.62, allocations: 10.85 MB / 4.161 GB, free: 33.05 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/12.62, allocations: 8.031 kB / 4.161 GB, free: 33.05 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/12.64, allocations: 1.618 MB / 4.162 GB, free: 31.41 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0471/12.68, allocations: 18.68 MB / 4.181 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005503/12.68, allocations: 268 kB / 4.181 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/12.69, allocations: 0.5115 MB / 4.181 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02265/12.71, allocations: 9.572 MB / 4.191 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.583/14.29, allocations: 10.59 MB / 4.201 GB, free: 109.1 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006238/14.29, allocations: 29.59 kB / 4.201 GB, free: 109.1 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003524/14.3, allocations: 10.25 kB / 4.201 GB, free: 109.1 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/14.3, allocations: 205.9 kB / 4.201 GB, free: 109.1 MB / 0.9793 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.1036/14.4, allocations: 49.6 MB / 4.25 GB, free: 95.58 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/14.41, allocations: 5.54 MB / 4.255 GB, free: 95.52 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006388/14.42, allocations: 3.696 MB / 4.259 GB, free: 95.47 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/14.42, allocations: 2.181 MB / 4.261 GB, free: 93.12 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.184e-05/14.42, allocations: 97.11 kB / 4.261 GB, free: 93.08 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=482): time 8.106e-06/14.42, allocations: 3.828 kB / 4.261 GB, free: 93.08 MB / 0.9793 GB Notification: Performance of matching and sorting (n=482): time 0.0195/14.44, allocations: 7.211 MB / 4.268 GB, free: 92.21 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/14.44, allocations: 364.8 kB / 4.268 GB, free: 91.83 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03559/14.48, allocations: 12.74 MB / 4.281 GB, free: 91.25 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002006/14.48, allocations: 34.39 kB / 4.281 GB, free: 91.22 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01118/14.49, allocations: 5.943 MB / 4.287 GB, free: 89.99 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.004838/14.49, allocations: 1.649 MB / 4.288 GB, free: 89.14 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000927/14.5, allocations: 0 / 4.288 GB, free: 89.14 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0007915/14.5, allocations: 0.5742 MB / 4.289 GB, free: 88.82 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007323/14.5, allocations: 3.338 MB / 4.292 GB, free: 88.8 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008536/14.51, allocations: 5.502 MB / 4.297 GB, free: 86.64 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009849/14.52, allocations: 4.628 MB / 4.302 GB, free: 86.54 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.063e-05/14.52, allocations: 11.81 kB / 4.302 GB, free: 86.54 MB / 0.9793 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0281/14.55, allocations: 10.31 MB / 4.312 GB, free: 85.6 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.01036/14.56, allocations: 24.2 MB / 4.336 GB, free: 76.12 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004419/14.56, allocations: 69.39 kB / 4.336 GB, free: 76.12 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/14.56, allocations: 0.9607 MB / 4.337 GB, free: 75.96 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/14.57, allocations: 1.448 MB / 4.338 GB, free: 75.96 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02849/14.6, allocations: 32.01 MB / 4.369 GB, free: 66.51 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/14.61, allocations: 1.148 MB / 4.37 GB, free: 66.29 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/14.62, allocations: 271.7 kB / 4.371 GB, free: 66.29 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/14.62, allocations: 7.125 kB / 4.371 GB, free: 66.29 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01913/14.64, allocations: 9.201 MB / 4.38 GB, free: 65.92 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/14.64, allocations: 72.17 kB / 4.38 GB, free: 65.92 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/14.64, allocations: 0.973 MB / 4.381 GB, free: 65.76 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/14.64, allocations: 1.446 MB / 4.382 GB, free: 65.76 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02872/14.67, allocations: 32.03 MB / 4.413 GB, free: 56.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01462/14.69, allocations: 1.025 MB / 4.414 GB, free: 55.99 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/14.69, allocations: 271.1 kB / 4.415 GB, free: 55.99 MB / 1.026 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.00286/14.69, allocations: 277.5 kB / 4.415 GB, free: 55.86 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01742/14.71, allocations: 7.205 MB / 4.422 GB, free: 54.99 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00553/14.72, allocations: 1.043 MB / 4.423 GB, free: 54.44 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/14.73, allocations: 7.959 MB / 4.431 GB, free: 53.96 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/14.73, allocations: 53.92 kB / 4.431 GB, free: 53.96 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/14.73, allocations: 12.66 kB / 4.431 GB, free: 53.96 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01064/14.74, allocations: 6.287 MB / 4.437 GB, free: 53.62 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07329/14.82, allocations: 42.62 MB / 4.479 GB, free: 40.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/14.82, allocations: 9.781 kB / 4.479 GB, free: 40.46 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004602/14.82, allocations: 1.062 MB / 4.48 GB, free: 40.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/14.82, allocations: 0.9174 MB / 4.481 GB, free: 40.04 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009909/14.83, allocations: 96.98 kB / 4.481 GB, free: 40.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03129/14.86, allocations: 31.96 MB / 4.512 GB, free: 27.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-05/14.86, allocations: 14.06 kB / 4.512 GB, free: 27.3 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02586/14.88, allocations: 14.49 MB / 4.526 GB, free: 35.11 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01201/14.89, allocations: 2.751 MB / 4.529 GB, free: 33.55 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005854/14.9, allocations: 59.77 kB / 4.529 GB, free: 33.54 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01221/14.91, allocations: 0.4997 MB / 4.529 GB, free: 33.5 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/14.91, allocations: 354.6 kB / 4.53 GB, free: 33.45 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007558/14.92, allocations: 198.9 kB / 4.53 GB, free: 33.41 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02819/14.94, allocations: 9.749 MB / 4.539 GB, free: 29.82 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.62e-07/14.94, allocations: 0 / 4.539 GB, free: 29.82 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04314/14.99, allocations: 6.693 MB / 4.546 GB, free: 28.91 MB / 1.073 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.03006/15.02, allocations: 17.07 MB / 4.562 GB, free: 19.55 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.03139/15.05, allocations: 17.44 MB / 4.58 GB, free: 10.14 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.644e-05/15.05, allocations: 12.94 kB / 4.58 GB, free: 10.14 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.009674/15.06, allocations: 5.382 MB / 4.585 GB, free: 6.855 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03639/15.09, allocations: 5.983 MB / 4.591 GB, free: 3.176 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8427/15.94, allocations: 29.42 MB / 4.619 GB, free: 181.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01635/15.95, allocations: 9.559 MB / 4.629 GB, free: 180.5 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.04596/16, allocations: 11.62 MB / 4.64 GB, free: 180.1 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0142/16.01, allocations: 5.331 MB / 4.645 GB, free: 180.1 MB / 1.073 GB Notification: Performance of SimCode: time 1.452e-06/16.01, allocations: 4 kB / 4.645 GB, free: 180.1 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.528/16.54, allocations: 334.2 MB / 4.972 GB, free: 1.801 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/16.54, allocations: 219.6 kB / 4.972 GB, free: 1.508 MB / 1.073 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. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_8_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_8_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. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_8_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. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_8_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_8_Buildings_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: *** [: Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1