Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.061/1.061, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.534e-05, allocations: 0 / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 25.16 MB / 176.6 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05855/0.2068, allocations: 37.7 MB / 214.3 MB, free: 11.77 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.2071, allocations: 63.97 kB / 214.3 MB, free: 11.7 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03709/0.2442, allocations: 9.386 MB / 223.7 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.143e-06/0.2442, allocations: 0 / 223.7 MB, free: 2.262 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.119e-05/0.2443, allocations: 16 kB / 223.7 MB, free: 2.246 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001276/0.2456, allocations: 0.6792 MB / 224.4 MB, free: 1.516 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2456, allocations: 8.031 kB / 224.4 MB, free: 1.508 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.2458, allocations: 59.34 kB / 224.5 MB, free: 1.449 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.2465, allocations: 368.3 kB / 224.8 MB, free: 1.051 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.2467, allocations: 62.47 kB / 224.9 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.2468, allocations: 35.92 kB / 224.9 MB, free: 0.9492 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.2477, allocations: 445.3 kB / 225.4 MB, free: 468 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2477, allocations: 4.344 kB / 225.4 MB, free: 464 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.2478, allocations: 19.95 kB / 225.4 MB, free: 444 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2478, allocations: 8 kB / 225.4 MB, free: 436 kB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.2485, allocations: 257.5 kB / 225.6 MB, free: 180 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.2516, allocations: 1.377 MB / 227 MB, free: 14.7 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.2532, allocations: 421.3 kB / 227.4 MB, free: 14.25 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.2536, allocations: 133.4 kB / 227.6 MB, free: 14.12 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.2537, allocations: 8.266 kB / 227.6 MB, free: 14.11 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.2537, allocations: 38.84 kB / 227.6 MB, free: 14.07 MB / 202.7 MB Notification: Performance of pre-optimization done (n=33): time 6.439e-06/0.2537, allocations: 0 / 227.6 MB, free: 14.07 MB / 202.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009417/0.2547, allocations: 328.6 kB / 227.9 MB, free: 13.73 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002701/0.255, allocations: 448.9 kB / 228.4 MB, free: 13.19 MB / 202.7 MB [/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:1309:7-1310:76:writable] Warning: Parameter pipe.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 pipe.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 pipe.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 pipe.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 pipe.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.0008213/0.2558, allocations: 411.9 kB / 228.8 MB, free: 12.79 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.2559, allocations: 37.7 kB / 228.8 MB, free: 12.75 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.2561, allocations: 266.7 kB / 229.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2563, allocations: 114.3 kB / 229.2 MB, free: 12.37 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.2563, allocations: 4 kB / 229.2 MB, free: 12.37 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2565, allocations: 326.8 kB / 229.5 MB, free: 12.04 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.2568, allocations: 96.31 kB / 229.6 MB, free: 11.94 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.2573, allocations: 235.3 kB / 229.8 MB, free: 11.66 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.2576, allocations: 154.7 kB / 230 MB, free: 11.5 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.39e-06/0.2577, allocations: 3.953 kB / 230 MB, free: 11.5 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009139/0.2586, allocations: 371.1 kB / 230.3 MB, free: 11.12 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.2586, allocations: 38.48 kB / 230.4 MB, free: 11.08 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-06/0.2587, allocations: 0 / 230.4 MB, free: 11.08 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.2589, allocations: 49.73 kB / 230.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.2594, allocations: 71.89 kB / 230.5 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.2626, allocations: 2.741 MB / 233.2 MB, free: 7.949 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.2632, allocations: 55.7 kB / 233.3 MB, free: 7.895 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.2632, allocations: 16 kB / 233.3 MB, free: 7.879 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002762/0.2635, allocations: 148.2 kB / 233.5 MB, free: 7.73 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2637, allocations: 51.44 kB / 233.5 MB, free: 7.68 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2638, allocations: 48.77 kB / 233.5 MB, free: 7.629 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.2638, allocations: 4 kB / 233.6 MB, free: 7.625 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.833e-06/0.2638, allocations: 0 / 233.6 MB, free: 7.625 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008625/0.2647, allocations: 0.6416 MB / 234.2 MB, free: 6.879 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.2666, allocations: 0.9454 MB / 235.1 MB, free: 5.859 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.301e-06/0.2666, allocations: 3.984 kB / 235.1 MB, free: 5.855 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.2671, allocations: 67.91 kB / 235.2 MB, free: 5.789 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.549e-06/0.2671, allocations: 0 / 235.2 MB, free: 5.789 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.2672, allocations: 11.98 kB / 235.2 MB, free: 5.777 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-06/0.2672, allocations: 0 / 235.2 MB, free: 5.777 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.111e-06/0.2672, allocations: 0 / 235.2 MB, free: 5.777 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2683, allocations: 0.511 MB / 235.7 MB, free: 5.25 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.2685, allocations: 132.4 kB / 235.9 MB, free: 5.102 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.2686, allocations: 12 kB / 235.9 MB, free: 5.09 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.269, allocations: 19.89 kB / 235.9 MB, free: 5.07 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2691, allocations: 23.97 kB / 235.9 MB, free: 5.047 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.2692, allocations: 4 kB / 235.9 MB, free: 5.043 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005492/0.2697, allocations: 317.2 kB / 236.2 MB, free: 4.734 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.2697, allocations: 4.062 kB / 236.2 MB, free: 4.73 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006408/0.2704, allocations: 139.8 kB / 236.4 MB, free: 4.594 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/0.2706, allocations: 135.1 kB / 236.5 MB, free: 4.449 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2717, allocations: 0.5261 MB / 237 MB, free: 3.891 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.086e-06/0.2718, allocations: 4.062 kB / 237 MB, free: 3.887 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.2721, allocations: 115.9 kB / 237.1 MB, free: 3.773 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.2736, allocations: 237.8 kB / 237.4 MB, free: 3.543 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2753, allocations: 0.645 MB / 238 MB, free: 2.867 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.2759, allocations: 0.8277 MB / 238.9 MB, free: 2.008 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2761, allocations: 47.42 kB / 238.9 MB, free: 1.965 MB / 202.7 MB Notification: Performance of SimCode: time 1.709e-06/0.2761, allocations: 3.938 kB / 238.9 MB, free: 1.961 MB / 202.7 MB Notification: Performance of Templates: time 0.01549/0.2916, allocations: 8.216 MB / 247.1 MB, free: 9.766 MB / 218.7 MB