Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.856/1.856, allocations: 265.1 MB / 272.6 MB, free: 8.547 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 188.9 kB / 330.1 MB, free: 44 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 0.5946 GB, free: 14.21 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 103.5 kB / 0.6998 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0482/0.0482, allocations: 11.89 MB / 0.8165 GB, free: 65.27 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003467/0.0003467, allocations: 13.61 kB / 0.9245 GB, free: 87.07 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.467e-05, allocations: 8 kB / 1.04 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 110.2 MB / 1.148 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.567/1.832, allocations: 405.7 MB / 1.544 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.832, allocations: 124.1 kB / 1.544 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/3.467, allocations: 481.8 MB / 2.014 GB, free: 165.1 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.533e-06/3.467, allocations: 0 / 2.014 GB, free: 165.1 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0003395/3.468, allocations: 49.11 kB / 2.014 GB, free: 165.1 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006871/3.475, allocations: 1.938 MB / 2.016 GB, free: 164.1 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/3.475, allocations: 9.812 kB / 2.016 GB, free: 164.1 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/3.476, allocations: 208.7 kB / 2.017 GB, free: 164 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00513/3.481, allocations: 1.702 MB / 2.018 GB, free: 163.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/3.481, allocations: 32.69 kB / 2.018 GB, free: 163.6 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/3.482, allocations: 64.53 kB / 2.018 GB, free: 163.6 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002434/3.484, allocations: 0.7148 MB / 2.019 GB, free: 163.6 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/3.487, allocations: 0.9074 MB / 2.02 GB, free: 163.5 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/3.487, allocations: 1.469 kB / 2.02 GB, free: 163.5 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/3.487, allocations: 1 kB / 2.02 GB, free: 163.5 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/3.487, allocations: 26.5 kB / 2.02 GB, free: 163.5 MB / 0.9324 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.009887/3.497, allocations: 6.259 MB / 2.026 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/3.498, allocations: 0.5107 MB / 2.026 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/3.499, allocations: 319.2 kB / 2.027 GB, free: 159.8 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/3.5, allocations: 1.267 MB / 2.028 GB, free: 158.4 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/3.5, allocations: 42.09 kB / 2.028 GB, free: 158.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=68): time 2.875e-06/3.5, allocations: 0 / 2.028 GB, free: 158.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=68): time 0.002243/3.502, allocations: 0.7442 MB / 2.029 GB, free: 158.3 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/3.502, allocations: 86.39 kB / 2.029 GB, free: 158.2 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/3.504, allocations: 1.136 MB / 2.03 GB, free: 158 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/3.504, allocations: 27.23 kB / 2.03 GB, free: 158 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/3.505, allocations: 0.724 MB / 2.031 GB, free: 157.7 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/3.505, allocations: 232.6 kB / 2.031 GB, free: 157.6 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/3.505, allocations: 0 / 2.031 GB, free: 157.6 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/3.505, allocations: 338.8 kB / 2.031 GB, free: 157.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/3.506, allocations: 248.2 kB / 2.032 GB, free: 157.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/3.506, allocations: 461.2 kB / 2.032 GB, free: 157 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/3.507, allocations: 418.2 kB / 2.032 GB, free: 157 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/3.507, allocations: 4.125 kB / 2.032 GB, free: 157 MB / 0.9324 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002106/3.51, allocations: 0.974 MB / 2.033 GB, free: 156.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002985/3.51, allocations: 1.339 MB / 2.035 GB, free: 155.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/3.51, allocations: 5.875 kB / 2.035 GB, free: 155.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/3.51, allocations: 69.8 kB / 2.035 GB, free: 155.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/3.511, allocations: 183.5 kB / 2.035 GB, free: 155.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/3.513, allocations: 2.874 MB / 2.038 GB, free: 153 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/3.514, allocations: 105.5 kB / 2.038 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/3.514, allocations: 39.55 kB / 2.038 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/3.514, allocations: 4.25 kB / 2.038 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/3.516, allocations: 0.7924 MB / 2.039 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/3.516, allocations: 6.375 kB / 2.039 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/3.516, allocations: 77.59 kB / 2.039 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/3.517, allocations: 177.7 kB / 2.039 GB, free: 152.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/3.518, allocations: 2.878 MB / 2.042 GB, free: 150.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/3.52, allocations: 88.52 kB / 2.042 GB, free: 150.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/3.52, allocations: 40.77 kB / 2.042 GB, free: 150.3 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002445/3.52, allocations: 127.7 kB / 2.042 GB, free: 150.2 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001662/3.522, allocations: 0.7491 MB / 2.043 GB, free: 150 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/3.522, allocations: 140.4 kB / 2.043 GB, free: 150 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/3.524, allocations: 0.9561 MB / 2.044 GB, free: 149.9 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/3.524, allocations: 11.56 kB / 2.044 GB, free: 149.9 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/3.524, allocations: 3.938 kB / 2.044 GB, free: 149.9 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/3.525, allocations: 0.7906 MB / 2.044 GB, free: 149.7 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/3.529, allocations: 2.473 MB / 2.047 GB, free: 149 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/3.529, allocations: 6.875 kB / 2.047 GB, free: 149 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/3.53, allocations: 138.7 kB / 2.047 GB, free: 149 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/3.53, allocations: 65.06 kB / 2.047 GB, free: 149 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/3.53, allocations: 19.61 kB / 2.047 GB, free: 149 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/3.532, allocations: 2.863 MB / 2.05 GB, free: 146.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/3.532, allocations: 6.688 kB / 2.05 GB, free: 146.5 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/3.534, allocations: 1.542 MB / 2.051 GB, free: 145.9 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/3.535, allocations: 351.4 kB / 2.052 GB, free: 145.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/3.535, allocations: 7.438 kB / 2.052 GB, free: 145.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/3.535, allocations: 35.22 kB / 2.052 GB, free: 145.7 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/3.535, allocations: 57.95 kB / 2.052 GB, free: 145.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/3.535, allocations: 31.55 kB / 2.052 GB, free: 145.7 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.001123/3.537, allocations: 0.8594 MB / 2.053 GB, free: 145.6 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.61e-07/3.537, allocations: 0 / 2.053 GB, free: 145.6 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.003942/3.541, allocations: 1.19 MB / 2.054 GB, free: 145.3 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005081/3.546, allocations: 4.034 MB / 2.058 GB, free: 143.2 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.002139/3.548, allocations: 1.593 MB / 2.059 GB, free: 142.7 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/3.548, allocations: 0 / 2.059 GB, free: 142.7 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/3.548, allocations: 0.5476 MB / 2.06 GB, free: 142.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/3.551, allocations: 0.6048 MB / 2.06 GB, free: 142.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/3.557, allocations: 2.714 MB / 2.063 GB, free: 141.7 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/3.558, allocations: 1.308 MB / 2.064 GB, free: 140.9 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.001601/3.559, allocations: 452.2 kB / 2.065 GB, free: 140.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/3.56, allocations: 0.5951 MB / 2.065 GB, free: 140.9 MB / 0.9324 GB Notification: Performance of SimCode: time 8.52e-07/3.56, allocations: 0 / 2.065 GB, free: 140.9 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/3.661, allocations: 47.46 MB / 2.112 GB, free: 137.9 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/3.661, allocations: 226 kB / 2.112 GB, free: 137.6 MB / 0.9324 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=AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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 AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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=AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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=AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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); ^ AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:915: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: *** [: AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1