Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.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.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008657/0.008657, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 192.3 kB / 16.79 MB, free: 6.254 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2608/0.2608, allocations: 12.01 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.0005504/0.0005506, allocations: 31.81 kB / 355.7 MB, free: 3.977 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 1.983/1.983, allocations: 268.1 MB / 0.661 GB, free: 1 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 113.5 kB / 0.7799 GB, free: 32.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3156, allocations: 108.3 MB / 0.8858 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.9617/1.277, allocations: 212.4 MB / 1.093 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02015/1.298, allocations: 10.92 MB / 1.104 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005508/1.303, allocations: 63.5 kB / 1.104 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003812/1.307, allocations: 0.7122 MB / 1.105 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/1.319, allocations: 2.624 MB / 1.107 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/1.326, allocations: 1.678 MB / 1.109 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01411/1.34, allocations: 8.753 MB / 1.117 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004886/1.345, allocations: 2.205 MB / 1.119 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006954/1.352, allocations: 2.023 MB / 1.121 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/1.358, allocations: 1.886 MB / 1.123 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/1.36, allocations: 116.5 kB / 1.123 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/1.37, allocations: 2.691 MB / 1.126 GB, free: 14.99 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.002324/1.372, allocations: 0.6453 MB / 1.127 GB, free: 14.57 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.005343/1.378, allocations: 1.246 MB / 1.128 GB, free: 13.83 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.008275/1.386, allocations: 3.649 MB / 1.131 GB, free: 11.64 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/1.386, allocations: 2.625 kB / 1.131 GB, free: 11.64 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.815e-06/1.386, allocations: 0 / 1.131 GB, free: 11.64 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0002141/1.386, allocations: 0 / 1.131 GB, free: 11.64 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01232/1.399, allocations: 3.052 MB / 1.134 GB, free: 9.527 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.399, allocations: 11.41 kB / 1.134 GB, free: 9.527 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/1.403, allocations: 0.5464 MB / 1.135 GB, free: 9.273 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/1.41, allocations: 2.212 MB / 1.137 GB, free: 7.824 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/1.41, allocations: 124.9 kB / 1.137 GB, free: 7.77 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/1.411, allocations: 165.3 kB / 1.137 GB, free: 7.715 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007499/1.419, allocations: 2.313 MB / 1.14 GB, free: 6.371 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.257e-05/1.419, allocations: 2.094 kB / 1.14 GB, free: 6.371 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/1.419, allocations: 63.5 kB / 1.14 GB, free: 6.324 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.419, allocations: 72.86 kB / 1.14 GB, free: 6.312 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005534/1.425, allocations: 2.043 MB / 1.142 GB, free: 5.301 MB / 0.7482 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.01803/1.443, allocations: 8.232 MB / 1.15 GB, free: 14.49 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/1.446, allocations: 1.387 MB / 1.151 GB, free: 13.08 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.448, allocations: 0.8742 MB / 1.152 GB, free: 12.2 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.449, allocations: 0.8886 MB / 1.153 GB, free: 11.14 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/1.451, allocations: 0.8582 MB / 1.154 GB, free: 10.27 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 5.229e-06/1.451, allocations: 0 / 1.154 GB, free: 10.27 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.005116/1.456, allocations: 1.993 MB / 1.156 GB, free: 8.273 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.456, allocations: 96.62 kB / 1.156 GB, free: 8.164 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/1.46, allocations: 1.727 MB / 1.157 GB, free: 6.438 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/1.461, allocations: 53.7 kB / 1.158 GB, free: 6.379 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.462, allocations: 0.8912 MB / 1.158 GB, free: 5.477 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/1.462, allocations: 400.4 kB / 1.159 GB, free: 5.09 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/1.463, allocations: 250.8 kB / 1.159 GB, free: 4.84 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.463, allocations: 357.9 kB / 1.159 GB, free: 4.484 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.464, allocations: 0.6188 MB / 1.16 GB, free: 3.859 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.466, allocations: 0.888 MB / 1.161 GB, free: 2.887 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/1.483, allocations: 3.929 MB / 1.165 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.483, allocations: 0 / 1.165 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004678/1.488, allocations: 1.844 MB / 1.166 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/1.488, allocations: 38.36 kB / 1.166 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.488, allocations: 4.859 kB / 1.166 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/1.488, allocations: 19.94 kB / 1.167 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.49, allocations: 393.5 kB / 1.167 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.491, allocations: 1.189 MB / 1.168 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/1.493, allocations: 266.6 kB / 1.168 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.494, allocations: 48 kB / 1.168 GB, free: 11.09 MB / 0.7794 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003364/1.497, allocations: 1.451 MB / 1.17 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001714/1.499, allocations: 0.8723 MB / 1.171 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0165/1.515, allocations: 3.89 MB / 1.174 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.732e-05/1.515, allocations: 0 / 1.174 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.005603/1.521, allocations: 1.839 MB / 1.176 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/1.521, allocations: 41.8 kB / 1.176 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.521, allocations: 7.938 kB / 1.176 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.521, allocations: 12 kB / 1.176 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/1.523, allocations: 358.9 kB / 1.177 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.212e-05/1.523, allocations: 14.62 kB / 1.177 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/1.526, allocations: 232.4 kB / 1.177 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.526, allocations: 51.92 kB / 1.177 GB, free: 2.211 MB / 0.7794 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2501014.5 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 0.0) start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0009605/1.527, allocations: 434.8 kB / 1.177 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009363/1.528, allocations: 189.7 kB / 1.177 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/1.532, allocations: 1.653 MB / 1.179 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.532, allocations: 15.98 kB / 1.179 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.532, allocations: 4 kB / 1.179 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/1.535, allocations: 1.541 MB / 1.181 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.545, allocations: 3.811 MB / 1.184 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.545, allocations: 8.094 kB / 1.184 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.547, allocations: 304.5 kB / 1.185 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.987e-05/1.547, allocations: 11.94 kB / 1.185 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.547, allocations: 39.97 kB / 1.185 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/1.548, allocations: 1.185 MB / 1.186 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.548, allocations: 4 kB / 1.186 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/1.553, allocations: 2.523 MB / 1.188 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.555, allocations: 458.3 kB / 1.189 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007472/1.555, allocations: 31.98 kB / 1.189 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.558, allocations: 167.7 kB / 1.189 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/1.558, allocations: 91.3 kB / 1.189 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.558, allocations: 55.97 kB / 1.189 GB, free: 5.523 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002871/1.561, allocations: 1.219 MB / 1.19 GB, free: 4.312 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.21e-07/1.561, allocations: 0 / 1.19 GB, free: 4.312 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003925/1.565, allocations: 1.111 MB / 1.191 GB, free: 3.199 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (dynamicHX.vol1[1].dynBal.U,dynamicHX.vol1[2].dynBal.U,dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[1].dynBal.mXi[1],dynamicHX.vol2[2].dynBal.U,dynamicHX.vol2[2].dynBal.mXi[1],dynamicHX.heatCapacitor[1].T,dynamicHX.heatCapacitor[2].T,THeaOut1.T,THeaOut2.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001069/1.566, allocations: 389.9 kB / 1.192 GB, free: 2.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005282/1.572, allocations: 2.501 MB / 1.194 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.572, allocations: 448 / 1.194 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.573, allocations: 0.7463 MB / 1.195 GB, free: 15.66 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/1.58, allocations: 1.166 MB / 1.196 GB, free: 14.53 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.59, allocations: 5.384 MB / 1.201 GB, free: 9.09 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/1.592, allocations: 1.81 MB / 1.203 GB, free: 7.246 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008822/1.593, allocations: 161.8 kB / 1.203 GB, free: 7.09 MB / 0.8107 GB Notification: Performance of SimCode: time 1.302e-06/1.593, allocations: 0 / 1.203 GB, free: 7.09 MB / 0.8107 GB Notification: Performance of Templates: time 0.09332/1.686, allocations: 59.5 MB / 1.261 GB, free: 11.89 MB / 0.8732 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.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.HeatExchangers.Examples.DynamicHXCalcHelperMain.o OMCppAixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHXCalcHelperMain.o] Error 1