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 2.118/2.118, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.793e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.743/7.859, allocations: 2.486 GB / 2.8 GB, free: 81.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/7.859, allocations: 83.08 kB / 2.8 GB, free: 81.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.535/12.39, allocations: 0.7822 GB / 3.583 GB, free: 27.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.826e-06/12.39, allocations: 0 / 3.583 GB, free: 27.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002434/12.39, allocations: 52.58 kB / 3.583 GB, free: 27.17 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.01464/12.41, allocations: 2.913 MB / 3.585 GB, free: 25.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/12.41, allocations: 10.44 kB / 3.585 GB, free: 25.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/12.41, allocations: 263.3 kB / 3.586 GB, free: 25.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009643/12.42, allocations: 0.7888 MB / 3.586 GB, free: 25.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/12.42, allocations: 1.148 MB / 3.588 GB, free: 25.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/12.43, allocations: 455.5 kB / 3.588 GB, free: 25.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008257/12.43, allocations: 172.8 kB / 3.588 GB, free: 25.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/12.44, allocations: 3.1 MB / 3.591 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/12.44, allocations: 15.41 kB / 3.591 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/12.44, allocations: 80.19 kB / 3.591 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/12.44, allocations: 90.22 kB / 3.591 GB, free: 24.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009747/12.45, allocations: 2.551 MB / 3.594 GB, free: 24.34 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.02621/12.47, allocations: 15.48 MB / 3.609 GB, free: 29.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/12.48, allocations: 1.238 MB / 3.61 GB, free: 29.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/12.48, allocations: 391.1 kB / 3.611 GB, free: 29.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07839/12.56, allocations: 18.35 MB / 3.629 GB, free: 21.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/12.56, allocations: 46.22 kB / 3.629 GB, free: 21.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 4.288e-06/12.56, allocations: 0 / 3.629 GB, free: 21.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.02367/12.58, allocations: 4.284 MB / 3.633 GB, free: 21.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/12.58, allocations: 165.6 kB / 3.633 GB, free: 20.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/12.59, allocations: 1.052 MB / 3.634 GB, free: 20.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004054/12.59, allocations: 47.58 kB / 3.634 GB, free: 20.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/12.59, allocations: 0.9909 MB / 3.635 GB, free: 19.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/12.59, allocations: 426.7 kB / 3.635 GB, free: 19.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/12.59, allocations: 51.41 kB / 3.635 GB, free: 19.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003389/12.59, allocations: 406 kB / 3.636 GB, free: 19.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/12.59, allocations: 0.5397 MB / 3.636 GB, free: 19.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/12.59, allocations: 1.838 MB / 3.638 GB, free: 17.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/12.6, allocations: 0.9015 MB / 3.639 GB, free: 17.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.734e-05/12.6, allocations: 15 kB / 3.639 GB, free: 17.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.0101/12.61, allocations: 2.532 MB / 3.641 GB, free: 17.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/12.61, allocations: 28.5 kB / 3.642 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.142e-05/12.61, allocations: 42.25 kB / 3.642 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/12.61, allocations: 411.9 kB / 3.642 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/12.61, allocations: 0.5173 MB / 3.642 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/12.62, allocations: 2.711 MB / 3.645 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/12.62, allocations: 200.3 kB / 3.645 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/12.62, allocations: 143.3 kB / 3.645 GB, free: 15.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008775/12.62, allocations: 303.8 kB / 3.646 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/12.63, allocations: 151.6 kB / 3.646 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/12.64, allocations: 4.534 MB / 3.65 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.504e-05/12.64, allocations: 51.58 kB / 3.65 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/12.64, allocations: 3.906 kB / 3.65 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/12.64, allocations: 7.266 kB / 3.65 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/12.65, allocations: 6.673 MB / 3.657 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/12.65, allocations: 0 / 3.657 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/12.66, allocations: 224.5 kB / 3.657 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/12.66, allocations: 396.9 kB / 3.657 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/12.66, allocations: 31.89 kB / 3.657 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/12.66, allocations: 2.758 MB / 3.66 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/12.66, allocations: 7.156 kB / 3.66 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007437/12.67, allocations: 3.799 MB / 3.664 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/12.67, allocations: 444.4 kB / 3.664 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/12.67, allocations: 27.83 kB / 3.664 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/12.67, allocations: 125.3 kB / 3.664 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/12.67, allocations: 89.69 kB / 3.665 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/12.67, allocations: 47.14 kB / 3.665 GB, free: 10.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001847/12.68, allocations: 0.8001 MB / 3.665 GB, free: 10.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.673e-06/12.68, allocations: 3.312 kB / 3.665 GB, free: 10.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008973/12.69, allocations: 1.454 MB / 3.667 GB, free: 10.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.02003/12.71, allocations: 7.032 MB / 3.674 GB, free: 8.309 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004866/12.71, allocations: 1.981 MB / 3.676 GB, free: 8.125 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/12.71, allocations: 0 / 3.676 GB, free: 8.125 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/12.71, allocations: 1.21 MB / 3.677 GB, free: 8.086 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/12.72, allocations: 0.6033 MB / 3.677 GB, free: 8.047 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9969/13.72, allocations: 212.6 MB / 3.885 GB, free: 27.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/13.72, allocations: 1.648 MB / 3.887 GB, free: 25.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/13.72, allocations: 0.8725 MB / 3.887 GB, free: 25.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/13.72, allocations: 1.125 kB / 3.887 GB, free: 25.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.184/18.9, allocations: 86.74 MB / 3.972 GB, free: 41.27 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