Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8898/0.8898, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001039/0.001039, allocations: 105.4 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.571e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4705, allocations: 82.31 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8739/1.344, allocations: 409.1 MB / 1.033 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/1.345, allocations: 113.2 kB / 1.034 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 31.47/32.81, allocations: 7.383 GB / 8.416 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.314e-06/32.81, allocations: 0 / 8.416 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.005514/32.82, allocations: 0.5888 MB / 8.417 GB, free: 14.96 MB / 0.7917 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 1.333/34.15, allocations: 20.37 MB / 8.437 GB, free: 42.84 MB / 0.7918 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/34.15, allocations: 11.61 kB / 8.437 GB, free: 42.84 MB / 0.7918 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/34.17, allocations: 3.024 MB / 8.44 GB, free: 41.39 MB / 0.7918 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09456/34.27, allocations: 35.4 MB / 8.474 GB, free: 38.79 MB / 0.7918 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/34.27, allocations: 0.5388 MB / 8.475 GB, free: 38.79 MB / 0.7918 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008145/34.28, allocations: 1.027 MB / 8.476 GB, free: 38.78 MB / 0.7918 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05207/34.33, allocations: 20.46 MB / 8.496 GB, free: 38.71 MB / 0.7918 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07398/34.4, allocations: 22.01 MB / 8.517 GB, free: 37.09 MB / 0.7918 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001302/34.4, allocations: 56.47 kB / 8.517 GB, free: 37.08 MB / 0.7918 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007783/34.41, allocations: 18.06 kB / 8.517 GB, free: 37.08 MB / 0.7918 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003529/34.41, allocations: 422.8 kB / 8.518 GB, free: 37.08 MB / 0.7918 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.2272/34.64, allocations: 98.24 MB / 8.614 GB, free: 43.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02346/34.66, allocations: 12.85 MB / 8.626 GB, free: 38.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01593/34.68, allocations: 9.054 MB / 8.635 GB, free: 34.91 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004022/34.68, allocations: 2.63 MB / 8.638 GB, free: 32.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/34.68, allocations: 160.9 kB / 8.638 GB, free: 32.02 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01598/34.7, allocations: 0.7414 MB / 8.639 GB, free: 31.55 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1034): time 0.0001231/34.7, allocations: 0 / 8.639 GB, free: 31.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=1034): time 0.0437/34.74, allocations: 15.52 MB / 8.654 GB, free: 25.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/34.74, allocations: 160.8 kB / 8.654 GB, free: 25.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0539/34.8, allocations: 21.47 MB / 8.675 GB, free: 18.07 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003414/34.8, allocations: 42.52 kB / 8.675 GB, free: 18.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01739/34.82, allocations: 11.01 MB / 8.686 GB, free: 9.523 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.007625/34.83, allocations: 3.515 MB / 8.689 GB, free: 6.762 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/34.83, allocations: 5.391 kB / 8.689 GB, free: 6.762 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00115/34.83, allocations: 0.8672 MB / 8.69 GB, free: 6.211 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01329/34.84, allocations: 7.001 MB / 8.697 GB, free: 3.543 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01958/34.86, allocations: 10.47 MB / 8.707 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/34.88, allocations: 9.522 MB / 8.716 GB, free: 8.293 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/34.88, allocations: 22.44 kB / 8.716 GB, free: 8.273 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06365/34.95, allocations: 21.08 MB / 8.737 GB, free: 6.469 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.475/36.42, allocations: 59.54 MB / 8.795 GB, free: 50.98 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000926/36.42, allocations: 109.5 kB / 8.795 GB, free: 50.98 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005364/36.43, allocations: 1.974 MB / 8.797 GB, free: 50.66 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01447/36.44, allocations: 3.159 MB / 8.8 GB, free: 50.66 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05148/36.49, allocations: 64.41 MB / 8.863 GB, free: 31.78 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02937/36.52, allocations: 1.511 MB / 8.865 GB, free: 31.78 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004901/36.53, allocations: 0.5362 MB / 8.865 GB, free: 31.78 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/36.53, allocations: 3.688 kB / 8.865 GB, free: 31.78 MB / 0.8857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05464/36.58, allocations: 19.1 MB / 8.884 GB, free: 31.14 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006351/36.58, allocations: 110.6 kB / 8.884 GB, free: 31.14 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/36.59, allocations: 1.988 MB / 8.886 GB, free: 30.82 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.015/36.6, allocations: 3.167 MB / 8.889 GB, free: 30.82 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05578/36.66, allocations: 65.4 MB / 8.953 GB, free: 27.14 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02561/36.68, allocations: 1.461 MB / 8.954 GB, free: 27.14 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004943/36.69, allocations: 0.5378 MB / 8.955 GB, free: 27.14 MB / 0.9325 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.007615/36.7, allocations: 443.1 kB / 8.955 GB, free: 27.02 MB / 0.9325 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04826/36.75, allocations: 15.47 MB / 8.97 GB, free: 26.02 MB / 0.9325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01189/36.76, allocations: 1.868 MB / 8.972 GB, free: 25.04 MB / 0.9325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05001/36.81, allocations: 17.03 MB / 8.989 GB, free: 24.02 MB / 0.9325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001518/36.81, allocations: 104.3 kB / 8.989 GB, free: 24.02 MB / 0.9325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-05/36.81, allocations: 21.06 kB / 8.989 GB, free: 24.02 MB / 0.9325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03812/36.85, allocations: 13.82 MB / 9.002 GB, free: 23.29 MB / 0.9325 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.1281/36.97, allocations: 42.19 MB / 9.043 GB, free: 19.13 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.472e-05/36.97, allocations: 4.969 kB / 9.043 GB, free: 19.13 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01192/36.99, allocations: 2.355 MB / 9.046 GB, free: 19.13 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004254/36.99, allocations: 1.852 MB / 9.048 GB, free: 18.8 MB / 0.9325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003309/36.99, allocations: 161.8 kB / 9.048 GB, free: 18.8 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9328/37.93, allocations: 64.15 MB / 9.11 GB, free: 117 MB / 0.9325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/37.93, allocations: 3.531 kB / 9.11 GB, free: 117 MB / 0.9325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05908/37.99, allocations: 25.29 MB / 9.135 GB, free: 115.3 MB / 0.9325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02127/38.01, allocations: 4.941 MB / 9.14 GB, free: 114.2 MB / 0.9325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01173/38.02, allocations: 83.91 kB / 9.14 GB, free: 114.2 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0243/38.04, allocations: 1.247 MB / 9.141 GB, free: 114.2 MB / 0.9325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004722/38.05, allocations: 0.6514 MB / 9.142 GB, free: 114.2 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003973/38.05, allocations: 374.6 kB / 9.142 GB, free: 114.2 MB / 0.9325 GB Notification: Performance of sorting global known variables: time 0.05425/38.11, allocations: 16.47 MB / 9.158 GB, free: 113.6 MB / 0.9325 GB Notification: Performance of sort global known variables: time 2.034e-06/38.11, allocations: 0 / 9.158 GB, free: 113.6 MB / 0.9325 GB Notification: Performance of remove unused functions: time 0.1033/38.21, allocations: 12.72 MB / 9.171 GB, free: 112.6 MB / 0.9325 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.08255/38.29, allocations: 27.61 MB / 9.198 GB, free: 109.6 MB / 0.9325 GB Notification: Performance of simCode: created initialization part: time 0.07557/38.37, allocations: 36 MB / 9.233 GB, free: 100.2 MB / 0.9325 GB Notification: Performance of simCode: created event and clocks part: time 1.969e-05/38.37, allocations: 12 kB / 9.233 GB, free: 100.2 MB / 0.9325 GB Notification: Performance of simCode: created simulation system equations: time 0.02062/38.39, allocations: 11.65 MB / 9.244 GB, free: 96.09 MB / 0.9325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07103/38.46, allocations: 10.89 MB / 9.255 GB, free: 95.94 MB / 0.9325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/38.65, allocations: 56.4 MB / 9.31 GB, free: 84.11 MB / 0.9325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05073/38.7, allocations: 17.37 MB / 9.327 GB, free: 75.16 MB / 0.9325 GB Notification: Performance of simCode: alias equations: time 0.1051/38.8, allocations: 27.12 MB / 9.353 GB, free: 59.45 MB / 0.9325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0371/38.84, allocations: 10.41 MB / 9.363 GB, free: 49.99 MB / 0.9325 GB Notification: Performance of SimCode: time 2.144e-06/38.84, allocations: 0 / 9.363 GB, free: 49.99 MB / 0.9325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.975/41.82, allocations: 0.5956 GB / 9.959 GB, free: 97.89 MB / 0.9638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/41.82, allocations: 214 kB / 9.959 GB, free: 97.6 MB / 0.9638 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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1320: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: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1