Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.12/1.12, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.261e-05, allocations: 4 kB / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07109/0.2427, allocations: 39.02 MB / 215.7 MB, free: 10.34 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.2431, allocations: 67.95 kB / 215.7 MB, free: 10.27 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07254/0.3156, allocations: 16.07 MB / 231.8 MB, free: 10.12 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3157, allocations: 0 / 231.8 MB, free: 10.12 MB / 202.7 MB Notification: Performance of Transformations before backend: time 6.585e-05/0.3158, allocations: 15.94 kB / 231.8 MB, free: 10.11 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.003352/0.3191, allocations: 1.057 MB / 232.9 MB, free: 8.988 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.3192, allocations: 12.03 kB / 232.9 MB, free: 8.977 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003425/0.3196, allocations: 115.7 kB / 233 MB, free: 8.852 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.3199, allocations: 110.8 kB / 233.1 MB, free: 8.742 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.3215, allocations: 0.5155 MB / 233.6 MB, free: 8.188 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.3218, allocations: 150.4 kB / 233.8 MB, free: 8.023 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.322, allocations: 63.92 kB / 233.8 MB, free: 7.961 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.324, allocations: 0.7915 MB / 234.6 MB, free: 7.066 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3241, allocations: 3.953 kB / 234.6 MB, free: 7.062 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.3243, allocations: 35.94 kB / 234.6 MB, free: 7.027 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3243, allocations: 12 kB / 234.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.3259, allocations: 0.4985 MB / 235.2 MB, free: 6.516 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006476/0.3325, allocations: 2.386 MB / 237.5 MB, free: 3.969 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.3345, allocations: 0.9052 MB / 238.4 MB, free: 2.984 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/0.3355, allocations: 323.2 kB / 238.8 MB, free: 2.668 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.3357, allocations: 20.73 kB / 238.8 MB, free: 2.648 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.3357, allocations: 51.34 kB / 238.8 MB, free: 2.59 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 8.436e-06/0.3358, allocations: 4 kB / 238.8 MB, free: 2.586 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.003637/0.3394, allocations: 0.8461 MB / 239.7 MB, free: 1.719 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004679/0.3399, allocations: 0.824 MB / 240.5 MB, free: 0.6992 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.001587/0.3415, allocations: 0.5852 MB / 241.1 MB, free: 112 kB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.3418, allocations: 41.7 kB / 241.1 MB, free: 64 kB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.3422, allocations: 355.5 kB / 241.5 MB, free: 15.71 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.3426, allocations: 256.2 kB / 241.7 MB, free: 15.46 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.3427, allocations: 16 kB / 241.7 MB, free: 15.45 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3429, allocations: 334.8 kB / 242.1 MB, free: 15.11 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.3436, allocations: 213.5 kB / 242.3 MB, free: 14.9 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3447, allocations: 498.4 kB / 242.8 MB, free: 14.32 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.3457, allocations: 347.6 kB / 243.1 MB, free: 13.96 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3457, allocations: 0 / 243.1 MB, free: 13.96 MB / 218.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003714/0.3494, allocations: 0.9493 MB / 244.1 MB, free: 12.97 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.757e-05/0.3496, allocations: 93.09 kB / 244.2 MB, free: 12.86 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3496, allocations: 0 / 244.2 MB, free: 12.86 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/0.3504, allocations: 195.3 kB / 244.3 MB, free: 12.66 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.3518, allocations: 147.8 kB / 244.5 MB, free: 12.52 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.3639, allocations: 6.355 MB / 250.8 MB, free: 5.629 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3655, allocations: 131.3 kB / 251 MB, free: 5.5 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.3657, allocations: 20 kB / 251 MB, free: 5.48 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.0004936/0.3662, allocations: 196.6 kB / 251.2 MB, free: 5.285 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.3665, allocations: 83.06 kB / 251.3 MB, free: 5.203 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.3668, allocations: 83.77 kB / 251.3 MB, free: 5.113 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3668, allocations: 8 kB / 251.4 MB, free: 5.105 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.3668, allocations: 0 / 251.4 MB, free: 5.105 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/0.3702, allocations: 1.158 MB / 252.5 MB, free: 3.836 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.3764, allocations: 1.998 MB / 254.5 MB, free: 1.73 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.3764, allocations: 4 kB / 254.5 MB, free: 1.727 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.3779, allocations: 143.8 kB / 254.7 MB, free: 1.586 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007136/0.3787, allocations: 166.4 kB / 254.8 MB, free: 1.414 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.3789, allocations: 15.98 kB / 254.8 MB, free: 1.398 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1592/0.5381, allocations: 4.853 MB / 259.7 MB, free: 56.91 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5382, allocations: 0.5 kB / 259.7 MB, free: 56.91 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.5424, allocations: 1.262 MB / 260.9 MB, free: 56.76 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.5428, allocations: 163.7 kB / 261.1 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.543, allocations: 24.3 kB / 261.1 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5442, allocations: 71.86 kB / 261.2 MB, free: 56.64 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.5444, allocations: 63.81 kB / 261.3 MB, free: 56.63 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.5445, allocations: 18.84 kB / 261.3 MB, free: 56.63 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008491/0.5454, allocations: 442.1 kB / 261.7 MB, free: 56.53 MB / 218.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5454, allocations: 0 / 261.7 MB, free: 56.53 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001535/0.5469, allocations: 311.3 kB / 262 MB, free: 56.52 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.004501/0.5515, allocations: 1.85 MB / 263.9 MB, free: 55.77 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.5552, allocations: 1.329 MB / 265.2 MB, free: 55.15 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5552, allocations: 1.844 kB / 265.2 MB, free: 55.15 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5571, allocations: 0.7072 MB / 265.9 MB, free: 54.83 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/0.5609, allocations: 422.6 kB / 266.3 MB, free: 54.82 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.5674, allocations: 1.612 MB / 267.9 MB, free: 54.43 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.5679, allocations: 0.9545 MB / 268.9 MB, free: 53.71 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.5686, allocations: 298.9 kB / 269.2 MB, free: 53.7 MB / 218.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5686, allocations: 0 / 269.2 MB, free: 53.7 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.123/3.692, allocations: 25.08 MB / 294.3 MB, free: 36.63 MB / 218.7 MB