Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.953e-05/4.96e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5457, allocations: 72.81 MB / 394.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.546, allocations: 63.97 kB / 394.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003935/0.55, allocations: 0.8923 MB / 395.6 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.55, allocations: 0 / 395.6 MB, free: 80 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5501, allocations: 4 kB / 395.6 MB, free: 76 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003684/0.5504, allocations: 342.4 kB / 396 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.5505, allocations: 8.031 kB / 396 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.5506, allocations: 38.56 kB / 396 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.5506, allocations: 0 / 396 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5508, allocations: 167 kB / 396.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5508, allocations: 7.984 kB / 396.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.5508, allocations: 9.859 kB / 396.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.551, allocations: 61.55 kB / 396.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.551, allocations: 0 / 396.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.551, allocations: 8 kB / 396.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5511, allocations: 0 / 396.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.5512, allocations: 43.97 kB / 396.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.5515, allocations: 177.5 kB / 396.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.5516, allocations: 66.58 kB / 396.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.5517, allocations: 29.95 kB / 396.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.5522, allocations: 263.2 kB / 396.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.5522, allocations: 30.56 kB / 396.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.5522, allocations: 0 / 396.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002542/0.5525, allocations: 73.69 kB / 396.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.5526, allocations: 55.34 kB / 397 MB, free: 14.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.5527, allocations: 89 kB / 397.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5527, allocations: 25.7 kB / 397.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.5528, allocations: 158.7 kB / 397.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.5528, allocations: 39.66 kB / 397.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.5529, allocations: 0 / 397.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.553, allocations: 314.8 kB / 397.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.5531, allocations: 20 kB / 397.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.5531, allocations: 16 kB / 397.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.5532, allocations: 20.2 kB / 397.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5532, allocations: 7.953 kB / 397.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.5534, allocations: 77.62 kB / 397.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5535, allocations: 4 kB / 397.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5535, allocations: 4 kB / 397.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5535, allocations: 0 / 397.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5537, allocations: 19.98 kB / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5537, allocations: 0 / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.5538, allocations: 5.594 kB / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.5538, allocations: 4 kB / 397.8 MB, free: 13.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.5539, allocations: 108.9 kB / 397.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.5539, allocations: 7.953 kB / 397.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.5542, allocations: 101.7 kB / 398 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5542, allocations: 0 / 398 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5542, allocations: 4 kB / 398 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5543, allocations: 0 / 398 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.5544, allocations: 170.3 kB / 398.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5545, allocations: 0 / 398.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.5546, allocations: 23.94 kB / 398.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5546, allocations: 0 / 398.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5546, allocations: 0 / 398.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5546, allocations: 0.875 kB / 398.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5547, allocations: 0 / 398.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.5549, allocations: 113.2 kB / 398.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.5549, allocations: 81.2 kB / 398.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.555, allocations: 7.891 kB / 398.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.555, allocations: 0 / 398.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.5551, allocations: 11.98 kB / 398.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.5551, allocations: 4 kB / 398.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.5551, allocations: 83.28 kB / 398.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5552, allocations: 0 / 398.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.5554, allocations: 19.94 kB / 398.5 MB, free: 12.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006068/0.5561, allocations: 0.6553 MB / 399.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.5563, allocations: 51.88 kB / 399.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5563, allocations: 4.094 kB / 399.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.5564, allocations: 31.92 kB / 399.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.5565, allocations: 11.95 kB / 399.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.557, allocations: 156.2 kB / 399.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5574, allocations: 0.6809 MB / 400.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.5574, allocations: 15.44 kB / 400.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5575, allocations: 0 / 400.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.445/3.002, allocations: 1.049 MB / 401.1 MB, free: 10.1 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat