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.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_latest_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_latest_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.909/1.909, allocations: 265.1 MB / 272.6 MB, free: 8.469 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.001614/0.001614, allocations: 181 kB / 330.1 MB, free: 15.99 MB / 282.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, 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.001211/0.001211, allocations: 99.84 kB / 0.6998 GB, free: 2.352 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05046/0.05046, allocations: 11.9 MB / 0.8165 GB, free: 65.22 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.0003601/0.0003598, allocations: 10.02 kB / 0.9245 GB, free: 87.1 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.973e-05, allocations: 4 kB / 1.04 GB, free: 8.5 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2687, allocations: 110.2 MB / 1.148 GB, free: 10.16 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8206/1.089, allocations: 154.3 MB / 1.298 GB, free: 30.5 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.09, allocations: 114.2 kB / 1.298 GB, free: 30.46 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.04689/1.137, allocations: 15.27 MB / 1.313 GB, free: 21.73 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.345e-06/1.137, allocations: 4 kB / 1.313 GB, free: 21.73 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.137, allocations: 0 / 1.313 GB, free: 21.73 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.001314/1.138, allocations: 0.5491 MB / 1.314 GB, free: 21.14 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.138, allocations: 8.031 kB / 1.314 GB, free: 21.13 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/1.138, allocations: 79.28 kB / 1.314 GB, free: 21.05 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.138, allocations: 253.1 kB / 1.314 GB, free: 20.77 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/1.138, allocations: 154.6 kB / 1.314 GB, free: 20.62 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/1.138, allocations: 150.6 kB / 1.314 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.532e-05/1.139, allocations: 150.6 kB / 1.315 GB, free: 20.32 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.607e-05/1.139, allocations: 116.9 kB / 1.315 GB, free: 20.2 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.139, allocations: 75.28 kB / 1.315 GB, free: 20.13 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/1.139, allocations: 150.6 kB / 1.315 GB, free: 19.98 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/1.139, allocations: 158.5 kB / 1.315 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/1.139, allocations: 445.6 kB / 1.315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/1.139, allocations: 165.1 kB / 1.316 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/1.139, allocations: 80.14 kB / 1.316 GB, free: 19.11 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/1.139, allocations: 79.28 kB / 1.316 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.139, allocations: 118 kB / 1.316 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.139, allocations: 0 / 1.316 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0): time 7.873e-05/1.139, allocations: 29.61 kB / 1.316 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/1.139, allocations: 59.34 kB / 1.316 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.139, allocations: 117.5 kB / 1.316 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/1.139, allocations: 26.27 kB / 1.316 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/1.139, allocations: 91.08 kB / 1.316 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/1.139, allocations: 0 / 1.316 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.139, allocations: 0 / 1.316 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/1.14, allocations: 322.5 kB / 1.316 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/1.14, allocations: 4 kB / 1.316 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/1.14, allocations: 7.812 kB / 1.316 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/1.14, allocations: 4.688 kB / 1.317 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.14, allocations: 0 / 1.317 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001424/1.14, allocations: 57.22 kB / 1.317 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.14, allocations: 9.469 kB / 1.317 GB, free: 18.17 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.14, allocations: 4 kB / 1.317 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.14, allocations: 1.312 kB / 1.317 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/1.14, allocations: 4.812 kB / 1.317 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.14, allocations: 0 / 1.317 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/1.14, allocations: 3.953 kB / 1.317 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/1.14, allocations: 4 kB / 1.317 GB, free: 18.15 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.873e-05/1.14, allocations: 176.3 kB / 1.317 GB, free: 17.97 MB / 0.7293 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.669e-05/1.14, allocations: 146.5 kB / 1.317 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/1.14, allocations: 112.5 kB / 1.317 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/1.14, allocations: 105 kB / 1.317 GB, free: 17.6 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/1.14, allocations: 185.3 kB / 1.317 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.14, allocations: 180.2 kB / 1.317 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.941e-05/1.14, allocations: 180.2 kB / 1.318 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/1.141, allocations: 400.9 kB / 1.318 GB, free: 16.61 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.141, allocations: 105 kB / 1.318 GB, free: 16.5 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/1.141, allocations: 101.5 kB / 1.318 GB, free: 16.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.11e-05/1.141, allocations: 180.2 kB / 1.318 GB, free: 16.21 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/1.141, allocations: 184.9 kB / 1.319 GB, free: 16.03 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.243e-05/1.141, allocations: 176.3 kB / 1.319 GB, free: 15.85 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.628e-05/1.141, allocations: 185.8 kB / 1.319 GB, free: 15.66 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/1.141, allocations: 307.4 kB / 1.319 GB, free: 15.34 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/1.141, allocations: 190.6 kB / 1.319 GB, free: 15.13 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/1.141, allocations: 176.9 kB / 1.32 GB, free: 14.95 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/1.141, allocations: 105 kB / 1.32 GB, free: 14.84 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/1.141, allocations: 187.8 kB / 1.32 GB, free: 14.65 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/1.141, allocations: 105 kB / 1.32 GB, free: 14.54 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 4.131e-05/1.141, allocations: 92.09 kB / 1.32 GB, free: 14.46 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.3e-07/1.141, allocations: 1.031 kB / 1.32 GB, free: 14.46 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001142/1.142, allocations: 326.4 kB / 1.32 GB, free: 14.15 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.001778/1.144, allocations: 1.188 MB / 1.321 GB, free: 12.95 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001063/1.144, allocations: 41.08 kB / 1.322 GB, free: 12.9 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.144, allocations: 0 / 1.322 GB, free: 12.9 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/1.144, allocations: 3.938 kB / 1.322 GB, free: 12.9 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/1.144, allocations: 0.53 MB / 1.322 GB, free: 12.37 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/1.145, allocations: 337.7 kB / 1.322 GB, free: 12 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.146, allocations: 0.6884 MB / 1.323 GB, free: 27.29 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.832e-05/1.146, allocations: 0 / 1.323 GB, free: 27.29 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/1.146, allocations: 17.75 kB / 1.323 GB, free: 27.28 MB / 0.7449 GB Notification: Performance of SimCode: time 8.21e-07/1.146, allocations: 4 kB / 1.323 GB, free: 27.28 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/1.178, allocations: 6.13 MB / 1.329 GB, free: 21.22 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/1.178, allocations: 221.5 kB / 1.329 GB, free: 20.94 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_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from AixLib_latest_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_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./AixLib_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./AixLib_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o] Error 1