Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.039/1.039, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.31e-05, allocations: 0 / 151.4 MB, free: 15.6 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.145, allocations: 25.16 MB / 176.5 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05926/0.2043, allocations: 38.62 MB / 215.2 MB, free: 10.83 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.2045, allocations: 63.97 kB / 215.2 MB, free: 10.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07392/0.2785, allocations: 18.84 MB / 234.1 MB, free: 7.836 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.148e-06/0.2785, allocations: 0 / 234.1 MB, free: 7.836 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.018e-05/0.2786, allocations: 20 kB / 234.1 MB, free: 7.816 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002448/0.2811, allocations: 1.12 MB / 235.2 MB, free: 6.633 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2811, allocations: 12.03 kB / 235.2 MB, free: 6.621 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.2814, allocations: 118.7 kB / 235.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.2827, allocations: 0.5793 MB / 235.9 MB, free: 5.883 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.283, allocations: 155 kB / 236.1 MB, free: 5.711 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2832, allocations: 76.53 kB / 236.1 MB, free: 5.637 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.2851, allocations: 0.912 MB / 237 MB, free: 4.605 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.2851, allocations: 0 / 237 MB, free: 4.605 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.2853, allocations: 36 kB / 237.1 MB, free: 4.57 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2853, allocations: 16 kB / 237.1 MB, free: 4.555 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.2868, allocations: 0.5389 MB / 237.6 MB, free: 4.016 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006017/0.2928, allocations: 2.802 MB / 240.4 MB, free: 1.016 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/0.2963, allocations: 0.8673 MB / 241.3 MB, free: 128 kB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.2972, allocations: 327.2 kB / 241.6 MB, free: 15.8 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.2973, allocations: 12.77 kB / 241.6 MB, free: 15.79 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.2974, allocations: 55.33 kB / 241.7 MB, free: 15.73 MB / 218.7 MB Notification: Performance of pre-optimization done (n=72): time 4.316e-06/0.2974, allocations: 0 / 241.7 MB, free: 15.73 MB / 218.7 MB Notification: Performance of matching and sorting (n=72): time 0.001925/0.2993, allocations: 0.6791 MB / 242.4 MB, free: 15.03 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005677/0.2999, allocations: 0.9568 MB / 243.3 MB, free: 13.84 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 innerPump.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: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: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:1702:7-1704:58:writable] Warning: Parameter outerPump.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.001487/0.3014, allocations: 0.6949 MB / 244 MB, free: 13.15 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3015, allocations: 49.64 kB / 244.1 MB, free: 13.09 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.3019, allocations: 399.2 kB / 244.5 MB, free: 12.7 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3023, allocations: 260.2 kB / 244.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.3023, allocations: 19.94 kB / 244.7 MB, free: 12.42 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3025, allocations: 338.8 kB / 245.1 MB, free: 12.08 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.3032, allocations: 221.5 kB / 245.3 MB, free: 11.86 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3042, allocations: 0.5335 MB / 245.8 MB, free: 11.2 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.305, allocations: 362.7 kB / 246.2 MB, free: 10.84 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.974e-06/0.305, allocations: 0 / 246.2 MB, free: 10.84 MB / 218.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002095/0.3071, allocations: 0.8294 MB / 247 MB, free: 9.965 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.3072, allocations: 85.11 kB / 247.1 MB, free: 9.863 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.742e-06/0.3073, allocations: 0 / 247.1 MB, free: 9.863 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.3077, allocations: 132.2 kB / 247.2 MB, free: 9.719 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/0.3087, allocations: 159.8 kB / 247.4 MB, free: 9.562 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.3166, allocations: 6.901 MB / 254.3 MB, free: 1.988 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3178, allocations: 115.3 kB / 254.4 MB, free: 1.875 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.3179, allocations: 31.98 kB / 254.4 MB, free: 1.844 MB / 218.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.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 heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = TAmb unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 1,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.3183, allocations: 182 kB / 254.6 MB, free: 1.664 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.3186, allocations: 98.88 kB / 254.7 MB, free: 1.566 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3188, allocations: 96.5 kB / 254.8 MB, free: 1.469 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3188, allocations: 11.95 kB / 254.8 MB, free: 1.457 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.424e-06/0.3189, allocations: 0 / 254.8 MB, free: 1.457 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.3205, allocations: 0.9222 MB / 255.7 MB, free: 436 kB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.127/0.4476, allocations: 1.73 MB / 257.4 MB, free: 58.64 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.987e-06/0.4477, allocations: 0 / 257.4 MB, free: 58.64 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4487, allocations: 164.3 kB / 257.6 MB, free: 58.64 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.4489, allocations: 36.86 kB / 257.6 MB, free: 58.63 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.449, allocations: 14.78 kB / 257.7 MB, free: 58.63 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.4501, allocations: 1.439 MB / 259.1 MB, free: 57.31 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.83e-06/0.4501, allocations: 0 / 259.1 MB, free: 57.31 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.4523, allocations: 0.9983 MB / 260.1 MB, free: 57.15 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.4528, allocations: 184.3 kB / 260.3 MB, free: 57.04 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.453, allocations: 21 kB / 260.3 MB, free: 57.04 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.4537, allocations: 55.27 kB / 260.3 MB, free: 57.04 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4539, allocations: 43.41 kB / 260.4 MB, free: 57.04 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.4539, allocations: 20.36 kB / 260.4 MB, free: 57.04 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0009535/0.4549, allocations: 0.5242 MB / 260.9 MB, free: 56.93 MB / 218.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.4549, allocations: 3.719 kB / 260.9 MB, free: 56.93 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001248/0.4562, allocations: 312.9 kB / 261.2 MB, free: 56.93 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/0.4564, allocations: 140.5 kB / 261.4 MB, free: 56.84 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.4585, allocations: 1.293 MB / 262.7 MB, free: 56.12 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.658e-06/0.4585, allocations: 3.719 kB / 262.7 MB, free: 56.12 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.4592, allocations: 400.2 kB / 263.1 MB, free: 56.02 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.462, allocations: 0.4884 MB / 263.6 MB, free: 56 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.4647, allocations: 1.254 MB / 264.8 MB, free: 55.62 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.4652, allocations: 0.9824 MB / 265.8 MB, free: 54.92 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.4656, allocations: 86.86 kB / 265.9 MB, free: 54.91 MB / 218.7 MB Notification: Performance of SimCode: time 1.885e-06/0.4656, allocations: 1.031 kB / 265.9 MB, free: 54.91 MB / 218.7 MB Notification: Performance of Templates: time 0.02892/0.4946, allocations: 22.97 MB / 288.8 MB, free: 41.61 MB / 218.7 MB