Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.Examples.BoreholeTwoUTube,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",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.935/1.935, allocations: 265.1 MB / 272.6 MB, free: 8.496 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.00107/0.00107, allocations: 172.9 kB / 330.1 MB, free: 4 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.433/1.433, allocations: 221.5 MB / 0.5946 GB, free: 14.25 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.000936/0.0009362, allocations: 95.8 kB / 0.6998 GB, free: 2.375 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05732/0.05732, allocations: 11.89 MB / 0.8165 GB, free: 65.24 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.0005587/0.0005584, allocations: 18.27 kB / 0.9245 GB, free: 86.82 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.285e-05, allocations: 0 / 1.04 GB, free: 8.555 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 110.2 MB / 1.148 GB, free: 10.22 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.778/2.108, allocations: 428.5 MB / 1.566 GB, free: 251.6 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/2.108, allocations: 113 kB / 1.566 GB, free: 251.6 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 28.99/31.1, allocations: 7.383 GB / 8.949 GB, free: 68.41 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.352e-06/31.1, allocations: 0 / 8.949 GB, free: 68.41 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.007734/31.1, allocations: 0.5835 MB / 8.949 GB, free: 68.32 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.08581/31.19, allocations: 20.39 MB / 8.969 GB, free: 60.34 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/31.19, allocations: 10.64 kB / 8.969 GB, free: 60.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/31.21, allocations: 3.021 MB / 8.972 GB, free: 58.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08899/31.3, allocations: 35.39 MB / 9.007 GB, free: 34.14 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/31.3, allocations: 0.5387 MB / 9.007 GB, free: 33.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008628/31.31, allocations: 1.035 MB / 9.008 GB, free: 32.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05207/31.36, allocations: 20.45 MB / 9.028 GB, free: 12.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.631/32.99, allocations: 22 MB / 9.05 GB, free: 77.3 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001466/33, allocations: 58.28 kB / 9.05 GB, free: 77.3 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008/33, allocations: 20.91 kB / 9.05 GB, free: 77.3 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005302/33, allocations: 420.9 kB / 9.05 GB, free: 77.3 MB / 1.042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/33.23, allocations: 98.22 MB / 9.146 GB, free: 69.16 MB / 1.058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02496/33.26, allocations: 12.86 MB / 9.159 GB, free: 69.03 MB / 1.058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01826/33.28, allocations: 9.056 MB / 9.168 GB, free: 68.91 MB / 1.058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00389/33.28, allocations: 2.628 MB / 9.17 GB, free: 66.18 MB / 1.058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/33.28, allocations: 158.1 kB / 9.17 GB, free: 66.12 MB / 1.058 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01741/33.3, allocations: 0.7437 MB / 9.171 GB, free: 65.88 MB / 1.058 GB Notification: Performance of pre-optimization done (n=1034): time 0.0001234/33.3, allocations: 0 / 9.171 GB, free: 65.88 MB / 1.058 GB Notification: Performance of matching and sorting (n=1034): time 0.0524/33.35, allocations: 15.52 MB / 9.186 GB, free: 64.21 MB / 1.058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/33.35, allocations: 163.4 kB / 9.186 GB, free: 64.14 MB / 1.058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06616/33.42, allocations: 21.47 MB / 9.207 GB, free: 63.24 MB / 1.058 GB Notification: Performance of collectPreVariables (initialization): time 0.00389/33.42, allocations: 38.95 kB / 9.207 GB, free: 63.21 MB / 1.058 GB Notification: Performance of collectInitialEqns (initialization): time 0.01974/33.44, allocations: 11.01 MB / 9.218 GB, free: 60.54 MB / 1.058 GB Notification: Performance of collectInitialBindings (initialization): time 0.008433/33.45, allocations: 3.514 MB / 9.222 GB, free: 58.21 MB / 1.058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004268/33.45, allocations: 0 / 9.222 GB, free: 58.21 MB / 1.058 GB Notification: Performance of setup shared object (initialization): time 0.002902/33.46, allocations: 0.8607 MB / 9.222 GB, free: 57.88 MB / 1.058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01659/33.47, allocations: 7.009 MB / 9.229 GB, free: 57.85 MB / 1.058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02041/33.49, allocations: 10.47 MB / 9.24 GB, free: 54.38 MB / 1.058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02602/33.52, allocations: 9.516 MB / 9.249 GB, free: 54.23 MB / 1.058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002879/33.52, allocations: 22.34 kB / 9.249 GB, free: 54.23 MB / 1.058 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.0684/33.59, allocations: 21.09 MB / 9.269 GB, free: 49.27 MB / 1.058 GB Notification: Performance of prepare postOptimizeDAE: time 0.02961/33.62, allocations: 59.54 MB / 9.328 GB, free: 51.33 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006892/33.62, allocations: 103.5 kB / 9.328 GB, free: 51.33 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/33.62, allocations: 1.97 MB / 9.33 GB, free: 50.52 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/33.64, allocations: 3.172 MB / 9.333 GB, free: 50.42 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0545/33.69, allocations: 64.4 MB / 9.396 GB, free: 24.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02913/33.72, allocations: 1.511 MB / 9.397 GB, free: 24.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005098/33.73, allocations: 0.543 MB / 9.398 GB, free: 24.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/33.73, allocations: 3.406 kB / 9.398 GB, free: 24.33 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04873/33.78, allocations: 19.1 MB / 9.416 GB, free: 34.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004363/33.78, allocations: 109.1 kB / 9.416 GB, free: 34.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/33.78, allocations: 1.982 MB / 9.418 GB, free: 33.19 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/33.79, allocations: 3.162 MB / 9.421 GB, free: 33.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06/34.86, allocations: 65.4 MB / 9.485 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02817/34.88, allocations: 1.457 MB / 9.487 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005543/34.89, allocations: 0.5388 MB / 9.487 GB, free: 160.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1529 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.008403/34.9, allocations: 437.5 kB / 9.488 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05788/34.96, allocations: 15.48 MB / 9.503 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01459/34.97, allocations: 1.872 MB / 9.505 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05749/35.03, allocations: 17.02 MB / 9.521 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001812/35.03, allocations: 101.2 kB / 9.521 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.265e-05/35.03, allocations: 21.31 kB / 9.521 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0389/35.07, allocations: 13.82 MB / 9.535 GB, free: 157.4 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1599/35.23, allocations: 42.2 MB / 9.576 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000115/35.23, allocations: 4.781 kB / 9.576 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01436/35.24, allocations: 2.35 MB / 9.578 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004864/35.25, allocations: 1.849 MB / 9.58 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003561/35.25, allocations: 157.4 kB / 9.58 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04476/35.29, allocations: 64.15 MB / 9.643 GB, free: 101.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/35.29, allocations: 7.922 kB / 9.643 GB, free: 101.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06431/35.36, allocations: 25.29 MB / 9.668 GB, free: 99.16 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02289/35.38, allocations: 4.94 MB / 9.672 GB, free: 98.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01224/35.39, allocations: 77.55 kB / 9.673 GB, free: 98.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02636/35.42, allocations: 1.247 MB / 9.674 GB, free: 98.02 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005299/35.43, allocations: 0.6632 MB / 9.674 GB, free: 98.01 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00445/35.43, allocations: 371.8 kB / 9.675 GB, free: 98.01 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.06883/35.5, allocations: 16.47 MB / 9.691 GB, free: 97.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.012e-06/35.5, allocations: 0 / 9.691 GB, free: 97.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.1039/35.6, allocations: 12.72 MB / 9.703 GB, free: 96.64 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.07377/35.68, allocations: 27.61 MB / 9.73 GB, free: 93.64 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.07217/35.75, allocations: 36 MB / 9.765 GB, free: 83.37 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/35.75, allocations: 7.906 kB / 9.765 GB, free: 83.37 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02115/35.77, allocations: 11.65 MB / 9.777 GB, free: 76.59 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07484/35.85, allocations: 10.89 MB / 9.787 GB, free: 74.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1819/36.03, allocations: 56.4 MB / 9.842 GB, free: 33.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8296/36.86, allocations: 17.37 MB / 9.859 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.09717/36.95, allocations: 26.99 MB / 9.886 GB, free: 165.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03401/36.99, allocations: 10.4 MB / 9.896 GB, free: 165.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.533e-06/36.99, allocations: 1.406 kB / 9.896 GB, free: 165.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.714/38.7, allocations: 0.5941 GB / 10.49 GB, free: 184.4 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/38.7, allocations: 210.8 kB / 10.49 GB, free: 184.1 MB / 1.198 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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_Examples_BoreholeTwoUTube_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./AixLib_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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_Examples_BoreholeTwoUTube_functions.c:1060: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_Examples_BoreholeTwoUTube_functions.o] Error 1