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.945/1.945, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.132e-05, allocations: 0 / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 48.69 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.78/19.88, allocations: 6.529 GB / 6.838 GB, free: 99.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/19.88, allocations: 77.2 kB / 6.838 GB, free: 99.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276/21.16, allocations: 242.2 MB / 7.075 GB, free: 65.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.684e-06/21.16, allocations: 0 / 7.075 GB, free: 65.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/21.16, allocations: 2.875 kB / 7.075 GB, free: 65.99 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.009835/21.17, allocations: 1.891 MB / 7.076 GB, free: 64.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/21.17, allocations: 7.625 kB / 7.076 GB, free: 64.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/21.17, allocations: 34.48 kB / 7.076 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/21.17, allocations: 252.2 kB / 7.077 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/21.17, allocations: 7.938 kB / 7.077 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/21.17, allocations: 15.41 kB / 7.077 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/21.17, allocations: 0.8279 MB / 7.078 GB, free: 64.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/21.17, allocations: 448.5 kB / 7.078 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/21.17, allocations: 3.938 kB / 7.078 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/21.17, allocations: 0 / 7.078 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/21.17, allocations: 24.17 kB / 7.078 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/21.17, allocations: 3.819 MB / 7.082 GB, free: 60.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/21.18, allocations: 111.6 kB / 7.082 GB, free: 60.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/21.18, allocations: 47.92 kB / 7.082 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01766/21.19, allocations: 11.68 MB / 7.093 GB, free: 47.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/21.19, allocations: 120.8 kB / 7.093 GB, free: 47.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 2.795e-06/21.19, allocations: 0 / 7.093 GB, free: 47.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.001817/21.2, allocations: 309.2 kB / 7.094 GB, free: 47.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/21.2, allocations: 51.41 kB / 7.094 GB, free: 47.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/21.2, allocations: 230.1 kB / 7.094 GB, free: 46.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/21.2, allocations: 29.7 kB / 7.094 GB, free: 46.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/21.2, allocations: 315.8 kB / 7.094 GB, free: 46.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/21.2, allocations: 66.58 kB / 7.094 GB, free: 46.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/21.2, allocations: 0 / 7.094 GB, free: 46.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/21.2, allocations: 334.6 kB / 7.095 GB, free: 46.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/21.2, allocations: 72.81 kB / 7.095 GB, free: 46.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/21.2, allocations: 343.6 kB / 7.095 GB, free: 45.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/21.2, allocations: 232.6 kB / 7.095 GB, free: 45.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/21.2, allocations: 7.75 kB / 7.095 GB, free: 45.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002239/21.2, allocations: 0.504 MB / 7.096 GB, free: 45.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/21.2, allocations: 8 kB / 7.096 GB, free: 45.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/21.2, allocations: 12 kB / 7.096 GB, free: 45.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/21.2, allocations: 15.95 kB / 7.096 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/21.2, allocations: 176.9 kB / 7.096 GB, free: 44.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006441/21.2, allocations: 1.205 MB / 7.097 GB, free: 43.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/21.2, allocations: 12.11 kB / 7.097 GB, free: 43.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/21.2, allocations: 51.25 kB / 7.097 GB, free: 43.62 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $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: 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.0002011/21.2, allocations: 145 kB / 7.097 GB, free: 43.47 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006915/21.2, allocations: 159.8 kB / 7.098 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/21.2, allocations: 23.72 kB / 7.098 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/21.2, allocations: 215.7 kB / 7.098 GB, free: 43.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/21.2, allocations: 7.938 kB / 7.098 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/21.2, allocations: 0 / 7.098 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/21.2, allocations: 0 / 7.098 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/21.21, allocations: 0.5036 MB / 7.098 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/21.21, allocations: 0 / 7.098 GB, free: 42.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/21.21, allocations: 86.52 kB / 7.098 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/21.21, allocations: 0 / 7.098 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/21.21, allocations: 4 kB / 7.098 GB, free: 42.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005746/21.21, allocations: 1.194 MB / 7.1 GB, free: 41.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/21.21, allocations: 0 / 7.1 GB, free: 41.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/21.21, allocations: 286.8 kB / 7.1 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/21.21, allocations: 139.9 kB / 7.1 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/21.21, allocations: 0 / 7.1 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/21.21, allocations: 15.66 kB / 7.1 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/21.21, allocations: 7.609 kB / 7.1 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/21.21, allocations: 15.75 kB / 7.1 GB, free: 40.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001791/21.21, allocations: 155.9 kB / 7.1 GB, free: 40.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.21, allocations: 0 / 7.1 GB, free: 40.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009182/21.22, allocations: 1.918 MB / 7.102 GB, free: 38.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 18 * 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.01806/21.24, allocations: 3.559 MB / 7.105 GB, free: 35.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/21.24, allocations: 265.8 kB / 7.106 GB, free: 35.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/21.24, allocations: 0 / 7.106 GB, free: 35.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/21.24, allocations: 99.58 kB / 7.106 GB, free: 35.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/21.24, allocations: 39.81 kB / 7.106 GB, free: 35.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.384/22.62, allocations: 228.7 MB / 7.329 GB, free: 61.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/22.62, allocations: 0.7568 MB / 7.33 GB, free: 60.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/22.62, allocations: 104.5 kB / 7.33 GB, free: 60.38 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/22.62, allocations: 0 / 7.33 GB, free: 60.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.189/26.81, allocations: 49.08 MB / 7.378 GB, free: 54.12 MB / 442.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