Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.055/1.055, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.508e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1433, allocations: 25.15 MB / 176.5 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05841/0.2018, allocations: 39.02 MB / 215.6 MB, free: 10.45 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.202, allocations: 63.97 kB / 215.6 MB, free: 10.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06235/0.2644, allocations: 16.06 MB / 231.7 MB, free: 10.25 MB / 202.7 MB Notification: Performance of FrontEnd: time 8.614e-06/0.2644, allocations: 3.984 kB / 231.7 MB, free: 10.24 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.2645, allocations: 31.86 kB / 231.7 MB, free: 10.21 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002319/0.2668, allocations: 1.049 MB / 232.8 MB, free: 9.098 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2669, allocations: 8.031 kB / 232.8 MB, free: 9.09 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.2671, allocations: 106.8 kB / 232.9 MB, free: 8.984 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.2683, allocations: 0.5156 MB / 233.4 MB, free: 8.426 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.2686, allocations: 146.4 kB / 233.5 MB, free: 8.266 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2688, allocations: 59.91 kB / 233.6 MB, free: 8.207 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2704, allocations: 0.7757 MB / 234.4 MB, free: 7.328 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2705, allocations: 224 / 234.4 MB, free: 7.328 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2706, allocations: 31.95 kB / 234.4 MB, free: 7.297 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.2706, allocations: 19.94 kB / 234.4 MB, free: 7.277 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.2719, allocations: 498.5 kB / 234.9 MB, free: 6.793 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.2769, allocations: 2.347 MB / 237.3 MB, free: 4.281 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.2786, allocations: 0.9001 MB / 238.2 MB, free: 3.301 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.2793, allocations: 323.2 kB / 238.5 MB, free: 2.984 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.2794, allocations: 16.77 kB / 238.5 MB, free: 2.969 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.2795, allocations: 51.28 kB / 238.5 MB, free: 2.91 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 4.035e-06/0.2795, allocations: 0 / 238.5 MB, free: 2.91 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.0027/0.2822, allocations: 0.8462 MB / 239.4 MB, free: 2.043 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004991/0.2827, allocations: 0.824 MB / 240.2 MB, free: 1.023 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient2.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1280:7-1281:76:writable] Warning: Parameter pipe3.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe3.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe3.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe3.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe3.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe2.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe2.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe2.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe2.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe2.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe1.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe1.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe1.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe1.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe1.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter pump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient1.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.2841, allocations: 0.5865 MB / 240.8 MB, free: 444 kB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.2843, allocations: 41.7 kB / 240.8 MB, free: 396 kB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.2846, allocations: 343.7 kB / 241.2 MB, free: 52 kB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.2849, allocations: 256.2 kB / 241.4 MB, free: 15.8 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.285, allocations: 16 kB / 241.4 MB, free: 15.78 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2852, allocations: 346.8 kB / 241.8 MB, free: 15.43 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.2858, allocations: 205.6 kB / 242 MB, free: 15.23 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.2867, allocations: 498.4 kB / 242.5 MB, free: 14.65 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.2875, allocations: 343.5 kB / 242.8 MB, free: 14.3 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.026e-06/0.2875, allocations: 0 / 242.8 MB, free: 14.3 MB / 218.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002823/0.2904, allocations: 0.9533 MB / 243.8 MB, free: 13.3 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.2905, allocations: 89.05 kB / 243.8 MB, free: 13.2 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.703e-06/0.2905, allocations: 4 kB / 243.8 MB, free: 13.2 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.2912, allocations: 199.3 kB / 244 MB, free: 12.99 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.2921, allocations: 143.8 kB / 244.2 MB, free: 12.85 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009875/0.302, allocations: 6.365 MB / 250.5 MB, free: 5.949 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3031, allocations: 119.4 kB / 250.7 MB, free: 5.832 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.3032, allocations: 24.14 kB / 250.7 MB, free: 5.809 MB / 218.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass2 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real heatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass1 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real pipe2.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe2.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,2 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.3036, allocations: 194.2 kB / 250.9 MB, free: 5.617 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.3039, allocations: 83.06 kB / 251 MB, free: 5.535 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3041, allocations: 91.72 kB / 251 MB, free: 5.438 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.3041, allocations: 11.98 kB / 251.1 MB, free: 5.426 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-06/0.3041, allocations: 0 / 251.1 MB, free: 5.426 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002631/0.3068, allocations: 1.154 MB / 252.2 MB, free: 4.16 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.3116, allocations: 1.99 MB / 254.2 MB, free: 2.062 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.337e-06/0.3117, allocations: 0 / 254.2 MB, free: 2.062 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/0.3127, allocations: 147.8 kB / 254.3 MB, free: 1.918 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005565/0.3132, allocations: 158.4 kB / 254.5 MB, free: 1.754 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.3133, allocations: 19.98 kB / 254.5 MB, free: 1.734 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.4966, allocations: 4.843 MB / 259.4 MB, free: 57.03 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.827e-06/0.4967, allocations: 0.5312 kB / 259.4 MB, free: 57.03 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/0.5041, allocations: 1.266 MB / 260.6 MB, free: 56.88 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5047, allocations: 168.9 kB / 260.8 MB, free: 56.77 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/0.5051, allocations: 19 kB / 260.8 MB, free: 56.77 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.5068, allocations: 67.69 kB / 260.9 MB, free: 56.77 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/0.5073, allocations: 63.58 kB / 260.9 MB, free: 56.76 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.5075, allocations: 20.06 kB / 261 MB, free: 56.76 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.5091, allocations: 439.8 kB / 261.4 MB, free: 56.66 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.75e-06/0.5091, allocations: 0.875 kB / 261.4 MB, free: 56.66 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001965/0.5111, allocations: 300 kB / 261.7 MB, free: 56.65 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/0.5114, allocations: 143.8 kB / 261.8 MB, free: 56.56 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.5161, allocations: 1.332 MB / 263.2 MB, free: 55.94 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.5162, allocations: 6.031 kB / 263.2 MB, free: 55.94 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.5184, allocations: 0.707 MB / 263.9 MB, free: 55.62 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/0.5234, allocations: 433.3 kB / 264.3 MB, free: 55.61 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.5308, allocations: 1.431 MB / 265.7 MB, free: 55.27 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.5315, allocations: 0.9441 MB / 266.7 MB, free: 54.55 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.5321, allocations: 67.69 kB / 266.7 MB, free: 54.55 MB / 218.7 MB Notification: Performance of SimCode: time 2.823e-06/0.5321, allocations: 4 kB / 266.7 MB, free: 54.54 MB / 218.7 MB Notification: Performance of Templates: time 0.04144/0.5735, allocations: 21.44 MB / 288.2 MB, free: 42.08 MB / 218.7 MB