Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadModel(Modelica): time 1.147/1.147, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.896e-05, allocations: 0 / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05821/0.05826, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006797/0.06512, allocations: 2.768 MB / 182.5 MB, free: 6.828 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.06803, allocations: 0.7643 MB / 183.2 MB, free: 6.059 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.06863, allocations: 8 kB / 183.2 MB, free: 6.051 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.069, allocations: 63.52 kB / 183.3 MB, free: 5.988 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.07005, allocations: 231.3 kB / 183.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.07059, allocations: 91.88 kB / 183.6 MB, free: 5.672 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.07213, allocations: 387.9 kB / 184 MB, free: 5.293 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.07263, allocations: 117.8 kB / 184.1 MB, free: 5.176 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.07322, allocations: 199.5 kB / 184.3 MB, free: 4.98 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.07393, allocations: 235.2 kB / 184.5 MB, free: 4.75 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.07419, allocations: 36 kB / 184.6 MB, free: 4.715 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.07436, allocations: 28 kB / 184.6 MB, free: 4.688 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.07455, allocations: 91.66 kB / 184.7 MB, free: 4.598 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.07484, allocations: 60 kB / 184.7 MB, free: 4.539 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.07594, allocations: 0.491 MB / 185.2 MB, free: 4.047 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.07598, allocations: 7.938 kB / 185.2 MB, free: 4.039 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.076, allocations: 0 / 185.2 MB, free: 4.039 MB / 154.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.07604, allocations: 0 / 185.2 MB, free: 4.039 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00266/0.07871, allocations: 0.7306 MB / 186 MB, free: 3.254 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.0788, allocations: 12.03 kB / 186 MB, free: 3.242 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.07915, allocations: 63.25 kB / 186 MB, free: 3.18 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.08063, allocations: 389.6 kB / 186.4 MB, free: 2.758 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.08117, allocations: 94.3 kB / 186.5 MB, free: 2.66 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.08134, allocations: 32 kB / 186.5 MB, free: 2.629 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.08354, allocations: 0.497 MB / 187 MB, free: 2.078 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.08361, allocations: 3.953 kB / 187 MB, free: 2.074 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.08373, allocations: 20 kB / 187.1 MB, free: 2.055 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.08396, allocations: 8 kB / 187.1 MB, free: 2.047 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.0865, allocations: 382.4 kB / 187.4 MB, free: 1.672 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.005144/0.0917, allocations: 1.459 MB / 188.9 MB, free: 84 kB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.09379, allocations: 407.5 kB / 189.3 MB, free: 15.66 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.231e-05/0.09394, allocations: 15.88 kB / 189.3 MB, free: 15.64 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/0.09402, allocations: 39.16 kB / 189.4 MB, free: 15.59 MB / 170.7 MB Notification: Performance of pre-optimization done (n=35): time 3.968e-06/0.09404, allocations: 0 / 189.4 MB, free: 15.59 MB / 170.7 MB Notification: Performance of matching and sorting (n=35): time 0.004616/0.09867, allocations: 0.7865 MB / 190.1 MB, free: 14.76 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003157/0.09904, allocations: 448.9 kB / 190.6 MB, free: 14.21 MB / 170.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: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.001332/0.1004, allocations: 406.5 kB / 191 MB, free: 13.81 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.1006, allocations: 33.7 kB / 191 MB, free: 13.77 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.101, allocations: 278.9 kB / 191.3 MB, free: 13.5 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.1012, allocations: 122.2 kB / 191.4 MB, free: 13.38 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.1013, allocations: 4 kB / 191.4 MB, free: 13.38 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1015, allocations: 326.8 kB / 191.7 MB, free: 13.05 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.1027, allocations: 164.2 kB / 191.9 MB, free: 12.89 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.1042, allocations: 298.9 kB / 192.2 MB, free: 12.54 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1055, allocations: 214.6 kB / 192.4 MB, free: 12.33 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1056, allocations: 0 / 192.4 MB, free: 12.33 MB / 170.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003002/0.1086, allocations: 0.5011 MB / 192.9 MB, free: 11.81 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-05/0.1087, allocations: 37.7 kB / 192.9 MB, free: 11.77 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1088, allocations: 0 / 192.9 MB, free: 11.77 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.1091, allocations: 45.7 kB / 193 MB, free: 11.71 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.1103, allocations: 99.86 kB / 193.1 MB, free: 11.62 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.1159, allocations: 2.761 MB / 195.8 MB, free: 8.59 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.1174, allocations: 67.69 kB / 195.9 MB, free: 8.523 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/0.1176, allocations: 12 kB / 195.9 MB, free: 8.512 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass 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 (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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007158/0.1183, allocations: 192.6 kB / 196.1 MB, free: 8.316 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.1186, allocations: 59.3 kB / 196.2 MB, free: 8.258 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1188, allocations: 48.77 kB / 196.2 MB, free: 8.211 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1188, allocations: 4 kB / 196.2 MB, free: 8.207 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1189, allocations: 0 / 196.2 MB, free: 8.207 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/0.1217, allocations: 0.7818 MB / 197 MB, free: 7.32 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.1263, allocations: 1.082 MB / 198.1 MB, free: 6.156 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.1264, allocations: 3.984 kB / 198.1 MB, free: 6.152 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.1277, allocations: 99.88 kB / 198.2 MB, free: 6.055 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.1278, allocations: 0 / 198.2 MB, free: 6.055 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.1278, allocations: 4 kB / 198.2 MB, free: 6.051 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1279, allocations: 4 kB / 198.2 MB, free: 6.047 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.1279, allocations: 7.938 kB / 198.2 MB, free: 6.039 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.1319, allocations: 0.7176 MB / 198.9 MB, free: 5.301 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.1323, allocations: 128.5 kB / 199 MB, free: 5.156 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.1325, allocations: 8 kB / 199 MB, free: 5.148 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.1337, allocations: 51.81 kB / 199.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1339, allocations: 27.91 kB / 199.1 MB, free: 5.07 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.134, allocations: 11.98 kB / 199.1 MB, free: 5.059 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0008483/0.1349, allocations: 303.1 kB / 199.4 MB, free: 4.766 MB / 170.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.1349, allocations: 0 / 199.4 MB, free: 4.766 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.00126/0.1362, allocations: 139.8 kB / 199.6 MB, free: 4.629 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 (35): * Single equations (assignments): 35 * 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.0002786/0.1365, allocations: 111.2 kB / 199.7 MB, free: 4.508 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.1399, allocations: 0.6723 MB / 200.3 MB, free: 3.797 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.14, allocations: 0 / 200.3 MB, free: 3.797 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.1414, allocations: 203.8 kB / 200.5 MB, free: 3.598 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/0.1452, allocations: 245.7 kB / 200.8 MB, free: 3.359 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.1502, allocations: 1.173 MB / 202 MB, free: 2.152 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.151, allocations: 0.8354 MB / 202.8 MB, free: 1.289 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.1514, allocations: 39.42 kB / 202.8 MB, free: 1.25 MB / 170.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1514, allocations: 0 / 202.8 MB, free: 1.25 MB / 170.7 MB Notification: Performance of Templates: time 0.1685/0.32, allocations: 8.533 MB / 211.4 MB, free: 20.83 MB / 170.7 MB