Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.051/1.051, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.8e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 25.16 MB / 176.6 MB, free: 28 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06753/0.2371, allocations: 38.52 MB / 215.2 MB, free: 10.93 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.2374, allocations: 63.97 kB / 215.2 MB, free: 10.86 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06733/0.3048, allocations: 15.85 MB / 231.1 MB, free: 10.94 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3048, allocations: 0 / 231.1 MB, free: 10.94 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.701e-05/0.3049, allocations: 16 kB / 231.1 MB, free: 10.93 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.0028/0.3077, allocations: 1.033 MB / 232.1 MB, free: 9.828 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3078, allocations: 8.031 kB / 232.1 MB, free: 9.82 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002633/0.308, allocations: 115.7 kB / 232.2 MB, free: 9.695 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.3083, allocations: 106.9 kB / 232.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3096, allocations: 0.5077 MB / 232.9 MB, free: 9.043 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.31, allocations: 154.3 kB / 233 MB, free: 8.875 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3101, allocations: 64 kB / 233.1 MB, free: 8.812 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.3121, allocations: 0.8059 MB / 233.9 MB, free: 7.902 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3121, allocations: 7.906 kB / 233.9 MB, free: 7.895 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3122, allocations: 28 kB / 233.9 MB, free: 7.867 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.3123, allocations: 16 kB / 233.9 MB, free: 7.852 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.3138, allocations: 0.4907 MB / 234.4 MB, free: 7.359 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005878/0.3197, allocations: 2.406 MB / 236.8 MB, free: 4.793 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.3223, allocations: 0.899 MB / 237.7 MB, free: 3.832 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.3233, allocations: 339.5 kB / 238.1 MB, free: 3.5 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.3234, allocations: 16.84 kB / 238.1 MB, free: 3.484 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.3234, allocations: 43.34 kB / 238.1 MB, free: 3.43 MB / 202.7 MB Notification: Performance of pre-optimization done (n=74): time 3.146e-06/0.3235, allocations: 4 kB / 238.1 MB, free: 3.426 MB / 202.7 MB Notification: Performance of matching and sorting (n=74): time 0.003406/0.3269, allocations: 0.8423 MB / 239 MB, free: 2.566 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004804/0.3274, allocations: 0.8235 MB / 239.8 MB, free: 1.547 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: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.00137/0.3288, allocations: 0.5808 MB / 240.4 MB, free: 0.9609 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.3289, allocations: 41.7 kB / 240.4 MB, free: 0.9141 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.3293, allocations: 345.2 kB / 240.7 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.3296, allocations: 256.2 kB / 241 MB, free: 332 kB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.3297, allocations: 12 kB / 241 MB, free: 320 kB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3299, allocations: 338.8 kB / 241.3 MB, free: 15.97 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/0.3305, allocations: 209.5 kB / 241.5 MB, free: 15.77 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3316, allocations: 490.9 kB / 242 MB, free: 15.19 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.3324, allocations: 343.6 kB / 242.4 MB, free: 14.84 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3324, allocations: 0 / 242.4 MB, free: 14.84 MB / 218.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003451/0.3359, allocations: 0.9493 MB / 243.3 MB, free: 13.85 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.336, allocations: 89.09 kB / 243.4 MB, free: 13.75 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.336, allocations: 0 / 243.4 MB, free: 13.75 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/0.3368, allocations: 199.3 kB / 243.6 MB, free: 13.54 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.338, allocations: 127.8 kB / 243.7 MB, free: 13.41 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.3494, allocations: 6.365 MB / 250.1 MB, free: 6.516 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3508, allocations: 115.5 kB / 250.2 MB, free: 6.402 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.3509, allocations: 27.92 kB / 250.2 MB, free: 6.375 MB / 218.7 MB Warning: Assuming fixed start value for the following 5 variables: heatCapacitor2.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 heatCapacitor1.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 pipe3.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe3.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 pipe1.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe1.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 (70): * Single equations (assignments): 63 * 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.0004232/0.3513, allocations: 199.1 kB / 250.4 MB, free: 6.18 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.3515, allocations: 87.06 kB / 250.5 MB, free: 6.094 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3518, allocations: 87.98 kB / 250.6 MB, free: 6 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3518, allocations: 8 kB / 250.6 MB, free: 5.992 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3518, allocations: 3.953 kB / 250.6 MB, free: 5.988 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003164/0.355, allocations: 1.146 MB / 251.7 MB, free: 4.73 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0056/0.3606, allocations: 1.994 MB / 253.7 MB, free: 2.621 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3607, allocations: 0 / 253.7 MB, free: 2.621 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.3619, allocations: 131.8 kB / 253.9 MB, free: 2.492 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.3625, allocations: 158.5 kB / 254 MB, free: 2.328 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.3626, allocations: 12 kB / 254 MB, free: 2.316 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1631/0.5257, allocations: 4.862 MB / 258.9 MB, free: 58.12 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5258, allocations: 3.312 kB / 258.9 MB, free: 58.12 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.53, allocations: 1.269 MB / 260.2 MB, free: 57.91 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.5303, allocations: 169.5 kB / 260.3 MB, free: 57.81 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.5305, allocations: 18 kB / 260.3 MB, free: 57.81 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/0.5315, allocations: 59.66 kB / 260.4 MB, free: 57.8 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.5318, allocations: 60.28 kB / 260.5 MB, free: 57.8 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.5318, allocations: 17.38 kB / 260.5 MB, free: 57.8 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008066/0.5326, allocations: 444 kB / 260.9 MB, free: 57.7 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5327, allocations: 1.25 kB / 260.9 MB, free: 57.7 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001334/0.534, allocations: 307.6 kB / 261.2 MB, free: 57.69 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.004173/0.5382, allocations: 1.992 MB / 263.2 MB, free: 56.77 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.5416, allocations: 1.325 MB / 264.5 MB, free: 56.14 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.5416, allocations: 4.469 kB / 264.5 MB, free: 56.14 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.5432, allocations: 0.6915 MB / 265.2 MB, free: 55.83 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/0.5478, allocations: 421.1 kB / 265.6 MB, free: 55.82 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/0.555, allocations: 1.548 MB / 267.2 MB, free: 55.4 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.5557, allocations: 0.9497 MB / 268.1 MB, free: 54.69 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00088/0.5566, allocations: 294.9 kB / 268.4 MB, free: 54.68 MB / 218.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5567, allocations: 0 / 268.4 MB, free: 54.68 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.986/3.542, allocations: 24.54 MB / 293 MB, free: 38.34 MB / 218.7 MB