Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.084/1.084, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.078e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 25.14 MB / 176.6 MB, free: 40 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0674/0.2424, allocations: 37.71 MB / 214.3 MB, free: 11.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.2427, allocations: 63.97 kB / 214.4 MB, free: 11.69 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03894/0.2817, allocations: 9.389 MB / 223.8 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2817, allocations: 7.938 kB / 223.8 MB, free: 2.234 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.681e-05/0.2818, allocations: 8 kB / 223.8 MB, free: 2.227 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.001467/0.2832, allocations: 0.6792 MB / 224.5 MB, free: 1.496 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.2833, allocations: 12.03 kB / 224.5 MB, free: 1.484 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.2835, allocations: 83.14 kB / 224.6 MB, free: 1.395 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.2837, allocations: 59.34 kB / 224.6 MB, free: 1.336 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.2844, allocations: 368.4 kB / 225 MB, free: 0.9375 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.2846, allocations: 58.47 kB / 225.1 MB, free: 0.875 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.2847, allocations: 39.91 kB / 225.1 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.2857, allocations: 453.7 kB / 225.5 MB, free: 344 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2857, allocations: 0 / 225.5 MB, free: 344 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.2858, allocations: 19.95 kB / 225.6 MB, free: 324 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2858, allocations: 11.94 kB / 225.6 MB, free: 312 kB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.2866, allocations: 257.5 kB / 225.8 MB, free: 56 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.2899, allocations: 1.393 MB / 227.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.2918, allocations: 426.1 kB / 227.6 MB, free: 14.12 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.2921, allocations: 129.4 kB / 227.8 MB, free: 13.99 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.2922, allocations: 12.27 kB / 227.8 MB, free: 13.98 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.2923, allocations: 38.84 kB / 227.8 MB, free: 13.93 MB / 202.7 MB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.2923, allocations: 7.875 kB / 227.8 MB, free: 13.92 MB / 202.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009734/0.2933, allocations: 320.7 kB / 228.1 MB, free: 13.6 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.2935, allocations: 448.9 kB / 228.6 MB, free: 13.05 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.000876/0.2944, allocations: 411.9 kB / 229 MB, free: 12.65 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.2945, allocations: 33.7 kB / 229 MB, free: 12.61 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.2947, allocations: 270.9 kB / 229.3 MB, free: 12.34 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2948, allocations: 114.3 kB / 229.4 MB, free: 12.23 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.2949, allocations: 8 kB / 229.4 MB, free: 12.22 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.295, allocations: 326.8 kB / 229.7 MB, free: 11.89 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.2953, allocations: 104.3 kB / 229.8 MB, free: 11.79 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.2958, allocations: 231.3 kB / 230 MB, free: 11.51 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.2962, allocations: 158.7 kB / 230.2 MB, free: 11.35 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2962, allocations: 0 / 230.2 MB, free: 11.35 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009638/0.2972, allocations: 371 kB / 230.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.2973, allocations: 30.48 kB / 230.6 MB, free: 10.94 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2973, allocations: 4.031 kB / 230.6 MB, free: 10.93 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.2975, allocations: 53.64 kB / 230.6 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.2982, allocations: 71.89 kB / 230.7 MB, free: 10.8 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.3012, allocations: 2.737 MB / 233.4 MB, free: 7.805 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.302, allocations: 55.55 kB / 233.5 MB, free: 7.75 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.302, allocations: 11.95 kB / 233.5 MB, free: 7.738 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.000281/0.3023, allocations: 156.4 kB / 233.7 MB, free: 7.582 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3025, allocations: 47.67 kB / 233.7 MB, free: 7.535 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.3026, allocations: 56.77 kB / 233.8 MB, free: 7.473 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3026, allocations: 4 kB / 233.8 MB, free: 7.469 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3026, allocations: 0 / 233.8 MB, free: 7.469 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008729/0.3035, allocations: 0.6377 MB / 234.4 MB, free: 6.727 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3055, allocations: 0.9453 MB / 235.4 MB, free: 5.703 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3056, allocations: 0 / 235.4 MB, free: 5.703 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.3063, allocations: 75.89 kB / 235.4 MB, free: 5.629 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.3063, allocations: 4 kB / 235.4 MB, free: 5.625 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3064, allocations: 4 kB / 235.4 MB, free: 5.621 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.3064, allocations: 4 kB / 235.4 MB, free: 5.617 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3064, allocations: 7.953 kB / 235.4 MB, free: 5.609 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.3076, allocations: 0.4993 MB / 235.9 MB, free: 5.094 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.3078, allocations: 128.5 kB / 236.1 MB, free: 4.949 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.308, allocations: 8 kB / 236.1 MB, free: 4.941 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.3084, allocations: 23.98 kB / 236.1 MB, free: 4.918 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.3085, allocations: 23.98 kB / 236.1 MB, free: 4.895 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3086, allocations: 12 kB / 236.1 MB, free: 4.883 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.3092, allocations: 317.2 kB / 236.5 MB, free: 4.578 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3092, allocations: 0 / 236.5 MB, free: 4.578 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007362/0.3099, allocations: 151.8 kB / 236.6 MB, free: 4.43 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.001524/0.3115, allocations: 1.055 MB / 237.7 MB, free: 3.344 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3127, allocations: 0.53 MB / 238.2 MB, free: 2.781 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.3127, allocations: 0 / 238.2 MB, free: 2.781 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.313, allocations: 115.9 kB / 238.3 MB, free: 2.668 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.3152, allocations: 241.9 kB / 238.5 MB, free: 2.434 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3177, allocations: 0.7557 MB / 239.3 MB, free: 1.633 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.3182, allocations: 0.8316 MB / 240.1 MB, free: 0.7734 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.3186, allocations: 167.4 kB / 240.3 MB, free: 0.6094 MB / 202.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3186, allocations: 0 / 240.3 MB, free: 0.6094 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.904/3.223, allocations: 10.29 MB / 250.6 MB, free: 6.336 MB / 218.7 MB