Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.994e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.56/19.67, allocations: 6.53 GB / 6.844 GB, free: 11.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/19.67, allocations: 79.39 kB / 6.844 GB, free: 11.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582/21.25, allocations: 245.4 MB / 7.084 GB, free: 59.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/21.25, allocations: 2.344 kB / 7.084 GB, free: 59.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/21.25, allocations: 3.781 kB / 7.084 GB, free: 59.12 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009819/21.26, allocations: 1.893 MB / 7.085 GB, free: 57.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/21.26, allocations: 10.5 kB / 7.085 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/21.26, allocations: 66.05 kB / 7.086 GB, free: 57.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/21.26, allocations: 30.27 kB / 7.086 GB, free: 57.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/21.26, allocations: 248.7 kB / 7.086 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/21.26, allocations: 19.62 kB / 7.086 GB, free: 57.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/21.26, allocations: 29.16 kB / 7.086 GB, free: 57.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/21.26, allocations: 490.4 kB / 7.086 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/21.26, allocations: 5.016 kB / 7.086 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/21.26, allocations: 17.69 kB / 7.086 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/21.26, allocations: 25.33 kB / 7.086 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/21.26, allocations: 0.8683 MB / 7.087 GB, free: 57.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/21.27, allocations: 1.752 MB / 7.089 GB, free: 56.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/21.27, allocations: 323.6 kB / 7.089 GB, free: 56.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/21.27, allocations: 104.7 kB / 7.089 GB, free: 56.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/21.29, allocations: 12.94 MB / 7.102 GB, free: 43.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/21.29, allocations: 229.6 kB / 7.102 GB, free: 43.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.639e-06/21.29, allocations: 3.938 kB / 7.102 GB, free: 43.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003023/21.29, allocations: 0.7075 MB / 7.103 GB, free: 43.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/21.29, allocations: 274 kB / 7.103 GB, free: 42.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/21.29, allocations: 181.4 kB / 7.103 GB, free: 42.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/21.29, allocations: 31.73 kB / 7.103 GB, free: 42.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/21.29, allocations: 267.1 kB / 7.104 GB, free: 42.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/21.29, allocations: 122.4 kB / 7.104 GB, free: 42.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/21.29, allocations: 10.03 kB / 7.104 GB, free: 42.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/21.29, allocations: 330.9 kB / 7.104 GB, free: 42.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/21.29, allocations: 91.72 kB / 7.104 GB, free: 42.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/21.29, allocations: 356.6 kB / 7.104 GB, free: 41.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/21.29, allocations: 150.5 kB / 7.105 GB, free: 41.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/21.29, allocations: 3.094 kB / 7.105 GB, free: 41.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001645/21.29, allocations: 458.6 kB / 7.105 GB, free: 41.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/21.29, allocations: 9.094 kB / 7.105 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/21.29, allocations: 12.31 kB / 7.105 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/21.29, allocations: 14.62 kB / 7.105 GB, free: 41.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/21.29, allocations: 177.5 kB / 7.105 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005503/21.3, allocations: 1.19 MB / 7.106 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/21.3, allocations: 28.94 kB / 7.106 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/21.3, allocations: 44.67 kB / 7.106 GB, free: 40.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/21.3, allocations: 151.9 kB / 7.107 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/21.3, allocations: 29.25 kB / 7.107 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/21.3, allocations: 0.5095 MB / 7.107 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/21.3, allocations: 0 / 7.107 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/21.3, allocations: 3.625 kB / 7.107 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/21.3, allocations: 6.5 kB / 7.107 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/21.3, allocations: 0.565 MB / 7.108 GB, free: 39.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/21.3, allocations: 3.984 kB / 7.108 GB, free: 39.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/21.3, allocations: 87.25 kB / 7.108 GB, free: 39.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/21.3, allocations: 7.438 kB / 7.108 GB, free: 39.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/21.3, allocations: 7.75 kB / 7.108 GB, free: 39.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004474/21.3, allocations: 1.166 MB / 7.109 GB, free: 38.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/21.3, allocations: 3.938 kB / 7.109 GB, free: 38.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007941/21.3, allocations: 316.7 kB / 7.109 GB, free: 38.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/21.3, allocations: 139 kB / 7.109 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/21.3, allocations: 11.16 kB / 7.109 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/21.3, allocations: 11.14 kB / 7.109 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/21.3, allocations: 17.03 kB / 7.109 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/21.3, allocations: 14.2 kB / 7.109 GB, free: 38.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002346/21.3, allocations: 168.9 kB / 7.11 GB, free: 38.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/21.3, allocations: 0 / 7.11 GB, free: 38.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01002/21.31, allocations: 1.937 MB / 7.111 GB, free: 37.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 19 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0178/21.33, allocations: 3.695 MB / 7.115 GB, free: 36.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/21.33, allocations: 288.9 kB / 7.115 GB, free: 36.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/21.33, allocations: 0 / 7.115 GB, free: 36.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/21.33, allocations: 105.7 kB / 7.115 GB, free: 36.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/21.33, allocations: 48.3 kB / 7.116 GB, free: 36.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.401/22.73, allocations: 271.3 MB / 7.38 GB, free: 67.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/22.73, allocations: 0.7583 MB / 7.381 GB, free: 66.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/22.74, allocations: 113.6 kB / 7.381 GB, free: 66.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/22.74, allocations: 0 / 7.381 GB, free: 66.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.174/26.91, allocations: 47.95 MB / 7.428 GB, free: 60.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat