Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.888/1.888, allocations: 265.1 MB / 272.6 MB, free: 8.477 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.001316/0.001317, 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.705/1.705, allocations: 221.5 MB / 0.5946 GB, free: 14.24 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.0009593/0.0009593, allocations: 102.2 kB / 0.6998 GB, free: 2.387 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05195/0.05195, allocations: 11.9 MB / 0.8165 GB, free: 65.23 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.0003324/0.0003324, allocations: 15.11 kB / 0.9245 GB, free: 86.91 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.339e-05, allocations: 4 kB / 1.04 GB, free: 8.5 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2555, allocations: 110.2 MB / 1.148 GB, free: 10.16 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8279/1.083, allocations: 154.3 MB / 1.298 GB, free: 30.25 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.084, allocations: 118.6 kB / 1.298 GB, free: 30.21 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.04633/1.13, allocations: 15.26 MB / 1.313 GB, free: 21.5 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.232e-06/1.13, allocations: 0 / 1.313 GB, free: 21.5 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 7.545e-06/1.13, allocations: 0 / 1.313 GB, free: 21.5 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.001097/1.131, allocations: 0.5587 MB / 1.314 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.131, allocations: 8.031 kB / 1.314 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/1.131, allocations: 79.28 kB / 1.314 GB, free: 20.82 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.132, allocations: 244.9 kB / 1.314 GB, free: 20.54 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/1.132, allocations: 154.6 kB / 1.314 GB, free: 20.39 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/1.132, allocations: 151.1 kB / 1.314 GB, free: 20.24 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.757e-05/1.132, allocations: 154.4 kB / 1.315 GB, free: 20.09 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/1.132, allocations: 112.9 kB / 1.315 GB, free: 19.97 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.132, allocations: 75.28 kB / 1.315 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/1.132, allocations: 150.6 kB / 1.315 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/1.132, allocations: 154.6 kB / 1.315 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/1.132, allocations: 449.8 kB / 1.315 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/1.132, allocations: 165.1 kB / 1.316 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/1.132, allocations: 84.12 kB / 1.316 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/1.132, allocations: 79.28 kB / 1.316 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.132, allocations: 117.2 kB / 1.316 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.132, allocations: 0 / 1.316 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0): time 7.684e-05/1.132, allocations: 30.17 kB / 1.316 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/1.132, allocations: 55.36 kB / 1.316 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.132, allocations: 118.2 kB / 1.316 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/1.132, allocations: 25.7 kB / 1.316 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/1.132, allocations: 95.38 kB / 1.316 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/1.132, allocations: 0 / 1.316 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/1.132, allocations: 4.562 kB / 1.316 GB, free: 18.33 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/1.133, allocations: 314.3 kB / 1.316 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/1.133, allocations: 4 kB / 1.316 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/1.133, allocations: 8.25 kB / 1.316 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/1.133, allocations: 4 kB / 1.316 GB, free: 18 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.133, allocations: 0 / 1.316 GB, free: 18 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/1.133, allocations: 58.41 kB / 1.317 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.133, allocations: 8.062 kB / 1.317 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.133, allocations: 4 kB / 1.317 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.133, allocations: 0 / 1.317 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/1.133, allocations: 3.938 kB / 1.317 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/1.133, allocations: 0 / 1.317 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/1.133, allocations: 8.516 kB / 1.317 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.133, allocations: 0 / 1.317 GB, free: 17.92 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.518e-05/1.133, allocations: 183.6 kB / 1.317 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.072e-05/1.133, allocations: 139.6 kB / 1.317 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/1.133, allocations: 112.9 kB / 1.317 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/1.133, allocations: 108.9 kB / 1.317 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.133, allocations: 180.8 kB / 1.317 GB, free: 17.18 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/1.133, allocations: 187.7 kB / 1.317 GB, free: 16.99 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/1.133, allocations: 176.3 kB / 1.318 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/1.133, allocations: 396.8 kB / 1.318 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.133, allocations: 105 kB / 1.318 GB, free: 16.27 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/1.134, allocations: 105 kB / 1.318 GB, free: 16.16 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.212e-05/1.134, allocations: 181.3 kB / 1.318 GB, free: 15.98 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/1.134, allocations: 184.2 kB / 1.319 GB, free: 15.8 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-05/1.134, allocations: 176.3 kB / 1.319 GB, free: 15.62 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.19e-05/1.134, allocations: 185.8 kB / 1.319 GB, free: 15.43 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/1.134, allocations: 311.2 kB / 1.319 GB, free: 15.11 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/1.134, allocations: 186.7 kB / 1.319 GB, free: 14.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/1.134, allocations: 176.3 kB / 1.32 GB, free: 14.72 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/1.134, allocations: 109 kB / 1.32 GB, free: 14.61 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/1.134, allocations: 184.2 kB / 1.32 GB, free: 14.42 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/1.134, allocations: 101.9 kB / 1.32 GB, free: 14.31 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 4.119e-05/1.134, allocations: 98.73 kB / 1.32 GB, free: 14.22 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.4e-07/1.134, allocations: 0 / 1.32 GB, free: 14.22 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001156/1.135, allocations: 324.5 kB / 1.32 GB, free: 13.92 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.001751/1.137, allocations: 1.19 MB / 1.321 GB, free: 12.71 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 9.721e-05/1.137, allocations: 44.02 kB / 1.322 GB, free: 12.67 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.137, allocations: 0 / 1.322 GB, free: 12.67 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/1.137, allocations: 7.922 kB / 1.322 GB, free: 12.66 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.137, allocations: 0.5261 MB / 1.322 GB, free: 12.13 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/1.138, allocations: 337 kB / 1.322 GB, free: 11.77 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/1.139, allocations: 0.6884 MB / 1.323 GB, free: 27.05 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.869e-05/1.139, allocations: 0 / 1.323 GB, free: 27.05 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/1.139, allocations: 18.86 kB / 1.323 GB, free: 27.04 MB / 0.7449 GB Notification: Performance of SimCode: time 2.61e-07/1.139, allocations: 0 / 1.323 GB, free: 27.04 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/1.168, allocations: 6.141 MB / 1.329 GB, free: 20.98 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/1.168, allocations: 223.7 kB / 1.329 GB, free: 20.7 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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative_FMU.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative_functions.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative_functions.o] Error 1