Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.702/2.702, allocations: 270 MB / 282.7 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.383e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4144, allocations: 61.88 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.802/10.22, allocations: 3.17 GB / 3.57 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/10.22, allocations: 75.31 kB / 3.57 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 14.16/24.38, allocations: 3.108 GB / 6.678 GB, free: 57.94 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/24.38, allocations: 6.938 kB / 6.678 GB, free: 57.94 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00034/24.38, allocations: 71.22 kB / 6.678 GB, free: 57.93 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.01704/24.4, allocations: 3.59 MB / 6.681 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/24.4, allocations: 7.219 kB / 6.681 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001617/24.4, allocations: 343.2 kB / 6.682 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/24.4, allocations: 311.7 kB / 6.682 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008567/24.41, allocations: 2.068 MB / 6.684 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/24.41, allocations: 222.3 kB / 6.684 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/24.41, allocations: 192.6 kB / 6.684 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008761/24.42, allocations: 3.27 MB / 6.687 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/24.42, allocations: 5.812 kB / 6.687 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004653/24.42, allocations: 90.44 kB / 6.688 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/24.42, allocations: 201.5 kB / 6.688 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008975/24.43, allocations: 2.978 MB / 6.691 GB, free: 54.93 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.03242/24.46, allocations: 12.48 MB / 6.703 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/24.47, allocations: 2.21 MB / 6.705 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/24.47, allocations: 1.172 MB / 6.706 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/24.49, allocations: 5.737 MB / 6.712 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/24.49, allocations: 61.86 kB / 6.712 GB, free: 46.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001658/24.49, allocations: 253.6 kB / 6.712 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 7.584e-06/24.49, allocations: 2.438 kB / 6.712 GB, free: 46.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 1.102/25.59, allocations: 48.09 MB / 6.759 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1966/25.79, allocations: 36.48 MB / 6.795 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/25.79, allocations: 1.669 MB / 6.796 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009174/25.79, allocations: 73.7 kB / 6.796 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/25.79, allocations: 0.9981 MB / 6.797 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/25.79, allocations: 0.8665 MB / 6.798 GB, free: 204 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/25.79, allocations: 59.94 kB / 6.798 GB, free: 144 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000318/25.8, allocations: 432.5 kB / 6.799 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006663/25.8, allocations: 2.079 MB / 6.801 GB, free: 13.63 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007263/25.81, allocations: 2.641 MB / 6.803 GB, free: 10.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00913/25.82, allocations: 2.524 MB / 6.806 GB, free: 8.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/25.82, allocations: 4 kB / 6.806 GB, free: 8.227 MB / 0.573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02604/25.84, allocations: 6.954 MB / 6.812 GB, free: 1.293 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.4683/26.31, allocations: 6.18 MB / 6.819 GB, free: 62.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.788e-05/26.31, allocations: 15.78 kB / 6.819 GB, free: 62.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08293/26.4, allocations: 11.6 MB / 6.83 GB, free: 62.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/26.4, allocations: 363 kB / 6.83 GB, free: 62.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02463/26.42, allocations: 8.188 MB / 6.838 GB, free: 61.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/26.43, allocations: 295.4 kB / 6.838 GB, free: 61.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/26.43, allocations: 155.7 kB / 6.839 GB, free: 61.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/26.43, allocations: 5 kB / 6.839 GB, free: 61.26 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02153/26.45, allocations: 6.635 MB / 6.845 GB, free: 61.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.816e-05/26.45, allocations: 15.88 kB / 6.845 GB, free: 61.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03878/26.49, allocations: 6.784 MB / 6.852 GB, free: 61.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/26.5, allocations: 404.6 kB / 6.852 GB, free: 61.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/26.52, allocations: 7.685 MB / 6.86 GB, free: 60.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/26.53, allocations: 291.4 kB / 6.86 GB, free: 60.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/26.53, allocations: 152.3 kB / 6.86 GB, free: 60.01 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (165): * Single equations (assignments): 163 * 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 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.001306/26.53, allocations: 250.7 kB / 6.86 GB, free: 59.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/26.53, allocations: 251 kB / 6.861 GB, free: 59.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0274/26.56, allocations: 7.776 MB / 6.868 GB, free: 59.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-05/26.56, allocations: 35.89 kB / 6.868 GB, free: 59.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/26.56, allocations: 0 / 6.868 GB, free: 59.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02252/26.58, allocations: 6.8 MB / 6.875 GB, free: 59.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04191/26.62, allocations: 13.68 MB / 6.888 GB, free: 58.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-05/26.62, allocations: 3.25 kB / 6.888 GB, free: 58.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/26.62, allocations: 191.9 kB / 6.888 GB, free: 58.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08013/26.7, allocations: 11.33 MB / 6.899 GB, free: 57.97 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009439/26.71, allocations: 87.97 kB / 6.9 GB, free: 57.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/26.73, allocations: 8.057 MB / 6.907 GB, free: 56.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2048/26.93, allocations: 38.46 MB / 6.945 GB, free: 46.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02835/26.96, allocations: 10.1 MB / 6.955 GB, free: 42.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/26.97, allocations: 0.8676 MB / 6.956 GB, free: 41.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/26.97, allocations: 54.78 kB / 6.956 GB, free: 41.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006766/26.98, allocations: 275.9 kB / 6.956 GB, free: 41.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/26.98, allocations: 203.5 kB / 6.956 GB, free: 41.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006276/26.98, allocations: 117.5 kB / 6.956 GB, free: 41.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003102/26.98, allocations: 1.289 MB / 6.958 GB, free: 41.04 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.52e-07/26.98, allocations: 0 / 6.958 GB, free: 41.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01877/27, allocations: 3.556 MB / 6.961 GB, free: 40.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.04358/27.04, allocations: 13.37 MB / 6.974 GB, free: 32.19 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04723/27.09, allocations: 8.731 MB / 6.983 GB, free: 24.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/27.09, allocations: 0 / 6.983 GB, free: 24.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02082/27.11, allocations: 3.144 MB / 6.986 GB, free: 22.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/27.12, allocations: 0.9477 MB / 6.987 GB, free: 21.42 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/27.15, allocations: 7.766 MB / 6.994 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/27.16, allocations: 2.091 MB / 6.996 GB, free: 13.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/27.16, allocations: 1.106 MB / 6.997 GB, free: 12.23 MB / 0.573 GB Notification: Performance of SimCode: time 1.763e-06/27.16, allocations: 0 / 6.997 GB, free: 12.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.416/33.58, allocations: 135.2 MB / 7.129 GB, free: 55.98 MB / 0.5886 GB