Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.4 MB / 216.9 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.249e-05, allocations: 2.109 kB / 267.6 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 48.7 MB / 316.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.781/7.896, allocations: 2.486 GB / 2.794 GB, free: 103.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000424/7.896, allocations: 81.95 kB / 2.795 GB, free: 103.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047/11.94, allocations: 0.7747 GB / 3.569 GB, free: 14.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/11.94, allocations: 0 / 3.569 GB, free: 14.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002105/11.94, allocations: 49.94 kB / 3.569 GB, free: 14.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01451/11.96, allocations: 2.895 MB / 3.572 GB, free: 11.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/11.96, allocations: 8.031 kB / 3.572 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009931/11.97, allocations: 0.794 MB / 3.573 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005095/11.97, allocations: 1.148 MB / 3.574 GB, free: 9.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006207/11.97, allocations: 400.3 kB / 3.574 GB, free: 9.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008095/11.97, allocations: 103.9 kB / 3.575 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00824/11.98, allocations: 1.85 MB / 3.576 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008938/11.99, allocations: 2.364 MB / 3.579 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/11.99, allocations: 11.88 kB / 3.579 GB, free: 4.832 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/11.99, allocations: 18.77 kB / 3.579 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/11.99, allocations: 82.67 kB / 3.579 GB, free: 4.734 MB / 458.7 MB 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.4636/12.46, allocations: 24.25 MB / 3.602 GB, free: 31.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/12.46, allocations: 0.6686 MB / 3.603 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/12.46, allocations: 354 kB / 3.603 GB, free: 30.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07915/12.54, allocations: 18.35 MB / 3.621 GB, free: 23.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/12.54, allocations: 46.16 kB / 3.621 GB, free: 23.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 4.148e-06/12.54, allocations: 3.875 kB / 3.621 GB, free: 23.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01485/12.55, allocations: 3.32 MB / 3.625 GB, free: 22.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/12.55, allocations: 169.6 kB / 3.625 GB, free: 22.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/12.56, allocations: 0.9968 MB / 3.626 GB, free: 22.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/12.56, allocations: 25.7 kB / 3.626 GB, free: 22.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/12.56, allocations: 1.011 MB / 3.627 GB, free: 21.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/12.56, allocations: 398.2 kB / 3.627 GB, free: 21.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/12.56, allocations: 0 / 3.627 GB, free: 21.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/12.56, allocations: 407.2 kB / 3.628 GB, free: 21.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/12.56, allocations: 0.4944 MB / 3.628 GB, free: 21.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/12.56, allocations: 1.775 MB / 3.63 GB, free: 19.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/12.56, allocations: 0.8777 MB / 3.631 GB, free: 19.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-05/12.56, allocations: 15.03 kB / 3.631 GB, free: 19.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006884/12.57, allocations: 2.252 MB / 3.633 GB, free: 19.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/12.57, allocations: 21.75 kB / 3.633 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.534e-05/12.57, allocations: 48.06 kB / 3.633 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/12.57, allocations: 396.7 kB / 3.633 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/12.58, allocations: 0.5253 MB / 3.634 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/12.58, allocations: 2.772 MB / 3.636 GB, free: 17.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/12.58, allocations: 164.9 kB / 3.637 GB, free: 17.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/12.58, allocations: 139.6 kB / 3.637 GB, free: 17.32 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007458/12.58, allocations: 244.3 kB / 3.637 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004243/12.59, allocations: 1.191 MB / 3.638 GB, free: 17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/12.59, allocations: 146.8 kB / 3.638 GB, free: 16.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/12.6, allocations: 3.977 MB / 3.642 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/12.6, allocations: 41.45 kB / 3.642 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/12.6, allocations: 7.688 kB / 3.642 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/12.6, allocations: 9.547 kB / 3.642 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/12.61, allocations: 5.855 MB / 3.648 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/12.61, allocations: 10.06 kB / 3.648 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/12.61, allocations: 206.9 kB / 3.648 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/12.61, allocations: 386.5 kB / 3.649 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/12.61, allocations: 13.28 kB / 3.649 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/12.62, allocations: 2.876 MB / 3.651 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/12.62, allocations: 2.906 kB / 3.651 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/12.62, allocations: 3.564 MB / 3.655 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/12.62, allocations: 428.5 kB / 3.655 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/12.62, allocations: 3.906 kB / 3.655 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/12.63, allocations: 97.14 kB / 3.655 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/12.63, allocations: 100.5 kB / 3.655 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/12.63, allocations: 43.3 kB / 3.656 GB, free: 12.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001429/12.63, allocations: 0.7285 MB / 3.656 GB, free: 12.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/12.63, allocations: 3.781 kB / 3.656 GB, free: 12.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007912/12.64, allocations: 1.35 MB / 3.658 GB, free: 12.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01802/12.65, allocations: 7.22 MB / 3.665 GB, free: 9.949 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00478/12.66, allocations: 1.824 MB / 3.666 GB, free: 9.902 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/12.66, allocations: 3.656 kB / 3.666 GB, free: 9.902 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/12.66, allocations: 1.103 MB / 3.667 GB, free: 9.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/12.67, allocations: 0.5739 MB / 3.668 GB, free: 9.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.039/13.71, allocations: 211.8 MB / 3.875 GB, free: 54.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/13.71, allocations: 1.602 MB / 3.876 GB, free: 53.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/13.71, allocations: 0.8411 MB / 3.877 GB, free: 53.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.585e-06/13.71, allocations: 0 / 3.877 GB, free: 53.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.948/18.66, allocations: 85.56 MB / 3.961 GB, free: 55.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat