Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5145/0.5145, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 94.38 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.785e-05, allocations: 0 / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.197, allocations: 377.5 MB / 0.9223 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.197, allocations: 111.2 kB / 0.9224 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 10.58/11.78, allocations: 2.887 GB / 3.81 GB, free: 60.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.195e-06/11.78, allocations: 4 kB / 3.81 GB, free: 60.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.003316/11.78, allocations: 317 kB / 3.81 GB, free: 60.17 MB / 0.6511 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.04028/11.82, allocations: 10.86 MB / 3.821 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/11.82, allocations: 11.66 kB / 3.821 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/11.83, allocations: 1.613 MB / 3.822 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0463/11.88, allocations: 18.88 MB / 3.841 GB, free: 39.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/11.88, allocations: 274.9 kB / 3.841 GB, free: 38.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003993/11.89, allocations: 0.5076 MB / 3.842 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02745/11.91, allocations: 9.579 MB / 3.851 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0343/11.95, allocations: 10.6 MB / 3.861 GB, free: 17.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006296/11.95, allocations: 23.75 kB / 3.861 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003298/11.95, allocations: 15.94 kB / 3.861 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/11.95, allocations: 204 kB / 3.862 GB, free: 17.68 MB / 0.6511 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 1.065/13.02, allocations: 49.57 MB / 3.91 GB, free: 57.58 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/13.03, allocations: 5.545 MB / 3.915 GB, free: 57.52 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007051/13.03, allocations: 3.698 MB / 3.919 GB, free: 57.46 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002135/13.04, allocations: 2.185 MB / 3.921 GB, free: 55.12 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/13.04, allocations: 88.98 kB / 3.921 GB, free: 55.07 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=482): time 1.271e-05/13.04, allocations: 1.812 kB / 3.921 GB, free: 55.07 MB / 0.6512 GB Notification: Performance of matching and sorting (n=482): time 0.02274/13.06, allocations: 7.215 MB / 3.928 GB, free: 54.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/13.06, allocations: 361.6 kB / 3.929 GB, free: 53.82 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03573/13.1, allocations: 12.83 MB / 3.941 GB, free: 53.25 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002272/13.1, allocations: 33.8 kB / 3.941 GB, free: 53.21 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.01162/13.11, allocations: 6.028 MB / 3.947 GB, free: 51.98 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003506/13.11, allocations: 1.642 MB / 3.949 GB, free: 51.13 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/13.11, allocations: 0 / 3.949 GB, free: 51.13 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.0008606/13.12, allocations: 0.5812 MB / 3.949 GB, free: 50.81 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006435/13.12, allocations: 3.339 MB / 3.952 GB, free: 50.79 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/13.13, allocations: 5.314 MB / 3.958 GB, free: 48.81 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/13.14, allocations: 4.605 MB / 3.962 GB, free: 48.71 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/13.14, allocations: 10.06 kB / 3.962 GB, free: 48.71 MB / 0.6512 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02867/13.17, allocations: 10.32 MB / 3.972 GB, free: 47.77 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.009465/13.18, allocations: 24.22 MB / 3.996 GB, free: 38.36 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003882/13.18, allocations: 65.36 kB / 3.996 GB, free: 38.36 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/13.18, allocations: 0.9674 MB / 3.997 GB, free: 38.21 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/13.19, allocations: 1.445 MB / 3.998 GB, free: 38.21 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/13.22, allocations: 32.02 MB / 4.03 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/13.23, allocations: 1.11 MB / 4.031 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002107/13.23, allocations: 273.8 kB / 4.031 GB, free: 44.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/13.23, allocations: 2.344 kB / 4.031 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01696/13.25, allocations: 9.208 MB / 4.04 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/13.25, allocations: 67.25 kB / 4.04 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/13.25, allocations: 0.97 MB / 4.041 GB, free: 44.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/13.26, allocations: 1.446 MB / 4.042 GB, free: 44.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/13.28, allocations: 32.03 MB / 4.074 GB, free: 34.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/13.3, allocations: 1.004 MB / 4.075 GB, free: 34.25 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/13.3, allocations: 273.1 kB / 4.075 GB, free: 34.25 MB / 0.7137 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.002493/13.3, allocations: 271.8 kB / 4.075 GB, free: 34.12 MB / 0.7137 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01607/13.32, allocations: 7.204 MB / 4.082 GB, free: 32.58 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005136/13.32, allocations: 1.059 MB / 4.083 GB, free: 32.02 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/13.34, allocations: 7.98 MB / 4.091 GB, free: 29.2 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/13.34, allocations: 49.98 kB / 4.091 GB, free: 29.2 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.865e-05/13.34, allocations: 10.72 kB / 4.091 GB, free: 29.2 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01084/13.35, allocations: 6.29 MB / 4.097 GB, free: 26.97 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08429/13.44, allocations: 42.66 MB / 4.139 GB, free: 11.98 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-05/13.44, allocations: 13.16 kB / 4.139 GB, free: 11.98 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005008/13.44, allocations: 1.063 MB / 4.14 GB, free: 11.91 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/13.44, allocations: 0.9135 MB / 4.141 GB, free: 11.52 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001356/13.44, allocations: 96.05 kB / 4.141 GB, free: 11.49 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5973/14.04, allocations: 31.95 MB / 4.172 GB, free: 119.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-05/14.04, allocations: 15.84 kB / 4.172 GB, free: 119.3 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/14.07, allocations: 14.53 MB / 4.186 GB, free: 115.1 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01046/14.08, allocations: 2.758 MB / 4.189 GB, free: 114.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005006/14.08, allocations: 54.94 kB / 4.189 GB, free: 114.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01306/14.1, allocations: 0.5099 MB / 4.189 GB, free: 114.4 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001846/14.1, allocations: 360.2 kB / 4.19 GB, free: 114.4 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001548/14.1, allocations: 192.5 kB / 4.19 GB, free: 114.4 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.026/14.12, allocations: 9.821 MB / 4.2 GB, free: 114.1 MB / 0.7293 GB Notification: Performance of sort global known variables: time 8.01e-07/14.13, allocations: 0 / 4.2 GB, free: 114.1 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.04088/14.17, allocations: 6.682 MB / 4.206 GB, free: 113.7 MB / 0.7293 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.03537/14.2, allocations: 17.06 MB / 4.223 GB, free: 107.9 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.03296/14.23, allocations: 17.43 MB / 4.24 GB, free: 103 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-05/14.23, allocations: 4.531 kB / 4.24 GB, free: 103 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.008526/14.24, allocations: 5.393 MB / 4.245 GB, free: 100.9 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03658/14.28, allocations: 5.945 MB / 4.251 GB, free: 100.8 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0963/14.38, allocations: 29.45 MB / 4.28 GB, free: 95.16 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02307/14.4, allocations: 9.591 MB / 4.289 GB, free: 93.96 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.04837/14.45, allocations: 11.68 MB / 4.3 GB, free: 93.32 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01536/14.46, allocations: 5.363 MB / 4.306 GB, free: 93.32 MB / 0.7293 GB Notification: Performance of SimCode: time 2.204e-06/14.46, allocations: 0 / 4.306 GB, free: 93.32 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.998/15.46, allocations: 333.2 MB / 4.631 GB, free: 30.7 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/15.46, allocations: 216.6 kB / 4.631 GB, free: 30.41 MB / 0.7293 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=IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from IBPSA_latest_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 IBPSA_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./IBPSA_latest_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./IBPSA_latest_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); ^ IBPSA_latest_IBPSA_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: *** [: IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1