Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.189/4.189, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.527e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6119, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.794, allocations: 420.9 MB / 1.04 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004271/1.795, allocations: 119.9 kB / 1.04 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 41.14/42.94, allocations: 7.239 GB / 8.279 GB, free: 80.33 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.814e-06/42.94, allocations: 0 / 8.279 GB, free: 80.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.006941/42.94, allocations: 0.5738 MB / 8.279 GB, free: 80.25 MB / 0.9323 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.08649/43.03, allocations: 20.38 MB / 8.299 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/43.03, allocations: 13.81 kB / 8.299 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/43.05, allocations: 3.008 MB / 8.302 GB, free: 70.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1356/43.19, allocations: 35.15 MB / 8.337 GB, free: 67.82 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/43.19, allocations: 0.5402 MB / 8.337 GB, free: 67.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01031/43.2, allocations: 1.041 MB / 8.338 GB, free: 67.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07764/43.28, allocations: 20.45 MB / 8.358 GB, free: 67.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09625/43.37, allocations: 22 MB / 8.38 GB, free: 66.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001304/43.37, allocations: 64.16 kB / 8.38 GB, free: 66.05 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008312/43.38, allocations: 22.92 kB / 8.38 GB, free: 66.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004337/43.38, allocations: 422.1 kB / 8.38 GB, free: 66.05 MB / 0.9323 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.2594/43.64, allocations: 98.27 MB / 8.476 GB, free: 16.84 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03522/43.68, allocations: 12.78 MB / 8.489 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706/45.38, allocations: 9.709 MB / 8.498 GB, free: 91.32 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004495/45.39, allocations: 2.629 MB / 8.501 GB, free: 88.59 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/45.39, allocations: 158.9 kB / 8.501 GB, free: 88.54 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01608/45.4, allocations: 0.7477 MB / 8.502 GB, free: 88.54 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1032): time 9.497e-05/45.4, allocations: 0 / 8.502 GB, free: 88.54 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1032): time 0.0645/45.47, allocations: 15.51 MB / 8.517 GB, free: 87.86 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/45.47, allocations: 155.4 kB / 8.517 GB, free: 87.79 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07125/45.54, allocations: 21.29 MB / 8.538 GB, free: 86.99 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.004217/45.54, allocations: 47.98 kB / 8.538 GB, free: 86.96 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0209/45.57, allocations: 11.03 MB / 8.548 GB, free: 84.67 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.008434/45.57, allocations: 3.504 MB / 8.552 GB, free: 82.75 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003486/45.58, allocations: 0.75 kB / 8.552 GB, free: 82.75 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.00214/45.58, allocations: 0.8698 MB / 8.553 GB, free: 82.42 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02089/45.6, allocations: 7.002 MB / 8.56 GB, free: 82.39 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02661/45.63, allocations: 10.6 MB / 8.57 GB, free: 78.93 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03083/45.66, allocations: 9.51 MB / 8.579 GB, free: 78.78 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002088/45.66, allocations: 22.97 kB / 8.579 GB, free: 78.78 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.07914/45.74, allocations: 21.09 MB / 8.6 GB, free: 77.14 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.02404/45.76, allocations: 59.42 MB / 8.658 GB, free: 63.76 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008703/45.76, allocations: 109.2 kB / 8.658 GB, free: 63.76 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007054/45.77, allocations: 1.974 MB / 8.66 GB, free: 63.44 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/45.79, allocations: 3.165 MB / 8.663 GB, free: 63.44 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06964/45.86, allocations: 64.41 MB / 8.726 GB, free: 44.11 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03364/45.9, allocations: 1.561 MB / 8.727 GB, free: 43.95 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004329/45.9, allocations: 0.5372 MB / 8.728 GB, free: 43.95 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/45.9, allocations: 3.625 kB / 8.728 GB, free: 43.95 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06671/45.97, allocations: 19.1 MB / 8.747 GB, free: 43.3 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007692/45.97, allocations: 110.3 kB / 8.747 GB, free: 43.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/45.98, allocations: 1.976 MB / 8.749 GB, free: 42.98 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02523/46, allocations: 3.169 MB / 8.752 GB, free: 42.98 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08057/46.08, allocations: 65.4 MB / 8.816 GB, free: 38.84 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03603/46.12, allocations: 1.5 MB / 8.817 GB, free: 38.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00524/46.12, allocations: 0.5442 MB / 8.818 GB, free: 38.71 MB / 1.057 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.009118/46.13, allocations: 439.4 kB / 8.818 GB, free: 38.55 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06031/46.19, allocations: 15.45 MB / 8.833 GB, free: 36.88 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01225/46.21, allocations: 1.857 MB / 8.835 GB, free: 35.9 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06856/46.27, allocations: 16.98 MB / 8.851 GB, free: 32.5 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002415/46.27, allocations: 102.7 kB / 8.852 GB, free: 32.5 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/46.27, allocations: 24.78 kB / 8.852 GB, free: 32.5 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04845/46.32, allocations: 13.81 MB / 8.865 GB, free: 27.57 MB / 1.057 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.1414/46.46, allocations: 42.02 MB / 8.906 GB, free: 7.602 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001407/46.46, allocations: 0 / 8.906 GB, free: 7.602 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02115/46.49, allocations: 2.354 MB / 8.908 GB, free: 5.703 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006782/46.49, allocations: 1.836 MB / 8.91 GB, free: 4.082 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002909/46.5, allocations: 158.9 kB / 8.91 GB, free: 3.961 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816/48.31, allocations: 64.15 MB / 8.973 GB, free: 142.7 MB / 1.058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/48.31, allocations: 2.656 kB / 8.973 GB, free: 142.7 MB / 1.058 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09185/48.4, allocations: 25.01 MB / 8.997 GB, free: 141.5 MB / 1.058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02397/48.43, allocations: 4.869 MB / 9.002 GB, free: 140.8 MB / 1.058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01235/48.44, allocations: 74.17 kB / 9.002 GB, free: 140.8 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03049/48.47, allocations: 1.237 MB / 9.003 GB, free: 140.7 MB / 1.058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00434/48.48, allocations: 0.6622 MB / 9.004 GB, free: 140.7 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003748/48.48, allocations: 371.7 kB / 9.004 GB, free: 140.7 MB / 1.058 GB Notification: Performance of sorting global known variables: time 0.05527/48.53, allocations: 16.31 MB / 9.02 GB, free: 140.2 MB / 1.058 GB Notification: Performance of sort global known variables: time 1.393e-06/48.53, allocations: 0.8438 kB / 9.02 GB, free: 140.2 MB / 1.058 GB Notification: Performance of remove unused functions: time 0.0965/48.63, allocations: 12.73 MB / 9.033 GB, free: 139.3 MB / 1.058 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (919): * Single equations (assignments): 872 * 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.09008/48.72, allocations: 27.38 MB / 9.06 GB, free: 136.6 MB / 1.058 GB Notification: Performance of simCode: created initialization part: time 0.08896/48.81, allocations: 36 MB / 9.095 GB, free: 127.3 MB / 1.058 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-05/48.81, allocations: 8.594 kB / 9.095 GB, free: 127.3 MB / 1.058 GB Notification: Performance of simCode: created simulation system equations: time 0.02673/48.84, allocations: 11.64 MB / 9.106 GB, free: 123.1 MB / 1.058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09373/48.93, allocations: 10.93 MB / 9.117 GB, free: 122.9 MB / 1.058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/49.16, allocations: 56.15 MB / 9.172 GB, free: 112.7 MB / 1.058 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0505/49.21, allocations: 17.29 MB / 9.188 GB, free: 111.1 MB / 1.058 GB Notification: Performance of simCode: alias equations: time 0.1316/49.34, allocations: 26.85 MB / 9.215 GB, free: 98.6 MB / 1.058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03376/49.37, allocations: 10.37 MB / 9.225 GB, free: 92.2 MB / 1.058 GB Notification: Performance of SimCode: time 1.573e-06/49.37, allocations: 0 / 9.225 GB, free: 92.2 MB / 1.058 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.434/52.81, allocations: 0.5964 GB / 9.821 GB, free: 131 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/52.81, allocations: 227.9 kB / 9.821 GB, free: 130.7 MB / 1.089 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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from Buildings_6_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_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1