Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 182 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.306/2.306, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 96.7 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.393e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.208/2.479, allocations: 429 MB / 1.303 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004758/2.48, allocations: 117.1 kB / 1.303 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 41.22/43.7, allocations: 7.239 GB / 8.543 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.705e-06/43.7, allocations: 0 / 8.543 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.007271/43.71, allocations: 0.5675 MB / 8.543 GB, free: 67.32 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: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.09126/43.8, allocations: 20.41 MB / 8.563 GB, free: 59.49 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/43.8, allocations: 11.34 kB / 8.563 GB, free: 59.49 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02306/43.83, allocations: 3.001 MB / 8.566 GB, free: 58.05 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1316/43.96, allocations: 34.87 MB / 8.6 GB, free: 54.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/43.96, allocations: 0.5399 MB / 8.601 GB, free: 54.86 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009806/43.97, allocations: 1.041 MB / 8.602 GB, free: 54.85 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07426/44.04, allocations: 20.45 MB / 8.622 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09273/44.14, allocations: 22.01 MB / 8.643 GB, free: 38.91 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001809/44.14, allocations: 59.38 kB / 8.643 GB, free: 38.86 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008614/44.15, allocations: 20 kB / 8.643 GB, free: 38.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004571/44.15, allocations: 427.9 kB / 8.644 GB, free: 38.42 MB / 0.9792 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.95/46.1, allocations: 98.27 MB / 8.74 GB, free: 69.79 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03406/46.13, allocations: 12.85 MB / 8.752 GB, free: 69.65 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0233/46.15, allocations: 9.052 MB / 8.761 GB, free: 69.53 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004253/46.16, allocations: 2.627 MB / 8.764 GB, free: 66.8 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/46.16, allocations: 160.8 kB / 8.764 GB, free: 66.75 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01648/46.17, allocations: 0.7495 MB / 8.764 GB, free: 66.75 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=1034): time 9.051e-05/46.17, allocations: 0 / 8.764 GB, free: 66.75 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1034): time 0.05682/46.23, allocations: 15.52 MB / 8.78 GB, free: 65.5 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/46.23, allocations: 158.7 kB / 8.78 GB, free: 65.43 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06927/46.3, allocations: 21.28 MB / 8.801 GB, free: 64.53 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.003689/46.3, allocations: 44.27 kB / 8.801 GB, free: 64.5 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01996/46.32, allocations: 10.96 MB / 8.811 GB, free: 62.16 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.007723/46.33, allocations: 3.509 MB / 8.815 GB, free: 60.25 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003524/46.34, allocations: 1.406 kB / 8.815 GB, free: 60.25 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001878/46.34, allocations: 0.8636 MB / 8.816 GB, free: 59.92 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02014/46.36, allocations: 7.003 MB / 8.822 GB, free: 59.89 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02538/46.38, allocations: 10.61 MB / 8.833 GB, free: 56.42 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03005/46.41, allocations: 9.518 MB / 8.842 GB, free: 56.27 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/46.41, allocations: 22.44 kB / 8.842 GB, free: 56.27 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.07767/46.49, allocations: 21.09 MB / 8.863 GB, free: 54.63 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.02564/46.52, allocations: 59.08 MB / 8.92 GB, free: 42.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007238/46.52, allocations: 109.6 kB / 8.92 GB, free: 42.67 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/46.53, allocations: 1.967 MB / 8.922 GB, free: 42.35 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02429/46.55, allocations: 3.168 MB / 8.925 GB, free: 42.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07307/46.62, allocations: 64.42 MB / 8.988 GB, free: 39.01 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03586/46.66, allocations: 1.556 MB / 8.99 GB, free: 38.86 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004491/46.66, allocations: 0.5394 MB / 8.99 GB, free: 38.86 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/46.66, allocations: 8.969 kB / 8.99 GB, free: 38.86 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06667/46.73, allocations: 19.1 MB / 9.009 GB, free: 38.21 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006933/46.73, allocations: 110.1 kB / 9.009 GB, free: 38.21 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/46.74, allocations: 1.981 MB / 9.011 GB, free: 37.89 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02446/46.76, allocations: 3.162 MB / 9.014 GB, free: 37.89 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873/48.63, allocations: 65.4 MB / 9.078 GB, free: 187 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03538/48.67, allocations: 1.503 MB / 9.08 GB, free: 187 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005228/48.68, allocations: 0.5369 MB / 9.08 GB, free: 187 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1529 * 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: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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,(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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.008503/48.68, allocations: 437.9 kB / 9.08 GB, free: 186.9 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06325/48.75, allocations: 15.45 MB / 9.096 GB, free: 186.3 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01093/48.76, allocations: 1.856 MB / 9.097 GB, free: 185.7 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06777/48.83, allocations: 17.01 MB / 9.114 GB, free: 184.7 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002337/48.83, allocations: 99.19 kB / 9.114 GB, free: 184.7 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/48.83, allocations: 19.28 kB / 9.114 GB, free: 184.7 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04733/48.87, allocations: 13.82 MB / 9.128 GB, free: 184.1 MB / 1.12 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 postOpt removeSimpleEquations (simulation): time 0.1481/49.02, allocations: 42.13 MB / 9.169 GB, free: 180 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001362/49.02, allocations: 5.469 kB / 9.169 GB, free: 180 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02082/49.04, allocations: 2.351 MB / 9.171 GB, free: 180 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006386/49.05, allocations: 1.839 MB / 9.173 GB, free: 179.7 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003433/49.05, allocations: 165.4 kB / 9.173 GB, free: 179.7 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0629/49.12, allocations: 64.15 MB / 9.236 GB, free: 128.4 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/49.12, allocations: 5.125 kB / 9.236 GB, free: 128.4 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07384/49.19, allocations: 25.26 MB / 9.26 GB, free: 126 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02319/49.21, allocations: 4.931 MB / 9.265 GB, free: 124.9 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01043/49.22, allocations: 84.66 kB / 9.265 GB, free: 124.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02919/49.25, allocations: 1.24 MB / 9.266 GB, free: 124.8 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003842/49.26, allocations: 0.656 MB / 9.267 GB, free: 124.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003488/49.26, allocations: 376.6 kB / 9.267 GB, free: 124.8 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.05211/49.31, allocations: 16.31 MB / 9.283 GB, free: 124.3 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.072e-06/49.31, allocations: 1.625 kB / 9.283 GB, free: 124.3 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.09025/49.4, allocations: 12.73 MB / 9.296 GB, free: 123.4 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 874 * 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: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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,(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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.08205/49.48, allocations: 27.61 MB / 9.323 GB, free: 120.5 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.08133/49.57, allocations: 36 MB / 9.358 GB, free: 109.5 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/49.57, allocations: 7.844 kB / 9.358 GB, free: 109.5 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.02464/49.59, allocations: 11.64 MB / 9.369 GB, free: 102.8 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09334/49.68, allocations: 10.91 MB / 9.38 GB, free: 101.1 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2043/49.89, allocations: 56.16 MB / 9.435 GB, free: 62.33 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04539/49.93, allocations: 17.29 MB / 9.452 GB, free: 49.59 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.1893/50.12, allocations: 30.76 MB / 9.482 GB, free: 43.77 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1/51.12, allocations: 11.27 MB / 9.493 GB, free: 157.6 MB / 1.12 GB Notification: Performance of SimCode: time 1.593e-06/51.12, allocations: 0.5625 kB / 9.493 GB, free: 157.6 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.337/53.46, allocations: 0.5945 GB / 10.09 GB, free: 160.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/53.46, allocations: 225.3 kB / 10.09 GB, free: 160.4 MB / 1.151 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1098: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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1