Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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_latest_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_latest_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.797/1.797, allocations: 265.1 MB / 272.6 MB, free: 8.402 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.001446/0.001446, allocations: 180.9 kB / 330 MB, free: 15.91 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.365/1.365, 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.001017/0.001017, allocations: 106.4 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.04878/0.04878, allocations: 11.9 MB / 0.8165 GB, free: 65.25 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004106/0.0004105, allocations: 20.09 kB / 0.9245 GB, free: 86.95 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.26e-05, allocations: 7.938 kB / 1.04 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2821, allocations: 110.2 MB / 1.147 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.174, allocations: 428.5 MB / 1.566 GB, free: 287 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/2.175, allocations: 110.8 kB / 1.566 GB, free: 287 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 29.92/32.1, allocations: 7.383 GB / 8.949 GB, free: 75.84 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.473e-06/32.1, allocations: 0 / 8.949 GB, free: 75.84 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.007518/32.11, allocations: 0.5869 MB / 8.949 GB, free: 75.76 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.08546/32.19, allocations: 20.38 MB / 8.969 GB, free: 67.9 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/32.19, allocations: 11.31 kB / 8.969 GB, free: 67.9 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0252/32.22, allocations: 3.018 MB / 8.972 GB, free: 66.45 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0933/32.31, allocations: 35.39 MB / 9.007 GB, free: 59.33 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/32.31, allocations: 0.5358 MB / 9.007 GB, free: 59.33 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008589/32.32, allocations: 1.038 MB / 9.008 GB, free: 59.3 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05048/32.37, allocations: 20.45 MB / 9.028 GB, free: 41.74 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07589/32.45, allocations: 22.01 MB / 9.05 GB, free: 20.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0017/32.45, allocations: 63.42 kB / 9.05 GB, free: 20.42 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01326/32.46, allocations: 20 kB / 9.05 GB, free: 20.4 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000637/32.46, allocations: 420 kB / 9.05 GB, free: 19.99 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 1.797/34.26, allocations: 98.21 MB / 9.146 GB, free: 70.2 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/34.29, allocations: 12.85 MB / 9.159 GB, free: 70.07 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02187/34.31, allocations: 9.064 MB / 9.168 GB, free: 69.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/34.31, allocations: 2.625 MB / 9.17 GB, free: 67.21 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/34.31, allocations: 166.4 kB / 9.17 GB, free: 67.16 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01721/34.33, allocations: 0.7456 MB / 9.171 GB, free: 66.92 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1034): time 0.0001344/34.33, allocations: 0 / 9.171 GB, free: 66.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=1034): time 0.05537/34.39, allocations: 15.51 MB / 9.186 GB, free: 65.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/34.39, allocations: 160.2 kB / 9.186 GB, free: 65.18 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06759/34.46, allocations: 21.48 MB / 9.207 GB, free: 64.28 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003657/34.46, allocations: 40.2 kB / 9.207 GB, free: 64.25 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01775/34.48, allocations: 11.03 MB / 9.218 GB, free: 61.91 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00708/34.48, allocations: 3.508 MB / 9.222 GB, free: 59.87 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/34.49, allocations: 0 / 9.222 GB, free: 59.87 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001196/34.49, allocations: 0.8659 MB / 9.222 GB, free: 59.54 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01476/34.5, allocations: 7.003 MB / 9.229 GB, free: 59.51 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01827/34.52, allocations: 10.47 MB / 9.24 GB, free: 56.04 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/34.54, allocations: 9.517 MB / 9.249 GB, free: 55.89 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000306/34.54, allocations: 19.94 kB / 9.249 GB, free: 55.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06518/34.61, allocations: 21.09 MB / 9.269 GB, free: 54.25 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.02769/34.64, allocations: 59.54 MB / 9.328 GB, free: 56.87 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006569/34.64, allocations: 110.1 kB / 9.328 GB, free: 56.87 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/34.64, allocations: 1.968 MB / 9.33 GB, free: 56.55 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/34.66, allocations: 3.17 MB / 9.333 GB, free: 56.55 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05336/34.71, allocations: 64.41 MB / 9.396 GB, free: 37.21 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02785/34.74, allocations: 1.515 MB / 9.397 GB, free: 37.05 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005752/34.74, allocations: 0.5414 MB / 9.398 GB, free: 37.05 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/34.74, allocations: 6.953 kB / 9.398 GB, free: 37.05 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05911/34.8, allocations: 19.1 MB / 9.416 GB, free: 31.64 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007571/34.8, allocations: 107.7 kB / 9.416 GB, free: 31.64 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/34.81, allocations: 1.989 MB / 9.418 GB, free: 30.82 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/34.82, allocations: 3.168 MB / 9.421 GB, free: 30.71 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9509/35.77, allocations: 65.39 MB / 9.485 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03019/35.8, allocations: 1.458 MB / 9.487 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00528/35.81, allocations: 0.5422 MB / 9.487 GB, free: 185.7 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.006329/35.82, allocations: 430.5 kB / 9.488 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04784/35.86, allocations: 15.47 MB / 9.503 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01291/35.88, allocations: 1.877 MB / 9.505 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05763/35.93, allocations: 17.03 MB / 9.521 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002114/35.93, allocations: 98.25 kB / 9.521 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002064/35.93, allocations: 25.48 kB / 9.521 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0442/35.98, allocations: 13.81 MB / 9.535 GB, free: 182.8 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.145/36.12, allocations: 42.2 MB / 9.576 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.553e-05/36.12, allocations: 1.844 kB / 9.576 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01285/36.14, allocations: 2.353 MB / 9.578 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004514/36.14, allocations: 1.842 MB / 9.58 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003178/36.14, allocations: 159.4 kB / 9.58 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04456/36.19, allocations: 64.17 MB / 9.643 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/36.19, allocations: 1.375 kB / 9.643 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06449/36.25, allocations: 25.28 MB / 9.668 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02163/36.28, allocations: 4.949 MB / 9.672 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01114/36.29, allocations: 82.12 kB / 9.673 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0238/36.31, allocations: 1.241 MB / 9.674 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004244/36.31, allocations: 0.6555 MB / 9.674 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003534/36.32, allocations: 374.9 kB / 9.675 GB, free: 123.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0458/36.36, allocations: 16.47 MB / 9.691 GB, free: 122.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.022e-06/36.36, allocations: 0 / 9.691 GB, free: 122.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.08332/36.45, allocations: 12.72 MB / 9.703 GB, free: 122.1 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.07178/36.52, allocations: 27.61 MB / 9.73 GB, free: 119.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.06604/36.59, allocations: 36 MB / 9.765 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.159e-05/36.59, allocations: 7.375 kB / 9.765 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01935/36.6, allocations: 11.65 MB / 9.777 GB, free: 103.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07099/36.68, allocations: 10.9 MB / 9.787 GB, free: 101.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1918/36.87, allocations: 56.4 MB / 9.842 GB, free: 61.13 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04752/36.92, allocations: 17.38 MB / 9.859 GB, free: 48.34 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.08854/37, allocations: 27.43 MB / 9.886 GB, free: 33.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.8908/37.89, allocations: 11.41 MB / 9.897 GB, free: 151.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.333e-06/37.89, allocations: 0.5625 kB / 9.897 GB, free: 151.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.633/39.53, allocations: 0.5941 GB / 10.49 GB, free: 152.3 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/39.53, allocations: 220.2 kB / 10.49 GB, free: 152 MB / 1.214 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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from AixLib_latest_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_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:7: In file included from ./AixLib_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from AixLib_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./AixLib_latest_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_latest_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_latest_AixLib_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1