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.1/1.1, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.552e-05, allocations: 0 / 154.5 MB, free: 2.844 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05967/0.05973, allocations: 25.19 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004244/0.06403, allocations: 2.626 MB / 182.3 MB, free: 6.98 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.06561, allocations: 0.7449 MB / 183.1 MB, free: 6.23 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.06582, allocations: 11.94 kB / 183.1 MB, free: 6.219 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.06603, allocations: 63.56 kB / 183.1 MB, free: 6.156 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.06657, allocations: 215.3 kB / 183.3 MB, free: 5.945 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.06685, allocations: 83.89 kB / 183.4 MB, free: 5.863 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.06751, allocations: 368 kB / 183.8 MB, free: 5.504 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.0678, allocations: 117.8 kB / 183.9 MB, free: 5.383 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.06806, allocations: 179.6 kB / 184.1 MB, free: 5.207 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.06849, allocations: 219.3 kB / 184.3 MB, free: 4.992 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.06864, allocations: 28 kB / 184.3 MB, free: 4.965 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.06873, allocations: 35.94 kB / 184.4 MB, free: 4.93 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.06885, allocations: 83.61 kB / 184.4 MB, free: 4.848 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.06904, allocations: 60 kB / 184.5 MB, free: 4.789 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006399/0.06969, allocations: 470.9 kB / 185 MB, free: 4.328 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.06971, allocations: 0 / 185 MB, free: 4.328 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.06972, allocations: 0 / 185 MB, free: 4.328 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.06974, allocations: 0 / 185 MB, free: 4.328 MB / 154.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.001499/0.07125, allocations: 0.6881 MB / 185.6 MB, free: 3.586 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.0713, allocations: 8.031 kB / 185.7 MB, free: 3.578 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.07146, allocations: 59.34 kB / 185.7 MB, free: 3.52 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.0721, allocations: 346.1 kB / 186 MB, free: 3.141 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.07225, allocations: 62.7 kB / 186.1 MB, free: 3.074 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.07235, allocations: 32 kB / 186.1 MB, free: 3.043 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.07348, allocations: 470.1 kB / 186.6 MB, free: 2.527 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.07352, allocations: 3.953 kB / 186.6 MB, free: 2.523 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.07359, allocations: 16 kB / 186.6 MB, free: 2.508 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.07361, allocations: 8 kB / 186.6 MB, free: 2.5 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.07457, allocations: 291.8 kB / 186.9 MB, free: 2.215 MB / 154.7 MB 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.003123/0.07771, allocations: 1.493 MB / 188.4 MB, free: 0.582 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.07967, allocations: 448.4 kB / 188.8 MB, free: 120 kB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.07974, allocations: 4 kB / 188.8 MB, free: 116 kB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.07979, allocations: 46.55 kB / 188.9 MB, free: 60 kB / 154.7 MB Notification: Performance of pre-optimization done (n=32): time 2.604e-06/0.0798, allocations: 0 / 188.9 MB, free: 60 kB / 154.7 MB Notification: Performance of matching and sorting (n=32): time 0.001861/0.08167, allocations: 0.6069 MB / 189.5 MB, free: 15.4 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/0.08191, allocations: 448.9 kB / 189.9 MB, free: 14.86 MB / 170.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.0007552/0.08268, allocations: 389 kB / 190.3 MB, free: 14.48 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.08275, allocations: 41.64 kB / 190.4 MB, free: 14.43 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.08299, allocations: 270.9 kB / 190.6 MB, free: 14.16 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.08313, allocations: 110.4 kB / 190.7 MB, free: 14.05 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.08317, allocations: 8 kB / 190.7 MB, free: 14.05 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.08332, allocations: 330.7 kB / 191.1 MB, free: 13.71 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.08372, allocations: 104.3 kB / 191.2 MB, free: 13.61 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.08432, allocations: 252.7 kB / 191.4 MB, free: 13.32 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.08487, allocations: 162.9 kB / 191.6 MB, free: 13.15 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.08489, allocations: 0 / 191.6 MB, free: 13.15 MB / 170.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001187/0.08609, allocations: 402.2 kB / 192 MB, free: 12.74 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.08615, allocations: 29.7 kB / 192 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.08617, allocations: 0 / 192 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.08641, allocations: 53.69 kB / 192 MB, free: 12.65 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.08701, allocations: 67.91 kB / 192.1 MB, free: 12.58 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.09045, allocations: 2.772 MB / 194.9 MB, free: 9.547 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.09128, allocations: 51.89 kB / 194.9 MB, free: 9.496 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.09134, allocations: 15.95 kB / 194.9 MB, free: 9.48 MB / 170.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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" fixed = true 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 (36): * Single equations (assignments): 33 * 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.0004346/0.09179, allocations: 182.2 kB / 195.1 MB, free: 9.293 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.09193, allocations: 51.44 kB / 195.2 MB, free: 9.242 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.09207, allocations: 48.66 kB / 195.2 MB, free: 9.191 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.09209, allocations: 7.984 kB / 195.2 MB, free: 9.184 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.0921, allocations: 0 / 195.2 MB, free: 9.184 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.09316, allocations: 0.6541 MB / 195.9 MB, free: 8.426 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.09538, allocations: 0.9457 MB / 196.8 MB, free: 7.402 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.09541, allocations: 0 / 196.8 MB, free: 7.402 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.09607, allocations: 67.89 kB / 196.9 MB, free: 7.336 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.0961, allocations: 8 kB / 196.9 MB, free: 7.328 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.09614, allocations: 4 kB / 196.9 MB, free: 7.324 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.09616, allocations: 0 / 196.9 MB, free: 7.324 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.09617, allocations: 3.953 kB / 196.9 MB, free: 7.32 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.09766, allocations: 0.5383 MB / 197.4 MB, free: 6.762 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.09786, allocations: 124.5 kB / 197.6 MB, free: 6.621 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.09799, allocations: 8 kB / 197.6 MB, free: 6.613 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.09862, allocations: 19.98 kB / 197.6 MB, free: 6.594 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.0987, allocations: 23.92 kB / 197.6 MB, free: 6.57 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.09874, allocations: 8 kB / 197.6 MB, free: 6.562 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005168/0.09927, allocations: 303.2 kB / 197.9 MB, free: 6.266 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.366e-06/0.09929, allocations: 4 kB / 197.9 MB, free: 6.262 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006705/0.09997, allocations: 135.8 kB / 198.1 MB, free: 6.129 MB / 170.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 (32): * Single equations (assignments): 32 * 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.0001666/0.1001, allocations: 107.2 kB / 198.2 MB, free: 6.012 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.1016, allocations: 0.567 MB / 198.7 MB, free: 5.406 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1016, allocations: 3.938 kB / 198.7 MB, free: 5.402 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.102, allocations: 136.3 kB / 198.9 MB, free: 5.27 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.1042, allocations: 229.8 kB / 199.1 MB, free: 5.047 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1067, allocations: 1.065 MB / 200.2 MB, free: 3.949 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.1073, allocations: 0.8239 MB / 201 MB, free: 3.098 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1076, allocations: 43.38 kB / 201 MB, free: 3.055 MB / 170.7 MB Notification: Performance of SimCode: time 3.707e-06/0.1076, allocations: 0 / 201 MB, free: 3.055 MB / 170.7 MB Notification: Performance of Templates: time 0.1531/0.2606, allocations: 7.91 MB / 208.9 MB, free: 21.93 MB / 170.7 MB