Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.029e-05, allocations: 4 kB / 305 MB, free: 5.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4073, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.5947, allocations: 86.73 MB / 446.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/0.5952, allocations: 95.92 kB / 446.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04797/0.6432, allocations: 9.324 MB / 456 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6432, allocations: 0 / 456 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.6432, allocations: 8 kB / 456 MB, free: 0.6719 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001309/0.6446, allocations: 0.5632 MB / 456.6 MB, free: 68 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.6446, allocations: 11.97 kB / 456.6 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.6449, allocations: 90.59 kB / 456.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.645, allocations: 39.48 kB / 456.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.6456, allocations: 289.2 kB / 457 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.6456, allocations: 28.78 kB / 457 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.6457, allocations: 36 kB / 457.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.647, allocations: 0.507 MB / 457.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6471, allocations: 0 / 457.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.6471, allocations: 20 kB / 457.6 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.134e-05/0.6473, allocations: 32.94 kB / 457.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.6485, allocations: 0.5328 MB / 458.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.6523, allocations: 1.195 MB / 459.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6538, allocations: 352.5 kB / 459.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.6543, allocations: 121.1 kB / 459.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.507e-05/0.6544, allocations: 4.172 kB / 459.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.6545, allocations: 42.75 kB / 459.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 4.509e-06/0.6545, allocations: 0 / 459.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001471/0.656, allocations: 322.2 kB / 460.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.6561, allocations: 59.41 kB / 460.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.6572, allocations: 395.5 kB / 460.6 MB, free: 11.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.6573, allocations: 29.7 kB / 460.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.6576, allocations: 230.8 kB / 460.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.6577, allocations: 74.91 kB / 461 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6578, allocations: 4 kB / 461 MB, free: 11.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.658, allocations: 326.8 kB / 461.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.6585, allocations: 99.91 kB / 461.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.659, allocations: 104.9 kB / 461.5 MB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.6595, allocations: 109.9 kB / 461.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6595, allocations: 0 / 461.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00123/0.6608, allocations: 289.3 kB / 461.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6608, allocations: 5.719 kB / 461.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6609, allocations: 0 / 461.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.6609, allocations: 4 kB / 461.9 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.663, allocations: 155.8 kB / 462 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.6691, allocations: 5.512 MB / 467.5 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.6698, allocations: 55.75 kB / 467.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.6699, allocations: 11.98 kB / 467.6 MB, free: 4.66 MB / 394.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.6701, allocations: 113.6 kB / 467.7 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.6703, allocations: 39.52 kB / 467.8 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.6722, allocations: 425.4 kB / 468.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6723, allocations: 0 / 468.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6723, allocations: 3.953 kB / 468.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6723, allocations: 7.984 kB / 468.2 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.6735, allocations: 377.3 kB / 468.6 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6735, allocations: 0 / 468.6 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.6756, allocations: 151.8 kB / 468.7 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.6757, allocations: 0 / 468.7 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.6758, allocations: 12 kB / 468.7 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005903/0.6817, allocations: 5.512 MB / 474.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.6817, allocations: 0 / 474.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.6832, allocations: 420.1 kB / 474.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.6835, allocations: 120.8 kB / 474.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6837, allocations: 0 / 474.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.6842, allocations: 12 kB / 474.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6844, allocations: 19.92 kB / 474.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.6845, allocations: 15.98 kB / 474.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008488/0.6853, allocations: 326.1 kB / 475.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.6854, allocations: 0 / 475.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001053/0.6865, allocations: 111.8 kB / 475.2 MB, free: 12.74 MB / 410.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/0.6888, allocations: 1.028 MB / 476.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.6914, allocations: 335.6 kB / 476.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.6915, allocations: 4 kB / 476.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6931, allocations: 227.7 kB / 476.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.6939, allocations: 90.16 kB / 476.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.6961, allocations: 0.6988 MB / 477.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.6968, allocations: 0.8542 MB / 478.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6971, allocations: 112.2 kB / 478.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6971, allocations: 0 / 478.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.377/4.074, allocations: 20.39 MB / 499 MB, free: 4.945 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat