Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.828e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4241, allocations: 54.85 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.188/8.613, allocations: 2.67 GB / 3.022 GB, free: 88.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/8.613, allocations: 75.34 kB / 3.022 GB, free: 88.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.406/14.02, allocations: 1.021 GB / 4.043 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.236e-06/14.02, allocations: 3.938 kB / 4.043 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000334/14.02, allocations: 67.92 kB / 4.043 GB, free: 25.99 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02166/14.04, allocations: 4.399 MB / 4.047 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/14.04, allocations: 8.031 kB / 4.047 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001752/14.04, allocations: 415.9 kB / 4.048 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/14.06, allocations: 1.034 MB / 4.049 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/14.06, allocations: 2.227 MB / 4.051 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/14.06, allocations: 288.1 kB / 4.051 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/14.07, allocations: 239.9 kB / 4.051 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/14.08, allocations: 4.432 MB / 4.056 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/14.08, allocations: 11.84 kB / 4.056 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000512/14.08, allocations: 112 kB / 4.056 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000402/14.08, allocations: 224.7 kB / 4.056 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/14.09, allocations: 3.991 MB / 4.06 GB, free: 8.609 MB / 0.5105 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.04431/14.14, allocations: 19.05 MB / 4.078 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/14.15, allocations: 2.658 MB / 4.081 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003715/14.15, allocations: 1.294 MB / 4.082 GB, free: 72 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5241/14.68, allocations: 17.04 MB / 4.099 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/14.68, allocations: 57.48 kB / 4.099 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002779/14.68, allocations: 364.3 kB / 4.099 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 1.19e-05/14.68, allocations: 0 / 4.099 GB, free: 31.8 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: radiator.mediums[1].h 4: pipe.mediums[2].h 5: pipe.mediums[2].p 6: pipe.mediums[1].p 7: pipe.mediums[1].h 8: heater.mediums[1].h 9: radiator.mediums[1].p 10: pump.medium.h 11: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 1.104/15.78, allocations: 62.21 MB / 4.16 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4593/16.24, allocations: 86.86 MB / 4.245 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/16.25, allocations: 1.677 MB / 4.247 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/16.25, allocations: 74.2 kB / 4.247 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/16.25, allocations: 1.1 MB / 4.248 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/16.25, allocations: 0.9351 MB / 4.249 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/16.25, allocations: 57.19 kB / 4.249 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003121/16.25, allocations: 436.4 kB / 4.249 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007229/16.26, allocations: 2.568 MB / 4.252 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008102/16.27, allocations: 3.114 MB / 4.255 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/16.28, allocations: 2.999 MB / 4.258 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/16.28, allocations: 7.938 kB / 4.258 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02735/16.31, allocations: 8.485 MB / 4.266 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003039/16.31, allocations: 5.838 MB / 4.272 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.929e-05/16.31, allocations: 16 kB / 4.272 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1254/16.43, allocations: 16.38 MB / 4.288 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/16.44, allocations: 385.5 kB / 4.288 GB, free: 428 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4968/16.93, allocations: 10.07 MB / 4.298 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00877/16.94, allocations: 408.8 kB / 4.298 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/16.94, allocations: 181.5 kB / 4.298 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/16.94, allocations: 3.781 kB / 4.298 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02612/16.97, allocations: 7.934 MB / 4.306 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.171e-05/16.97, allocations: 23.09 kB / 4.306 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04938/17.02, allocations: 8.136 MB / 4.314 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/17.02, allocations: 443.5 kB / 4.315 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/17.05, allocations: 9.168 MB / 4.323 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/17.06, allocations: 403 kB / 4.324 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/17.06, allocations: 184.4 kB / 4.324 GB, free: 61.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001503/17.06, allocations: 259.1 kB / 4.324 GB, free: 61.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/17.06, allocations: 259.5 kB / 4.325 GB, free: 61.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0383/17.1, allocations: 17.21 MB / 4.341 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001733/17.1, allocations: 120.1 kB / 4.341 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/17.1, allocations: 1.891 kB / 4.341 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03178/17.13, allocations: 15.4 MB / 4.356 GB, free: 60.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06468/17.2, allocations: 27.24 MB / 4.383 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.057e-05/17.2, allocations: 3.781 kB / 4.383 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/17.2, allocations: 229.3 kB / 4.383 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1222/17.32, allocations: 26.47 MB / 4.409 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009942/17.32, allocations: 101.2 kB / 4.409 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03536/17.36, allocations: 15.5 MB / 4.424 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001/18.36, allocations: 147.3 MB / 4.568 GB, free: 68.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04622/18.41, allocations: 22.46 MB / 4.59 GB, free: 65.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00424/18.41, allocations: 1.154 MB / 4.591 GB, free: 64.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/18.41, allocations: 59.78 kB / 4.591 GB, free: 64.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007799/18.42, allocations: 427.8 kB / 4.592 GB, free: 64.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/18.42, allocations: 269.3 kB / 4.592 GB, free: 64.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006637/18.42, allocations: 138.6 kB / 4.592 GB, free: 64.67 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003113/18.42, allocations: 1.323 MB / 4.593 GB, free: 64.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.21e-07/18.42, allocations: 0 / 4.593 GB, free: 64.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03786/18.46, allocations: 7.235 MB / 4.601 GB, free: 63.54 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse116.phase,$cse116.region,$cse117.phase,$cse117.region,$cse118.region3boundary,$cse119.region3boundary,$cse120.phase,$cse120.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.09259/18.55, allocations: 25.07 MB / 4.625 GB, free: 53.56 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04422/18.6, allocations: 11.7 MB / 4.636 GB, free: 49.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/18.6, allocations: 4.344 kB / 4.636 GB, free: 49.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/18.62, allocations: 5.625 MB / 4.642 GB, free: 47.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/18.63, allocations: 1.068 MB / 4.643 GB, free: 47.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05026/18.68, allocations: 14.04 MB / 4.657 GB, free: 40.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00501/18.68, allocations: 2.99 MB / 4.66 GB, free: 39.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00485/18.69, allocations: 1.688 MB / 4.661 GB, free: 38.59 MB / 0.573 GB Notification: Performance of SimCode: time 1.412e-06/18.69, allocations: 0 / 4.661 GB, free: 38.59 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.261/27.95, allocations: 234.3 MB / 4.89 GB, free: 3.664 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat