Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8246/0.8246, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.9 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 96.03 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 281.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.658e-05, allocations: 4 kB / 0.6766 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4797, allocations: 82.78 MB / 0.7575 GB, free: 31.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9521/1.432, allocations: 407.2 MB / 1.155 GB, free: 5.367 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/1.432, allocations: 112.8 kB / 1.155 GB, free: 5.301 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 31.49/32.92, allocations: 7.367 GB / 8.522 GB, free: 47.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.545e-06/32.92, allocations: 0 / 8.522 GB, free: 47.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.006842/32.93, allocations: 0.5665 MB / 8.522 GB, free: 47.5 MB / 0.8073 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.07611/33, allocations: 20.31 MB / 8.542 GB, free: 39.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/33, allocations: 7.094 kB / 8.542 GB, free: 39.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0234/33.03, allocations: 3.008 MB / 8.545 GB, free: 38.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09136/33.12, allocations: 34.84 MB / 8.579 GB, free: 35.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/33.12, allocations: 0.5376 MB / 8.58 GB, free: 35.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008534/33.13, allocations: 1.039 MB / 8.581 GB, free: 35.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05576/33.19, allocations: 20.45 MB / 8.601 GB, free: 34.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07233/33.26, allocations: 22 MB / 8.622 GB, free: 18.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001162/33.26, allocations: 58.84 kB / 8.622 GB, free: 18.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007366/33.27, allocations: 29.25 kB / 8.622 GB, free: 18.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/33.27, allocations: 420 kB / 8.623 GB, free: 18.07 MB / 0.8073 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.501/34.77, allocations: 98.47 MB / 8.719 GB, free: 42.55 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/34.79, allocations: 12.85 MB / 8.731 GB, free: 42.43 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01573/34.81, allocations: 9.053 MB / 8.74 GB, free: 42.3 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004906/34.81, allocations: 2.626 MB / 8.743 GB, free: 55.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/34.81, allocations: 160.9 kB / 8.743 GB, free: 55.52 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01426/34.83, allocations: 0.7484 MB / 8.744 GB, free: 55.28 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1034): time 6.541e-05/34.83, allocations: 4.219 kB / 8.744 GB, free: 55.28 MB / 0.823 GB Notification: Performance of matching and sorting (n=1034): time 0.04592/34.87, allocations: 15.51 MB / 8.759 GB, free: 53.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/34.87, allocations: 163.6 kB / 8.759 GB, free: 53.55 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05463/34.93, allocations: 21.28 MB / 8.78 GB, free: 52.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003527/34.93, allocations: 44.64 kB / 8.78 GB, free: 52.62 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01711/34.95, allocations: 10.97 MB / 8.79 GB, free: 50.27 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.006636/34.95, allocations: 3.511 MB / 8.794 GB, free: 48.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/34.96, allocations: 0 / 8.794 GB, free: 48.02 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001468/34.96, allocations: 0.8631 MB / 8.795 GB, free: 47.69 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01391/34.97, allocations: 7.004 MB / 8.802 GB, free: 47.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01976/34.99, allocations: 10.6 MB / 8.812 GB, free: 44.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01983/35.01, allocations: 9.521 MB / 8.821 GB, free: 44.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002559/35.01, allocations: 29.47 kB / 8.821 GB, free: 44.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06315/35.07, allocations: 21.08 MB / 8.842 GB, free: 39.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02872/35.1, allocations: 59.08 MB / 8.9 GB, free: 26.79 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007836/35.1, allocations: 114.7 kB / 8.9 GB, free: 26.79 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004858/35.11, allocations: 1.966 MB / 8.902 GB, free: 25.99 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/35.12, allocations: 3.165 MB / 8.905 GB, free: 25.89 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571/36.7, allocations: 64.4 MB / 8.968 GB, free: 140.3 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03138/36.73, allocations: 1.556 MB / 8.969 GB, free: 140.3 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005182/36.73, allocations: 0.5417 MB / 8.97 GB, free: 140.3 MB / 0.9013 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/36.73, allocations: 4.812 kB / 8.97 GB, free: 140.3 MB / 0.9013 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05305/36.79, allocations: 19.11 MB / 8.988 GB, free: 139.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005374/36.79, allocations: 109.2 kB / 8.988 GB, free: 139.7 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/36.79, allocations: 1.984 MB / 8.99 GB, free: 139.4 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01513/36.81, allocations: 3.162 MB / 8.993 GB, free: 139.4 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0421/36.85, allocations: 65.41 MB / 9.057 GB, free: 87.81 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03063/36.88, allocations: 1.507 MB / 9.059 GB, free: 87.81 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005275/36.88, allocations: 0.5391 MB / 9.059 GB, free: 87.81 MB / 0.9013 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.009169/36.89, allocations: 439.6 kB / 9.06 GB, free: 87.71 MB / 0.9013 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05582/36.95, allocations: 15.45 MB / 9.075 GB, free: 86.63 MB / 0.9013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01212/36.96, allocations: 1.848 MB / 9.077 GB, free: 85.66 MB / 0.9013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06499/37.03, allocations: 17 MB / 9.093 GB, free: 84.66 MB / 0.9013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002713/37.03, allocations: 100.4 kB / 9.093 GB, free: 84.66 MB / 0.9013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000254/37.03, allocations: 18.38 kB / 9.093 GB, free: 84.66 MB / 0.9013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04122/37.07, allocations: 13.82 MB / 9.107 GB, free: 83.93 MB / 0.9013 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.1359/37.2, allocations: 42.15 MB / 9.148 GB, free: 79.77 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001205/37.2, allocations: 3.125 kB / 9.148 GB, free: 79.77 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01352/37.22, allocations: 2.352 MB / 9.15 GB, free: 79.77 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004902/37.22, allocations: 1.846 MB / 9.152 GB, free: 79.45 MB / 0.9013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003756/37.23, allocations: 158.8 kB / 9.152 GB, free: 79.45 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04531/37.27, allocations: 64.16 MB / 9.215 GB, free: 28.07 MB / 0.9013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/37.27, allocations: 0 / 9.215 GB, free: 28.07 MB / 0.9013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06614/37.34, allocations: 25.27 MB / 9.24 GB, free: 24.5 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02732/37.37, allocations: 4.927 MB / 9.244 GB, free: 21.82 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01536/37.38, allocations: 85.83 kB / 9.244 GB, free: 21.79 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02695/37.41, allocations: 1.237 MB / 9.246 GB, free: 21.74 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006335/37.41, allocations: 0.6531 MB / 9.246 GB, free: 21.64 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005729/37.42, allocations: 376.4 kB / 9.247 GB, free: 21.57 MB / 0.9013 GB Notification: Performance of sorting global known variables: time 0.05441/37.47, allocations: 16.32 MB / 9.263 GB, free: 15.58 MB / 0.9013 GB Notification: Performance of sort global known variables: time 8.11e-07/37.47, allocations: 0 / 9.263 GB, free: 15.58 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.09051/37.56, allocations: 12.75 MB / 9.275 GB, free: 6.664 MB / 0.9013 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 1.013/38.58, allocations: 27.65 MB / 9.302 GB, free: 125.2 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.07282/38.65, allocations: 35.99 MB / 9.337 GB, free: 116 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/38.65, allocations: 4.25 kB / 9.337 GB, free: 116 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.01987/38.67, allocations: 11.65 MB / 9.349 GB, free: 111.8 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07216/38.74, allocations: 10.94 MB / 9.359 GB, free: 111.6 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1971/38.94, allocations: 56.15 MB / 9.414 GB, free: 101.2 MB / 0.9013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04918/38.99, allocations: 17.29 MB / 9.431 GB, free: 99.58 MB / 0.9013 GB Notification: Performance of simCode: alias equations: time 0.09025/39.08, allocations: 26.29 MB / 9.457 GB, free: 98.19 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03156/39.11, allocations: 10.32 MB / 9.467 GB, free: 98.18 MB / 0.9013 GB Notification: Performance of SimCode: time 1.733e-06/39.11, allocations: 4.75 kB / 9.467 GB, free: 98.18 MB / 0.9013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.856/41.97, allocations: 0.5947 GB / 10.06 GB, free: 172.4 MB / 0.9794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/41.97, allocations: 229.9 kB / 10.06 GB, free: 172.1 MB / 0.9794 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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 -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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_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 -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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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. make: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1