Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.035/1.035, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.874e-05, allocations: 3.984 kB / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1731, allocations: 25.15 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07188/0.245, allocations: 38.62 MB / 215.3 MB, free: 10.73 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.2453, allocations: 63.97 kB / 215.3 MB, free: 10.67 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08351/0.3288, allocations: 18.84 MB / 234.2 MB, free: 7.734 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3289, allocations: 0 / 234.2 MB, free: 7.734 MB / 202.7 MB Notification: Performance of Transformations before backend: time 7.02e-05/0.329, allocations: 24 kB / 234.2 MB, free: 7.711 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003042/0.332, allocations: 1.127 MB / 235.3 MB, free: 6.52 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3321, allocations: 8.031 kB / 235.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.3324, allocations: 124.4 kB / 235.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3327, allocations: 122.7 kB / 235.6 MB, free: 6.258 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.3342, allocations: 0.5828 MB / 236.1 MB, free: 5.637 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.3345, allocations: 159.8 kB / 236.3 MB, free: 5.465 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3347, allocations: 68 kB / 236.4 MB, free: 5.398 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3369, allocations: 0.9238 MB / 237.3 MB, free: 4.355 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.3369, allocations: 0 / 237.3 MB, free: 4.355 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.337, allocations: 36 kB / 237.3 MB, free: 4.32 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.3371, allocations: 23.94 kB / 237.3 MB, free: 4.297 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.3388, allocations: 0.5468 MB / 237.9 MB, free: 3.75 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/0.3457, allocations: 2.818 MB / 240.7 MB, free: 0.7305 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.3519, allocations: 0.8808 MB / 241.6 MB, free: 15.82 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.3532, allocations: 319.2 kB / 241.9 MB, free: 15.51 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3534, allocations: 20.75 kB / 241.9 MB, free: 15.49 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/0.3534, allocations: 47.34 kB / 242 MB, free: 15.43 MB / 218.7 MB Notification: Performance of pre-optimization done (n=72): time 5.41e-06/0.3535, allocations: 0 / 242 MB, free: 15.43 MB / 218.7 MB Notification: Performance of matching and sorting (n=72): time 0.00281/0.3563, allocations: 0.6791 MB / 242.7 MB, free: 14.73 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006493/0.357, allocations: 0.9607 MB / 243.6 MB, free: 13.55 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 innerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 outerPipe.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 innerPump.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: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: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:1702:7-1704:58:writable] Warning: Parameter outerPump.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.002158/0.3591, allocations: 0.691 MB / 244.3 MB, free: 12.86 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.3594, allocations: 45.7 kB / 244.3 MB, free: 12.8 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.3599, allocations: 411 kB / 244.7 MB, free: 12.4 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.3603, allocations: 256.2 kB / 245 MB, free: 12.15 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.3604, allocations: 16 kB / 245 MB, free: 12.13 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3606, allocations: 338.8 kB / 245.3 MB, free: 11.79 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.3616, allocations: 221.5 kB / 245.6 MB, free: 11.57 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3632, allocations: 0.5295 MB / 246.1 MB, free: 10.92 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3644, allocations: 362.8 kB / 246.4 MB, free: 10.55 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3645, allocations: 0 / 246.4 MB, free: 10.55 MB / 218.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003486/0.368, allocations: 0.8371 MB / 247.3 MB, free: 9.672 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3681, allocations: 85.09 kB / 247.4 MB, free: 9.57 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.3681, allocations: 4 kB / 247.4 MB, free: 9.566 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.3689, allocations: 124.4 kB / 247.5 MB, free: 9.43 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.371, allocations: 155.8 kB / 247.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.3814, allocations: 6.901 MB / 254.5 MB, free: 1.707 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.3835, allocations: 119.3 kB / 254.7 MB, free: 1.59 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3836, allocations: 31.92 kB / 254.7 MB, free: 1.559 MB / 218.7 MB Warning: Assuming fixed start value for the following 4 variables: innerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = innerPipe.T0 unit = "K" nominal = 300.0 ) "Outlet temperature of medium" type: Real outerPipe.T:VARIABLE(min = 1.0 max = 6000.0 start = outerPipe.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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 1,3 1,1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005836/0.3842, allocations: 186.6 kB / 254.9 MB, free: 1.371 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.3846, allocations: 102.8 kB / 255 MB, free: 1.27 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.385, allocations: 96.52 kB / 255.1 MB, free: 1.172 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.3851, allocations: 7.984 kB / 255.1 MB, free: 1.164 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.3851, allocations: 4 kB / 255.1 MB, free: 1.16 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002466/0.3876, allocations: 0.9183 MB / 256 MB, free: 136 kB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1973/0.5849, allocations: 1.739 MB / 257.7 MB, free: 58.57 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.585, allocations: 0 / 257.7 MB, free: 58.57 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.587, allocations: 160 kB / 257.9 MB, free: 58.57 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.5873, allocations: 30.39 kB / 257.9 MB, free: 58.57 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/0.5874, allocations: 16.34 kB / 257.9 MB, free: 58.57 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.5891, allocations: 1.443 MB / 259.4 MB, free: 57.25 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5891, allocations: 3.25 kB / 259.4 MB, free: 57.25 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.5928, allocations: 1.001 MB / 260.4 MB, free: 57.09 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.5933, allocations: 181.1 kB / 260.6 MB, free: 56.96 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.5937, allocations: 21.34 kB / 260.6 MB, free: 56.96 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.5953, allocations: 59.91 kB / 260.6 MB, free: 56.96 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.5956, allocations: 46.97 kB / 260.7 MB, free: 56.96 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.5957, allocations: 25.36 kB / 260.7 MB, free: 56.96 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001594/0.5973, allocations: 0.5211 MB / 261.2 MB, free: 56.86 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.5973, allocations: 0 / 261.2 MB, free: 56.86 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002323/0.5997, allocations: 316.1 kB / 261.5 MB, free: 56.85 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003993/0.6037, allocations: 1.586 MB / 263.1 MB, free: 56.11 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.6072, allocations: 1.295 MB / 264.4 MB, free: 55.39 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.6073, allocations: 3.125 kB / 264.4 MB, free: 55.39 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.6085, allocations: 395.8 kB / 264.8 MB, free: 55.29 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005953/0.6145, allocations: 0.4905 MB / 265.3 MB, free: 55.27 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.6204, allocations: 1.422 MB / 266.7 MB, free: 54.84 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.6211, allocations: 0.9938 MB / 267.7 MB, free: 54.14 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.6222, allocations: 359.2 kB / 268.1 MB, free: 54.13 MB / 218.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6223, allocations: 0 / 268.1 MB, free: 54.13 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.123/3.745, allocations: 27.08 MB / 295.2 MB, free: 35.91 MB / 218.7 MB