Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7583/0.7583, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 180.9 kB / 164.7 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.0008519, allocations: 83.61 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 0.5467 GB, free: 60.35 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 76.75 MB / 0.6216 GB, free: 15.53 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.33, allocations: 382.9 MB / 0.9956 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005848/1.33, allocations: 118.2 kB / 0.9957 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11.03/12.36, allocations: 2.795 GB / 3.791 GB, free: 79.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.936e-06/12.36, allocations: 0 / 3.791 GB, free: 79.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00323/12.37, allocations: 300.3 kB / 3.791 GB, free: 79.71 MB / 0.698 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.0501/12.42, allocations: 10.85 MB / 3.802 GB, free: 75.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/12.42, allocations: 7.094 kB / 3.802 GB, free: 75.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/12.43, allocations: 1.618 MB / 3.804 GB, free: 74.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06627/12.5, allocations: 21.08 MB / 3.824 GB, free: 72.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006659/12.5, allocations: 271.8 kB / 3.824 GB, free: 72.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004816/12.51, allocations: 0.5154 MB / 3.825 GB, free: 72.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02646/12.53, allocations: 9.282 MB / 3.834 GB, free: 72.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/12.58, allocations: 10.45 MB / 3.844 GB, free: 71.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009198/12.58, allocations: 32.05 kB / 3.844 GB, free: 71.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004357/12.59, allocations: 12.88 kB / 3.844 GB, free: 71.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/12.59, allocations: 206.4 kB / 3.844 GB, free: 71.7 MB / 0.698 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.1098/12.7, allocations: 49.61 MB / 3.893 GB, free: 48.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/12.71, allocations: 5.241 MB / 3.898 GB, free: 46.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006976/12.72, allocations: 3.516 MB / 3.901 GB, free: 45.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/12.72, allocations: 2.015 MB / 3.903 GB, free: 43.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/12.72, allocations: 105.9 kB / 3.904 GB, free: 43.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=476): time 1.643e-05/12.72, allocations: 0 / 3.904 GB, free: 43.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=476): time 0.02034/12.74, allocations: 6.902 MB / 3.91 GB, free: 40.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/12.74, allocations: 365.8 kB / 3.911 GB, free: 40.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03323/12.77, allocations: 12.33 MB / 3.923 GB, free: 32.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001878/12.77, allocations: 33.7 kB / 3.923 GB, free: 32.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.009062/12.78, allocations: 6.035 MB / 3.929 GB, free: 27.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/12.79, allocations: 1.627 MB / 3.93 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/12.79, allocations: 2.344 kB / 3.93 GB, free: 25.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0008463/12.79, allocations: 0.5737 MB / 3.931 GB, free: 25.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/12.8, allocations: 3.118 MB / 3.934 GB, free: 22.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007852/12.8, allocations: 5.347 MB / 3.939 GB, free: 16.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009413/12.81, allocations: 4.415 MB / 3.943 GB, free: 13.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/12.81, allocations: 16 kB / 3.943 GB, free: 13.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02931/12.84, allocations: 9.93 MB / 3.953 GB, free: 4.441 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305/14.15, allocations: 26.94 MB / 3.979 GB, free: 60.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007016/14.15, allocations: 75.11 kB / 3.979 GB, free: 60.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/14.15, allocations: 0.9671 MB / 3.98 GB, free: 59.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/14.16, allocations: 1.452 MB / 3.982 GB, free: 59.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03819/14.2, allocations: 32.02 MB / 4.013 GB, free: 50.79 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02334/14.23, allocations: 0.9991 MB / 4.014 GB, free: 50.79 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003397/14.23, allocations: 278.2 kB / 4.014 GB, free: 50.79 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/14.23, allocations: 4.203 kB / 4.014 GB, free: 50.79 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03251/14.26, allocations: 8.791 MB / 4.023 GB, free: 50.43 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005807/14.26, allocations: 70.17 kB / 4.023 GB, free: 50.43 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/14.26, allocations: 0.9754 MB / 4.024 GB, free: 50.27 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006933/14.27, allocations: 1.447 MB / 4.025 GB, free: 50.27 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/14.3, allocations: 32.02 MB / 4.057 GB, free: 41.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/14.32, allocations: 0.8876 MB / 4.057 GB, free: 41.07 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/14.32, allocations: 277.9 kB / 4.058 GB, free: 41.07 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 726 * 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.002485/14.32, allocations: 283.9 kB / 4.058 GB, free: 40.96 MB / 0.7293 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01643/14.34, allocations: 6.869 MB / 4.065 GB, free: 40.27 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005482/14.34, allocations: 1.045 MB / 4.066 GB, free: 39.71 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/14.37, allocations: 7.771 MB / 4.073 GB, free: 39.21 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/14.37, allocations: 50.89 kB / 4.073 GB, free: 39.21 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.36e-05/14.37, allocations: 10.19 kB / 4.073 GB, free: 39.21 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01551/14.38, allocations: 5.917 MB / 4.079 GB, free: 38.87 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1019/14.49, allocations: 39.38 MB / 4.118 GB, free: 32.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.541e-05/14.49, allocations: 9.281 kB / 4.118 GB, free: 32.3 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005696/14.49, allocations: 1.019 MB / 4.119 GB, free: 32.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/14.49, allocations: 0.9127 MB / 4.12 GB, free: 32.15 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/14.5, allocations: 90.91 kB / 4.12 GB, free: 32.15 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03485/14.53, allocations: 31.95 MB / 4.151 GB, free: 38.72 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/14.53, allocations: 10.91 kB / 4.151 GB, free: 38.72 MB / 0.7762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02926/14.56, allocations: 13.7 MB / 4.164 GB, free: 34.14 MB / 0.7762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01191/14.57, allocations: 2.61 MB / 4.167 GB, free: 33.48 MB / 0.7762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007203/14.58, allocations: 51.39 kB / 4.167 GB, free: 33.48 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01282/14.59, allocations: 460.3 kB / 4.167 GB, free: 33.46 MB / 0.7762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/14.59, allocations: 350.8 kB / 4.168 GB, free: 33.45 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001763/14.6, allocations: 189.9 kB / 4.168 GB, free: 33.45 MB / 0.7762 GB Notification: Performance of sorting global known variables: time 0.03176/14.63, allocations: 9.48 MB / 4.177 GB, free: 33.13 MB / 0.7762 GB Notification: Performance of sort global known variables: time 6.21e-07/14.63, allocations: 0 / 4.177 GB, free: 33.13 MB / 0.7762 GB Notification: Performance of remove unused functions: time 0.0563/14.68, allocations: 6.567 MB / 4.183 GB, free: 32.71 MB / 0.7762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (418): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0352/14.72, allocations: 16.26 MB / 4.199 GB, free: 27.03 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.03426/14.75, allocations: 16.81 MB / 4.216 GB, free: 19.84 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 3.254e-05/14.75, allocations: 5.406 kB / 4.216 GB, free: 19.84 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.009425/14.76, allocations: 5.206 MB / 4.221 GB, free: 16.62 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03962/14.8, allocations: 5.984 MB / 4.227 GB, free: 15.61 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7433/15.55, allocations: 29.01 MB / 4.255 GB, free: 143.9 MB / 0.7762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02297/15.57, allocations: 9.546 MB / 4.264 GB, free: 142.8 MB / 0.7762 GB Notification: Performance of simCode: alias equations: time 0.0457/15.62, allocations: 11.67 MB / 4.276 GB, free: 142.7 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01506/15.63, allocations: 5.371 MB / 4.281 GB, free: 142.7 MB / 0.7762 GB Notification: Performance of SimCode: time 1.232e-06/15.63, allocations: 0 / 4.281 GB, free: 142.7 MB / 0.7762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/16.87, allocations: 332.5 MB / 4.606 GB, free: 103.4 MB / 0.7762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/16.87, allocations: 231.4 kB / 4.606 GB, free: 103.2 MB / 0.7762 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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:900: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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1