Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.968/1.968, allocations: 265.1 MB / 272.6 MB, free: 8.484 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.001476/0.001476, allocations: 184.8 kB / 330.1 MB, free: 0 / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, 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.0008997/0.0008994, allocations: 99.77 kB / 0.6998 GB, free: 2.344 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05234/0.05234, allocations: 11.89 MB / 0.8165 GB, free: 65.26 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.0003215/0.0003214, allocations: 17.33 kB / 0.9245 GB, free: 87.11 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.747e-05, allocations: 7.938 kB / 1.04 GB, free: 8.531 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 110.2 MB / 1.148 GB, free: 10.19 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7645/1.053, allocations: 153.6 MB / 1.298 GB, free: 30.72 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.054, allocations: 114 kB / 1.298 GB, free: 30.67 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.04449/1.098, allocations: 14.95 MB / 1.312 GB, free: 22.52 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.593e-06/1.098, allocations: 0 / 1.312 GB, free: 22.52 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.098, allocations: 0 / 1.312 GB, free: 22.52 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.001401/1.1, allocations: 0.5548 MB / 1.313 GB, free: 21.93 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/1.1, allocations: 12.03 kB / 1.313 GB, free: 21.92 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/1.1, allocations: 79.75 kB / 1.313 GB, free: 21.84 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.1, allocations: 256.7 kB / 1.313 GB, free: 21.55 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/1.1, allocations: 150.6 kB / 1.313 GB, free: 21.41 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/1.1, allocations: 159.1 kB / 1.313 GB, free: 21.25 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.478e-05/1.1, allocations: 150.6 kB / 1.314 GB, free: 21.1 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/1.1, allocations: 106.1 kB / 1.314 GB, free: 20.99 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.1, allocations: 75.28 kB / 1.314 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/1.1, allocations: 154.6 kB / 1.314 GB, free: 20.77 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/1.1, allocations: 154 kB / 1.314 GB, free: 20.62 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/1.101, allocations: 441.8 kB / 1.314 GB, free: 20.16 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/1.101, allocations: 169.1 kB / 1.315 GB, free: 19.98 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/1.101, allocations: 88.12 kB / 1.315 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/1.101, allocations: 79.28 kB / 1.315 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.101, allocations: 109.8 kB / 1.315 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/1.101, allocations: 0 / 1.315 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0): time 0.000106/1.101, allocations: 33.61 kB / 1.315 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.101, allocations: 58.86 kB / 1.315 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/1.101, allocations: 118.2 kB / 1.315 GB, free: 19.47 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/1.101, allocations: 26.73 kB / 1.315 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/1.101, allocations: 86.64 kB / 1.315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/1.101, allocations: 0 / 1.315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/1.101, allocations: 0 / 1.315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/1.101, allocations: 325.6 kB / 1.315 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/1.101, allocations: 4 kB / 1.315 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/1.101, allocations: 0 / 1.315 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/1.102, allocations: 10.75 kB / 1.315 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.102, allocations: 4.031 kB / 1.315 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001862/1.102, allocations: 45.59 kB / 1.316 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.102, allocations: 4 kB / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.102, allocations: 8.5 kB / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.102, allocations: 0 / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/1.102, allocations: 0 / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.102, allocations: 0 / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/1.102, allocations: 8.891 kB / 1.316 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.102, allocations: 3.312 kB / 1.316 GB, free: 18.95 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 0.0001065/1.102, allocations: 184.6 kB / 1.316 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.761e-05/1.102, allocations: 142.5 kB / 1.316 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/1.102, allocations: 105 kB / 1.316 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/1.102, allocations: 112.9 kB / 1.316 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/1.102, allocations: 180.2 kB / 1.316 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/1.102, allocations: 183.5 kB / 1.316 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-05/1.102, allocations: 185 kB / 1.317 GB, free: 17.83 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.103, allocations: 389.7 kB / 1.317 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/1.103, allocations: 105 kB / 1.317 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/1.103, allocations: 109.8 kB / 1.317 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/1.103, allocations: 179.4 kB / 1.317 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/1.103, allocations: 180.3 kB / 1.318 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/1.103, allocations: 184.2 kB / 1.318 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-05/1.103, allocations: 178.7 kB / 1.318 GB, free: 16.46 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/1.103, allocations: 314.9 kB / 1.318 GB, free: 16.13 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/1.103, allocations: 186 kB / 1.318 GB, free: 15.92 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.103, allocations: 180.3 kB / 1.319 GB, free: 15.74 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/1.104, allocations: 106.8 kB / 1.319 GB, free: 15.63 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/1.104, allocations: 187.6 kB / 1.319 GB, free: 15.44 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.104, allocations: 101 kB / 1.319 GB, free: 15.34 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 6.548e-05/1.104, allocations: 93 kB / 1.319 GB, free: 15.25 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 0 / 1.319 GB, free: 15.25 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001693/1.105, allocations: 315 kB / 1.319 GB, free: 14.95 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.002767/1.108, allocations: 1.186 MB / 1.32 GB, free: 13.75 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001909/1.108, allocations: 41.08 kB / 1.32 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.108, allocations: 1.031 kB / 1.32 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/1.108, allocations: 0 / 1.32 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/1.109, allocations: 0.5337 MB / 1.321 GB, free: 13.17 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.11, allocations: 332.6 kB / 1.321 GB, free: 12.81 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/1.111, allocations: 0.6846 MB / 1.322 GB, free: 28.1 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.554e-05/1.111, allocations: 4 kB / 1.322 GB, free: 28.1 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/1.111, allocations: 16.62 kB / 1.322 GB, free: 28.09 MB / 0.7449 GB Notification: Performance of SimCode: time 4.21e-07/1.111, allocations: 0 / 1.322 GB, free: 28.09 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/1.141, allocations: 5.986 MB / 1.328 GB, free: 22.18 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.141, allocations: 244.5 kB / 1.328 GB, free: 21.89 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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_Functions_Validation_InternalResistancesOneUTubeNegative_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:748: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_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o] Error 1