Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.566e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.08/10.5, allocations: 3.17 GB / 3.57 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/10.5, allocations: 83.2 kB / 3.57 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 14.34/24.84, allocations: 3.109 GB / 6.679 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.465e-06/24.84, allocations: 0 / 6.679 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003632/24.84, allocations: 73.88 kB / 6.679 GB, free: 56.87 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01802/24.85, allocations: 3.598 MB / 6.682 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/24.85, allocations: 9.25 kB / 6.682 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001758/24.86, allocations: 340.6 kB / 6.683 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/24.86, allocations: 316.9 kB / 6.683 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009324/24.87, allocations: 2.079 MB / 6.685 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/24.87, allocations: 224.6 kB / 6.685 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/24.87, allocations: 205.9 kB / 6.685 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/24.88, allocations: 3.283 MB / 6.689 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.84e-05/24.88, allocations: 4.938 kB / 6.689 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004825/24.88, allocations: 91.27 kB / 6.689 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004109/24.88, allocations: 203.1 kB / 6.689 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00948/24.89, allocations: 2.987 MB / 6.692 GB, free: 53.87 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/24.93, allocations: 12.46 MB / 6.704 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/24.93, allocations: 2.19 MB / 6.706 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/24.94, allocations: 1.339 MB / 6.707 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/24.95, allocations: 6 MB / 6.713 GB, free: 45.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/24.95, allocations: 55.7 kB / 6.713 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/24.95, allocations: 192.5 kB / 6.713 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 6.973e-06/24.95, allocations: 2.156 kB / 6.713 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.04461/25, allocations: 8.862 MB / 6.722 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/25, allocations: 126.6 kB / 6.722 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/25, allocations: 1.658 MB / 6.724 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007264/25, allocations: 60.89 kB / 6.724 GB, free: 44.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/25, allocations: 0.9687 MB / 6.725 GB, free: 43.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/25, allocations: 0.677 MB / 6.726 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/25.01, allocations: 46.88 kB / 6.726 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002245/25.01, allocations: 408.6 kB / 6.726 GB, free: 43.22 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/25.01, allocations: 1.181 MB / 6.727 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/25.01, allocations: 1.68 MB / 6.729 GB, free: 42.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/25.02, allocations: 1.437 MB / 6.73 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/25.02, allocations: 3.531 kB / 6.73 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01255/25.03, allocations: 3.694 MB / 6.734 GB, free: 40.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/25.03, allocations: 5.663 MB / 6.739 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.143e-05/25.03, allocations: 16.66 kB / 6.739 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007319/25.04, allocations: 1.143 MB / 6.74 GB, free: 34.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/25.04, allocations: 469.4 kB / 6.741 GB, free: 34.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/25.06, allocations: 10.5 MB / 6.751 GB, free: 25.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004817/25.06, allocations: 194.2 kB / 6.751 GB, free: 25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008301/25.06, allocations: 106.9 kB / 6.751 GB, free: 24.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/25.06, allocations: 10.72 kB / 6.751 GB, free: 24.98 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/25.07, allocations: 3.414 MB / 6.755 GB, free: 23.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/25.07, allocations: 14.62 kB / 6.755 GB, free: 23.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/25.08, allocations: 0.8174 MB / 6.756 GB, free: 23.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/25.08, allocations: 0.4906 MB / 6.756 GB, free: 23.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/25.09, allocations: 10.18 MB / 6.766 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/25.1, allocations: 186.4 kB / 6.766 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/25.1, allocations: 110.9 kB / 6.766 GB, free: 14.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008748/25.1, allocations: 239.5 kB / 6.767 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/25.1, allocations: 232.4 kB / 6.767 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/25.11, allocations: 3.889 MB / 6.771 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/25.11, allocations: 25.16 kB / 6.771 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/25.11, allocations: 0 / 6.771 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008996/25.12, allocations: 3.284 MB / 6.774 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/25.14, allocations: 6.337 MB / 6.78 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/25.14, allocations: 0 / 6.78 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003169/25.14, allocations: 328.8 kB / 6.78 GB, free: 8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007388/25.15, allocations: 1.195 MB / 6.781 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000691/25.15, allocations: 72.59 kB / 6.782 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/25.16, allocations: 10.39 MB / 6.792 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/25.16, allocations: 4 kB / 6.792 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/25.18, allocations: 5.118 MB / 6.797 GB, free: 8.039 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/25.18, allocations: 0.6448 MB / 6.797 GB, free: 7.473 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009279/25.18, allocations: 58.94 kB / 6.797 GB, free: 7.422 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003595/25.19, allocations: 151.4 kB / 6.797 GB, free: 7.312 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006595/25.19, allocations: 168.9 kB / 6.798 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/25.19, allocations: 86 kB / 6.798 GB, free: 7.145 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003183/25.19, allocations: 1.275 MB / 6.799 GB, free: 5.969 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.72e-07/25.19, allocations: 0 / 6.799 GB, free: 5.969 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01072/25.2, allocations: 1.982 MB / 6.801 GB, free: 4.023 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.4874/25.69, allocations: 7.316 MB / 6.808 GB, free: 64.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0187/25.71, allocations: 5.871 MB / 6.814 GB, free: 63.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/25.71, allocations: 1.031 kB / 6.814 GB, free: 63.93 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007454/25.71, allocations: 2.158 MB / 6.816 GB, free: 63.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009109/25.72, allocations: 0.9622 MB / 6.817 GB, free: 63.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/25.74, allocations: 5.759 MB / 6.822 GB, free: 62.44 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/25.74, allocations: 1.91 MB / 6.824 GB, free: 61.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/25.75, allocations: 1.051 MB / 6.825 GB, free: 61.68 MB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/25.75, allocations: 0 / 6.825 GB, free: 61.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.656/30.4, allocations: 132.8 MB / 6.955 GB, free: 33.27 MB / 0.573 GB