Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.228e-05, allocations: 5.547 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.485, allocations: 363.5 MB / 0.6693 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.485, allocations: 66.56 kB / 0.6694 GB, free: 123.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07164/1.557, allocations: 18.76 MB / 0.6877 GB, free: 120.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.557, allocations: 0 / 0.6877 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/1.557, allocations: 7.906 kB / 0.6877 GB, free: 120.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001443/1.558, allocations: 0.5622 MB / 0.6882 GB, free: 119.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.558, allocations: 11.78 kB / 0.6882 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.135e-05/1.559, allocations: 58.7 kB / 0.6883 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/1.559, allocations: 23.41 kB / 0.6883 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/1.559, allocations: 236.6 kB / 0.6885 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/1.559, allocations: 133.4 kB / 0.6887 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/1.559, allocations: 21.88 kB / 0.6887 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/1.56, allocations: 306.8 kB / 0.689 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.56, allocations: 11.88 kB / 0.689 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/1.56, allocations: 10.66 kB / 0.689 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/1.56, allocations: 3.938 kB / 0.689 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.561, allocations: 0.7321 MB / 0.6897 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/1.563, allocations: 1.228 MB / 0.6909 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/1.563, allocations: 151.3 kB / 0.6911 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.564, allocations: 79.47 kB / 0.6911 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003328/1.567, allocations: 3.003 MB / 0.6941 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.567, allocations: 34.5 kB / 0.6941 GB, free: 115.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.847e-06/1.567, allocations: 0 / 0.6941 GB, free: 115.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003863/1.568, allocations: 106.1 kB / 0.6942 GB, free: 115 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/1.568, allocations: 55.36 kB / 0.6943 GB, free: 115 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/1.568, allocations: 197 kB / 0.6944 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/1.568, allocations: 29.61 kB / 0.6945 GB, free: 114.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.568, allocations: 283.6 kB / 0.6947 GB, free: 114.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/1.568, allocations: 49.98 kB / 0.6948 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.87e-05/1.568, allocations: 10.72 kB / 0.6948 GB, free: 114.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/1.568, allocations: 325.5 kB / 0.6951 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/1.568, allocations: 44.45 kB / 0.6952 GB, free: 114.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/1.569, allocations: 326.7 kB / 0.6955 GB, free: 113.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.569, allocations: 105.5 kB / 0.6956 GB, free: 113.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.569, allocations: 7.844 kB / 0.6956 GB, free: 113.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007719/1.57, allocations: 340.8 kB / 0.6959 GB, free: 113.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.57, allocations: 7.812 kB / 0.6959 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.57, allocations: 11.78 kB / 0.6959 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/1.57, allocations: 16.47 kB / 0.6959 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/1.57, allocations: 94.2 kB / 0.696 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/1.57, allocations: 27.55 kB / 0.6961 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/1.571, allocations: 57.52 kB / 0.6961 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.571, allocations: 25.47 kB / 0.6961 GB, free: 113.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 0.0001258/1.571, allocations: 142.3 kB / 0.6963 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/1.571, allocations: 22.66 kB / 0.6963 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/1.571, allocations: 153.2 kB / 0.6964 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.572, allocations: 7.875 kB / 0.6964 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.572, allocations: 4 kB / 0.6964 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.572, allocations: 0 / 0.6964 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/1.572, allocations: 433.3 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.572, allocations: 3.938 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.572, allocations: 11.62 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/1.572, allocations: 4.125 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/1.572, allocations: 7.828 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.572, allocations: 3.938 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.572, allocations: 3.875 kB / 0.6969 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/1.573, allocations: 264.7 kB / 0.6971 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.573, allocations: 107.8 kB / 0.6973 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.573, allocations: 13.25 kB / 0.6973 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/1.573, allocations: 5.438 kB / 0.6973 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/1.573, allocations: 15.19 kB / 0.6973 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/1.573, allocations: 5.375 kB / 0.6973 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001548/1.573, allocations: 149.9 kB / 0.6974 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.573, allocations: 0 / 0.6974 GB, free: 112.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008175/1.574, allocations: 96.67 kB / 0.6975 GB, free: 112.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 9 * Array equations: 1 * 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.0007326/1.575, allocations: 1.126 MB / 0.6986 GB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/1.575, allocations: 149.2 kB / 0.6988 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.575, allocations: 2.438 kB / 0.6988 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/1.576, allocations: 29.8 kB / 0.6988 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/1.576, allocations: 43.14 kB / 0.6988 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.592, allocations: 4.783 MB / 0.7035 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/1.593, allocations: 0.7355 MB / 0.7042 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.593, allocations: 62.62 kB / 0.7043 GB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.593, allocations: 0 / 0.7043 GB, free: 108.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.463/4.056, allocations: 4.014 MB / 0.7082 GB, free: 106.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat