Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.4 MB / 216.9 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.79e-05, allocations: 4 kB / 267.6 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 48.7 MB / 316.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/1.994, allocations: 0.6355 GB / 0.9444 GB, free: 19.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.995, allocations: 82.83 kB / 0.9445 GB, free: 19.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6257/2.62, allocations: 108.4 MB / 1.05 GB, free: 88.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/2.62, allocations: 4 kB / 1.05 GB, free: 88.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/2.62, allocations: 2.719 kB / 1.05 GB, free: 88.36 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003848/2.624, allocations: 1.048 MB / 1.051 GB, free: 87.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/2.624, allocations: 8.031 kB / 1.051 GB, free: 87.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/2.625, allocations: 79.66 kB / 1.052 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/2.626, allocations: 258.6 kB / 1.052 GB, free: 86.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/2.626, allocations: 8 kB / 1.052 GB, free: 86.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/2.626, allocations: 16 kB / 1.052 GB, free: 86.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009078/2.627, allocations: 0.5788 MB / 1.052 GB, free: 86.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/2.627, allocations: 352.5 kB / 1.053 GB, free: 85.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/2.627, allocations: 3.938 kB / 1.053 GB, free: 85.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/2.627, allocations: 0 / 1.053 GB, free: 85.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.627, allocations: 8 kB / 1.053 GB, free: 85.9 MB / 426.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.07676/2.704, allocations: 27.76 MB / 1.08 GB, free: 55.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/2.704, allocations: 70.59 kB / 1.08 GB, free: 55.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/2.704, allocations: 32.86 kB / 1.08 GB, free: 55.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02569/2.73, allocations: 6.444 MB / 1.086 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/2.73, allocations: 95.31 kB / 1.086 GB, free: 48.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.945e-06/2.73, allocations: 0 / 1.086 GB, free: 48.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.002496/2.733, allocations: 426.1 kB / 1.087 GB, free: 48.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/2.733, allocations: 51.41 kB / 1.087 GB, free: 48.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/2.733, allocations: 192.4 kB / 1.087 GB, free: 47.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/2.733, allocations: 25.7 kB / 1.087 GB, free: 47.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/2.733, allocations: 308.9 kB / 1.087 GB, free: 47.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/2.733, allocations: 55.28 kB / 1.087 GB, free: 47.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/2.733, allocations: 0 / 1.087 GB, free: 47.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/2.734, allocations: 326.8 kB / 1.088 GB, free: 47.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/2.734, allocations: 57.11 kB / 1.088 GB, free: 47.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/2.734, allocations: 322.2 kB / 1.088 GB, free: 46.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/2.735, allocations: 195.7 kB / 1.088 GB, free: 46.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/2.735, allocations: 7.938 kB / 1.088 GB, free: 46.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001808/2.737, allocations: 451.3 kB / 1.089 GB, free: 45.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/2.737, allocations: 15.95 kB / 1.089 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/2.737, allocations: 8.094 kB / 1.089 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/2.737, allocations: 53.58 kB / 1.089 GB, free: 45.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/2.738, allocations: 103.8 kB / 1.089 GB, free: 45.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/2.739, allocations: 1.258 MB / 1.09 GB, free: 44.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/2.739, allocations: 11.95 kB / 1.09 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/2.739, allocations: 35.98 kB / 1.09 GB, free: 44.45 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/2.74, allocations: 125.1 kB / 1.09 GB, free: 44.32 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007985/2.74, allocations: 203.1 kB / 1.09 GB, free: 44.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/2.74, allocations: 23.72 kB / 1.09 GB, free: 44.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/2.741, allocations: 392.8 kB / 1.091 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/2.741, allocations: 11.94 kB / 1.091 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.741, allocations: 0 / 1.091 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/2.741, allocations: 0 / 1.091 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/2.742, allocations: 321.8 kB / 1.091 GB, free: 43.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/2.742, allocations: 4 kB / 1.091 GB, free: 43.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/2.742, allocations: 23.92 kB / 1.091 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/2.742, allocations: 49.7 kB / 1.091 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/2.742, allocations: 11.98 kB / 1.091 GB, free: 43.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007769/2.743, allocations: 1.289 MB / 1.092 GB, free: 41.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.743, allocations: 0 / 1.092 GB, free: 41.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/2.744, allocations: 330.7 kB / 1.093 GB, free: 41.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/2.744, allocations: 116.7 kB / 1.093 GB, free: 41.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/2.744, allocations: 0 / 1.093 GB, free: 41.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/2.744, allocations: 8 kB / 1.093 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/2.744, allocations: 7.984 kB / 1.093 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/2.744, allocations: 8 kB / 1.093 GB, free: 41.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001589/2.744, allocations: 162 kB / 1.093 GB, free: 41.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.744, allocations: 4 kB / 1.093 GB, free: 41.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001825/2.746, allocations: 379.5 kB / 1.093 GB, free: 40.87 MB / 426.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003604/2.75, allocations: 1.486 MB / 1.095 GB, free: 39.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007008/2.751, allocations: 275.8 kB / 1.095 GB, free: 39.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/2.751, allocations: 64 / 1.095 GB, free: 39.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/2.751, allocations: 160.1 kB / 1.095 GB, free: 38.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/2.751, allocations: 29.33 kB / 1.095 GB, free: 38.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4705/3.222, allocations: 77.05 MB / 1.171 GB, free: 94.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/3.222, allocations: 0.7621 MB / 1.171 GB, free: 93.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/3.222, allocations: 85.61 kB / 1.171 GB, free: 93.84 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/3.222, allocations: 0 / 1.171 GB, free: 93.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.863/6.085, allocations: 11.89 MB / 1.183 GB, free: 92.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat