Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.104/1.104, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.003e-05, allocations: 4 kB / 151.5 MB, free: 15.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1722, allocations: 25.16 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06986/0.2421, allocations: 39.87 MB / 216.5 MB, free: 9.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.2424, allocations: 63.97 kB / 216.6 MB, free: 9.418 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06398/0.3064, allocations: 14.19 MB / 230.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3065, allocations: 0 / 230.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.453e-05/0.3065, allocations: 15.98 kB / 230.8 MB, free: 11.15 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002531/0.3091, allocations: 0.8993 MB / 231.7 MB, free: 10.19 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3091, allocations: 8.031 kB / 231.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.3094, allocations: 99.36 kB / 231.8 MB, free: 10.07 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.3097, allocations: 83.09 kB / 231.9 MB, free: 9.992 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.3108, allocations: 443.9 kB / 232.3 MB, free: 9.52 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.311, allocations: 108.3 kB / 232.4 MB, free: 9.402 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3111, allocations: 48 kB / 232.5 MB, free: 9.355 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3126, allocations: 0.6152 MB / 233.1 MB, free: 8.668 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.3127, allocations: 7.938 kB / 233.1 MB, free: 8.66 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.3128, allocations: 24 kB / 233.1 MB, free: 8.637 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3128, allocations: 12 kB / 233.1 MB, free: 8.625 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.314, allocations: 377.9 kB / 233.5 MB, free: 8.254 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/0.3193, allocations: 2.095 MB / 235.6 MB, free: 6.02 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.3225, allocations: 0.6626 MB / 236.2 MB, free: 5.332 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.3233, allocations: 226.5 kB / 236.5 MB, free: 5.109 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.3234, allocations: 12.55 kB / 236.5 MB, free: 5.098 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.3234, allocations: 51.06 kB / 236.5 MB, free: 5.039 MB / 202.7 MB Notification: Performance of pre-optimization done (n=56): time 3.517e-06/0.3234, allocations: 0 / 236.5 MB, free: 5.039 MB / 202.7 MB Notification: Performance of matching and sorting (n=56): time 0.003147/0.3266, allocations: 0.6765 MB / 237.2 MB, free: 4.344 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.3269, allocations: 0.5645 MB / 237.8 MB, free: 3.645 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:1366:7-1367:48:writable] Warning: Parameter valve.frictionLoss 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:1363:7-1365:60:writable] Warning: Parameter valve.rho0 has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1361:7-1362:60:writable] Warning: Parameter valve.dp0 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:1358:7-1360:60:writable] Warning: Parameter valve.kv0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1355:7-1357:60:writable] Warning: Parameter valve.Kv1 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:1353:7-1354:60:writable] Warning: Parameter valve.y1 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:2340:9-2340:68:writable] Warning: Parameter valve.m 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:1843:7-1845:58:writable] Warning: Parameter idealPump.V_flow0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1840:7-1842:58:writable] Warning: Parameter idealPump.dp0 has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1837:7-1839:58:writable] Warning: Parameter idealPump.wNominal 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.001202/0.3281, allocations: 0.4963 MB / 238.3 MB, free: 3.145 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.3283, allocations: 41.7 kB / 238.3 MB, free: 3.098 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3286, allocations: 315.2 kB / 238.6 MB, free: 2.785 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.3289, allocations: 197.1 kB / 238.8 MB, free: 2.59 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3289, allocations: 8 kB / 238.8 MB, free: 2.582 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3291, allocations: 334.8 kB / 239.1 MB, free: 2.246 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.3296, allocations: 153.1 kB / 239.3 MB, free: 2.098 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.3303, allocations: 371.5 kB / 239.6 MB, free: 1.656 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.331, allocations: 226.2 kB / 239.9 MB, free: 1.43 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.331, allocations: 0 / 239.9 MB, free: 1.43 MB / 202.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003065/0.3341, allocations: 0.7097 MB / 240.6 MB, free: 0.6992 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.3342, allocations: 37.69 kB / 240.6 MB, free: 0.6562 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3342, allocations: 0 / 240.6 MB, free: 0.6562 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.3355, allocations: 218.4 kB / 240.8 MB, free: 444 kB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.3371, allocations: 139.8 kB / 241 MB, free: 304 kB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009989/0.3471, allocations: 5.089 MB / 246.1 MB, free: 10.81 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3484, allocations: 95.64 kB / 246.1 MB, free: 10.71 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.3485, allocations: 16.12 kB / 246.2 MB, free: 10.7 MB / 218.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: 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.3488, allocations: 164.4 kB / 246.3 MB, free: 10.54 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.349, allocations: 71.25 kB / 246.4 MB, free: 10.46 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.3522, allocations: 0.7187 MB / 247.1 MB, free: 9.73 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3522, allocations: 4 kB / 247.1 MB, free: 9.727 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3522, allocations: 3.938 kB / 247.1 MB, free: 9.723 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002885/0.3551, allocations: 0.9919 MB / 248.1 MB, free: 8.617 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.3598, allocations: 1.514 MB / 249.6 MB, free: 7.023 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3599, allocations: 0 / 249.6 MB, free: 7.023 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.3615, allocations: 139.8 kB / 249.8 MB, free: 6.887 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.3627, allocations: 149.6 kB / 249.9 MB, free: 6.734 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.3628, allocations: 19.98 kB / 249.9 MB, free: 6.715 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007266/0.3701, allocations: 3.533 MB / 253.5 MB, free: 2.879 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3701, allocations: 400 / 253.5 MB, free: 2.879 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.3739, allocations: 0.9842 MB / 254.4 MB, free: 1.871 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.3744, allocations: 208.1 kB / 254.6 MB, free: 1.648 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.3746, allocations: 16 kB / 254.7 MB, free: 1.633 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.3755, allocations: 43.97 kB / 254.7 MB, free: 1.59 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.3757, allocations: 44.48 kB / 254.7 MB, free: 1.547 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/0.3758, allocations: 16 kB / 254.8 MB, free: 1.531 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007431/0.3765, allocations: 381.6 kB / 255.1 MB, free: 1.164 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3765, allocations: 0 / 255.1 MB, free: 1.164 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001191/0.3777, allocations: 243.7 kB / 255.4 MB, free: 0.9258 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 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 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1525/0.5303, allocations: 1.557 MB / 256.9 MB, free: 61.76 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003211/0.5335, allocations: 0.9511 MB / 257.9 MB, free: 61.38 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5336, allocations: 1.344 kB / 257.9 MB, free: 61.38 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.535, allocations: 498.3 kB / 258.4 MB, free: 61.17 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.5381, allocations: 330.5 kB / 258.7 MB, free: 61.17 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.5453, allocations: 1.243 MB / 259.9 MB, free: 60.84 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.5458, allocations: 0.9051 MB / 260.8 MB, free: 60.14 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.5464, allocations: 231.2 kB / 261.1 MB, free: 60.13 MB / 218.7 MB Notification: Performance of SimCode: time 1.893e-06/0.5464, allocations: 0 / 261.1 MB, free: 60.13 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.072/3.618, allocations: 17.89 MB / 279 MB, free: 52.23 MB / 218.7 MB