Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.927/1.927, allocations: 265.1 MB / 272.6 MB, free: 8.562 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.001731/0.001731, allocations: 200.8 kB / 330.1 MB, free: 40 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.484/1.484, allocations: 221.5 MB / 0.5946 GB, free: 14.2 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.0009668/0.0009668, allocations: 103.3 kB / 0.6998 GB, free: 2.34 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05332/0.05332, allocations: 11.9 MB / 0.8165 GB, free: 65.25 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.0003245/0.0003245, allocations: 19.53 kB / 0.9245 GB, free: 86.92 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.779e-05, allocations: 7.984 kB / 1.04 GB, free: 8.539 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2675, allocations: 110.2 MB / 1.148 GB, free: 10.2 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8409/1.108, allocations: 154.3 MB / 1.298 GB, free: 30.28 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.109, allocations: 116.7 kB / 1.298 GB, free: 30.23 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.04654/1.155, allocations: 15.27 MB / 1.313 GB, free: 21.55 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.454e-06/1.156, allocations: 0 / 1.313 GB, free: 21.55 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.156, allocations: 0 / 1.313 GB, free: 21.55 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001278/1.157, allocations: 0.5538 MB / 1.314 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.157, allocations: 12.03 kB / 1.314 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/1.157, allocations: 75.28 kB / 1.314 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.157, allocations: 251.7 kB / 1.314 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.157, allocations: 158.6 kB / 1.314 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/1.157, allocations: 150.6 kB / 1.314 GB, free: 20.29 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.692e-05/1.157, allocations: 151.1 kB / 1.315 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.29e-05/1.157, allocations: 108.9 kB / 1.315 GB, free: 20.03 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.157, allocations: 75.28 kB / 1.315 GB, free: 19.95 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.157, allocations: 151.2 kB / 1.315 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.157, allocations: 158.5 kB / 1.315 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/1.158, allocations: 448.1 kB / 1.315 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 5.478e-05/1.158, allocations: 169.1 kB / 1.316 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/1.158, allocations: 80.7 kB / 1.316 GB, free: 18.93 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/1.158, allocations: 79.28 kB / 1.316 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.158, allocations: 109.8 kB / 1.316 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.158, allocations: 0.8438 kB / 1.316 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0): time 7.916e-05/1.158, allocations: 33.61 kB / 1.316 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/1.158, allocations: 55.36 kB / 1.316 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.158, allocations: 115.7 kB / 1.316 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/1.158, allocations: 25.7 kB / 1.316 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/1.158, allocations: 101.6 kB / 1.316 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/1.158, allocations: 0 / 1.316 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/1.158, allocations: 0 / 1.316 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/1.158, allocations: 310.8 kB / 1.316 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/1.158, allocations: 8.625 kB / 1.316 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/1.158, allocations: 4 kB / 1.316 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/1.158, allocations: 12.98 kB / 1.317 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.158, allocations: 4 kB / 1.317 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/1.158, allocations: 48.86 kB / 1.317 GB, free: 18 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.158, allocations: 12.06 kB / 1.317 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.158, allocations: 0 / 1.317 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.158, allocations: 0 / 1.317 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/1.159, allocations: 7.938 kB / 1.317 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/1.159, allocations: 0 / 1.317 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/1.159, allocations: 3.953 kB / 1.317 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/1.159, allocations: 3.984 kB / 1.317 GB, free: 17.98 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/1.159, allocations: 180.8 kB / 1.317 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.723e-05/1.159, allocations: 143.2 kB / 1.317 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/1.159, allocations: 104.9 kB / 1.317 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/1.159, allocations: 116.2 kB / 1.317 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.159, allocations: 176.3 kB / 1.317 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.519e-05/1.159, allocations: 184.2 kB / 1.317 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/1.159, allocations: 181 kB / 1.318 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/1.159, allocations: 396.7 kB / 1.318 GB, free: 16.44 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.159, allocations: 109 kB / 1.318 GB, free: 16.33 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/1.159, allocations: 105 kB / 1.318 GB, free: 16.22 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.293e-05/1.159, allocations: 176.3 kB / 1.318 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/1.159, allocations: 181.3 kB / 1.319 GB, free: 15.86 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.033e-05/1.159, allocations: 176.3 kB / 1.319 GB, free: 15.68 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.432e-05/1.159, allocations: 189.8 kB / 1.319 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/1.159, allocations: 311.6 kB / 1.319 GB, free: 15.16 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/1.159, allocations: 182 kB / 1.319 GB, free: 14.96 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/1.159, allocations: 187.5 kB / 1.32 GB, free: 14.77 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/1.16, allocations: 105 kB / 1.32 GB, free: 14.66 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/1.16, allocations: 180.2 kB / 1.32 GB, free: 14.48 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.16, allocations: 101.7 kB / 1.32 GB, free: 14.37 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 4.705e-05/1.16, allocations: 100.6 kB / 1.32 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of sort global known variables: time 2.81e-07/1.16, allocations: 0 / 1.32 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001105/1.161, allocations: 321.6 kB / 1.32 GB, free: 13.98 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/1.162, allocations: 1.191 MB / 1.321 GB, free: 12.77 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.163, allocations: 45.25 kB / 1.322 GB, free: 12.72 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.163, allocations: 0 / 1.322 GB, free: 12.72 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/1.163, allocations: 3.938 kB / 1.322 GB, free: 12.72 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/1.163, allocations: 0.5263 MB / 1.322 GB, free: 12.19 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/1.164, allocations: 339.8 kB / 1.322 GB, free: 11.82 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/1.164, allocations: 0.6923 MB / 1.323 GB, free: 27.11 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.299e-05/1.164, allocations: 4 kB / 1.323 GB, free: 27.1 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/1.164, allocations: 13.38 kB / 1.323 GB, free: 27.1 MB / 0.7449 GB Notification: Performance of SimCode: time 3.1e-07/1.164, allocations: 4 kB / 1.323 GB, free: 27.09 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/1.193, allocations: 6.119 MB / 1.329 GB, free: 21.05 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.193, allocations: 216.6 kB / 1.329 GB, free: 20.76 MB / 0.7449 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. -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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. -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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. -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:779: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_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o] Error 1