Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json 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/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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) 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 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002595/0.002595, allocations: 194.1 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2437/0.2437, allocations: 12.02 MB / 302.6 MB, free: 1.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005222/0.0005223, allocations: 31.89 kB / 355.7 MB, free: 4.035 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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/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/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/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398: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/package.mo): time 2.096/2.096, allocations: 268.1 MB / 0.661 GB, free: 1.035 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 99.55 kB / 0.7799 GB, free: 33.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2826, allocations: 108.4 MB / 0.8858 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.9317/1.214, allocations: 240.6 MB / 1.121 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.07907/1.294, allocations: 48.87 MB / 1.168 GB, free: 14.35 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01738/1.311, allocations: 268.1 kB / 1.169 GB, free: 14.25 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.01302/1.324, allocations: 2.881 MB / 1.172 GB, free: 11.88 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.03147/1.356, allocations: 7.987 MB / 1.179 GB, free: 4.602 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01885/1.374, allocations: 5.882 MB / 1.185 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03286/1.407, allocations: 22.08 MB / 1.207 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/1.422, allocations: 5.109 MB / 1.212 GB, free: 3.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01981/1.442, allocations: 5.643 MB / 1.217 GB, free: 13.79 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/1.455, allocations: 4.635 MB / 1.222 GB, free: 9.129 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.00329/1.458, allocations: 288 kB / 1.222 GB, free: 8.848 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/1.474, allocations: 3.393 MB / 1.225 GB, free: 5.449 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.004597/1.479, allocations: 1.322 MB / 1.227 GB, free: 4.121 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.01138/1.49, allocations: 3.284 MB / 1.23 GB, free: 0.8203 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/1.51, allocations: 9.565 MB / 1.239 GB, free: 7.234 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/1.511, allocations: 4 kB / 1.239 GB, free: 7.23 MB / 0.8263 GB Notification: Performance of FrontEnd: time 3.226e-06/1.511, allocations: 0 / 1.239 GB, free: 7.23 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0004958/1.511, allocations: 0 / 1.239 GB, free: 7.23 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.02741/1.538, allocations: 7.196 MB / 1.246 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.539, allocations: 12.03 kB / 1.246 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/1.547, allocations: 1.338 MB / 1.247 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.564, allocations: 6.17 MB / 1.253 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001589/1.566, allocations: 0.4955 MB / 1.254 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/1.568, allocations: 376 kB / 1.254 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/1.584, allocations: 4.49 MB / 1.259 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/1.584, allocations: 11.88 kB / 1.259 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/1.585, allocations: 152 kB / 1.259 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/1.585, allocations: 88 kB / 1.259 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.598, allocations: 3.789 MB / 1.263 GB, free: 14.77 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0459/1.644, allocations: 22.11 MB / 1.284 GB, free: 7.426 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/1.651, allocations: 3.131 MB / 1.287 GB, free: 4.156 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/1.655, allocations: 1.395 MB / 1.289 GB, free: 2.758 MB / 0.8732 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.0178/1.673, allocations: 8.617 MB / 1.297 GB, free: 9.199 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004331/1.677, allocations: 1.572 MB / 1.299 GB, free: 7.594 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003575/1.681, allocations: 265.6 kB / 1.299 GB, free: 7.332 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=186): time 1.664e-05/1.681, allocations: 0 / 1.299 GB, free: 7.332 MB / 0.8888 GB Notification: Performance of matching and sorting (n=186): time 0.02205/1.703, allocations: 5.625 MB / 1.304 GB, free: 1.641 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.703, allocations: 188.2 kB / 1.305 GB, free: 1.422 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.716, allocations: 4.737 MB / 1.309 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006972/1.716, allocations: 69.7 kB / 1.309 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003306/1.72, allocations: 2.644 MB / 1.312 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.721, allocations: 0.6315 MB / 1.312 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/1.723, allocations: 0.5514 MB / 1.313 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.723, allocations: 305.1 kB / 1.313 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.726, allocations: 1.253 MB / 1.314 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/1.731, allocations: 2.274 MB / 1.317 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.25/2.982, allocations: 89.74 MB / 1.404 GB, free: 369.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/2.982, allocations: 5.875 kB / 1.404 GB, free: 369.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01268/2.994, allocations: 4.279 MB / 1.409 GB, free: 369.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/2.995, allocations: 82.38 kB / 1.409 GB, free: 369.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.214e-05/2.995, allocations: 26.69 kB / 1.409 GB, free: 369.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/2.997, allocations: 0.6635 MB / 1.409 GB, free: 369.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/3, allocations: 0.638 MB / 1.41 GB, free: 369 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/3.005, allocations: 3.057 MB / 1.413 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/3.012, allocations: 437.6 kB / 1.413 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/3.013, allocations: 149 kB / 1.413 GB, free: 366.8 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009662/3.023, allocations: 2.391 MB / 1.416 GB, free: 366.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00662/3.03, allocations: 2.222 MB / 1.418 GB, free: 365.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5535/3.583, allocations: 89.49 MB / 1.505 GB, free: 300.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.985e-05/3.583, allocations: 8 kB / 1.505 GB, free: 300.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01194/3.595, allocations: 4.168 MB / 1.509 GB, free: 296.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/3.595, allocations: 84.58 kB / 1.509 GB, free: 296.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/3.595, allocations: 32.12 kB / 1.51 GB, free: 296.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/3.598, allocations: 0.6421 MB / 1.51 GB, free: 295.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/3.6, allocations: 0.6045 MB / 1.511 GB, free: 295.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/3.603, allocations: 1.863 MB / 1.513 GB, free: 293.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005797/3.609, allocations: 423.9 kB / 1.513 GB, free: 293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005837/3.609, allocations: 144 kB / 1.513 GB, free: 292.8 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001575/3.611, allocations: 0.5637 MB / 1.514 GB, free: 292.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002184/3.613, allocations: 0.5049 MB / 1.514 GB, free: 291.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/3.624, allocations: 4.213 MB / 1.518 GB, free: 287.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/3.624, allocations: 35.98 kB / 1.518 GB, free: 287.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/3.624, allocations: 0 / 1.518 GB, free: 287.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007189/3.632, allocations: 3.049 MB / 1.521 GB, free: 284.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/3.656, allocations: 8.833 MB / 1.53 GB, free: 275.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/3.656, allocations: 4.031 kB / 1.53 GB, free: 275.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/3.658, allocations: 375.5 kB / 1.53 GB, free: 275.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/3.66, allocations: 0.6214 MB / 1.531 GB, free: 274.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/3.66, allocations: 63.95 kB / 1.531 GB, free: 274.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/3.665, allocations: 3.16 MB / 1.534 GB, free: 271.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/3.665, allocations: 0 / 1.534 GB, free: 271.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/3.679, allocations: 5.584 MB / 1.539 GB, free: 265.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003821/3.683, allocations: 0.9378 MB / 1.54 GB, free: 264.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/3.685, allocations: 44 kB / 1.54 GB, free: 264.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005419/3.691, allocations: 407.3 kB / 1.541 GB, free: 264.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/3.691, allocations: 137.7 kB / 1.541 GB, free: 264.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004351/3.692, allocations: 99.86 kB / 1.541 GB, free: 264.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.008417/3.7, allocations: 3.228 MB / 1.544 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.82e-07/3.7, allocations: 0 / 1.544 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01421/3.714, allocations: 2.707 MB / 1.547 GB, free: 258.4 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004509/3.719, allocations: 1.242 MB / 1.548 GB, free: 257.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01386/3.733, allocations: 5.174 MB / 1.553 GB, free: 252.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/3.733, allocations: 5.812 kB / 1.553 GB, free: 252.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00465/3.738, allocations: 1.68 MB / 1.555 GB, free: 250.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/3.755, allocations: 2.56 MB / 1.557 GB, free: 248.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/3.781, allocations: 11.41 MB / 1.568 GB, free: 236.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/3.784, allocations: 2.793 MB / 1.571 GB, free: 233.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/3.786, allocations: 387.2 kB / 1.571 GB, free: 233.4 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/3.786, allocations: 0 / 1.571 GB, free: 233.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.2256/4.012, allocations: 212.9 MB / 1.779 GB, free: 21.18 MB / 0.9825 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChillerCalcHelperMain.o OMCppAixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChillerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChillerCalcHelperMain.o] Error 1