Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.375e-05, allocations: 0 / 299.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 54.86 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.308/2.707, allocations: 0.7335 GB / 1.08 GB, free: 143.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/2.707, allocations: 76 kB / 1.08 GB, free: 143.8 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1457/2.853, allocations: 38.87 MB / 1.118 GB, free: 129.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.853, allocations: 0 / 1.118 GB, free: 129.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/2.853, allocations: 4 kB / 1.118 GB, free: 129.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001088/2.854, allocations: 0.5121 MB / 1.118 GB, free: 129.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/2.854, allocations: 12.03 kB / 1.118 GB, free: 129.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/2.859, allocations: 366.9 kB / 1.118 GB, free: 129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/2.86, allocations: 258.4 kB / 1.119 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/2.86, allocations: 4 kB / 1.119 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/2.86, allocations: 12 kB / 1.119 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00117/2.861, allocations: 474.8 kB / 1.119 GB, free: 128.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/2.862, allocations: 309.7 kB / 1.119 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/2.862, allocations: 4 kB / 1.119 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/2.862, allocations: 0 / 1.119 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/2.862, allocations: 4 kB / 1.119 GB, free: 128.2 MB / 490.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.003169/2.865, allocations: 0.9473 MB / 1.12 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/2.866, allocations: 259 kB / 1.121 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/2.866, allocations: 130.3 kB / 1.121 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/2.868, allocations: 0.6579 MB / 1.121 GB, free: 126.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/2.868, allocations: 38.25 kB / 1.121 GB, free: 126.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.697e-06/2.868, allocations: 0 / 1.121 GB, free: 126.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009235/2.869, allocations: 262.6 kB / 1.122 GB, free: 126.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/2.869, allocations: 85.06 kB / 1.122 GB, free: 126 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/2.869, allocations: 100.8 kB / 1.122 GB, free: 125.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/2.869, allocations: 25.7 kB / 1.122 GB, free: 125.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/2.869, allocations: 115.9 kB / 1.122 GB, free: 125.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/2.869, allocations: 113.1 kB / 1.122 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/2.869, allocations: 0 / 1.122 GB, free: 125.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.25e-05/2.869, allocations: 325.6 kB / 1.122 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/2.869, allocations: 96.52 kB / 1.122 GB, free: 125.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/2.87, allocations: 186.6 kB / 1.123 GB, free: 125.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/2.87, allocations: 121 kB / 1.123 GB, free: 125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.87, allocations: 0 / 1.123 GB, free: 125 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008479/2.871, allocations: 325.4 kB / 1.123 GB, free: 124.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/2.871, allocations: 9.719 kB / 1.123 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/2.871, allocations: 0 / 1.123 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/2.871, allocations: 8 kB / 1.123 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/2.872, allocations: 75.33 kB / 1.123 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/2.872, allocations: 8.25 kB / 1.123 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/2.872, allocations: 35.62 kB / 1.123 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/2.872, allocations: 19.5 kB / 1.123 GB, free: 124.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001581/2.872, allocations: 108.9 kB / 1.123 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008117/2.873, allocations: 268.7 kB / 1.124 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/2.873, allocations: 15.81 kB / 1.124 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/2.874, allocations: 335.5 kB / 1.124 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/2.874, allocations: 4 kB / 1.124 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/2.874, allocations: 3.953 kB / 1.124 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/2.874, allocations: 3.938 kB / 1.124 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008554/2.875, allocations: 328.9 kB / 1.124 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.875, allocations: 3.938 kB / 1.124 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/2.876, allocations: 55.72 kB / 1.124 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/2.876, allocations: 0 / 1.124 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/2.876, allocations: 11.98 kB / 1.124 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/2.876, allocations: 4 kB / 1.124 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/2.876, allocations: 0 / 1.124 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/2.877, allocations: 0.5274 MB / 1.125 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/2.877, allocations: 92.86 kB / 1.125 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/2.877, allocations: 3.984 kB / 1.125 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/2.878, allocations: 12 kB / 1.125 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/2.878, allocations: 23.67 kB / 1.125 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/2.878, allocations: 19.36 kB / 1.125 GB, free: 123 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/2.878, allocations: 94.38 kB / 1.125 GB, free: 122.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.878, allocations: 0 / 1.125 GB, free: 122.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001355/2.879, allocations: 244.6 kB / 1.125 GB, free: 122.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0033/2.883, allocations: 1.855 MB / 1.127 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/2.883, allocations: 262.2 kB / 1.127 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/2.883, allocations: 0 / 1.127 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/2.884, allocations: 130.1 kB / 1.128 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009338/2.885, allocations: 79.55 kB / 1.128 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/2.887, allocations: 0.713 MB / 1.128 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/2.887, allocations: 0.7327 MB / 1.129 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008565/2.888, allocations: 86.19 kB / 1.129 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/2.888, allocations: 58.41 kB / 1.129 GB, free: 119 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/2.888, allocations: 4 kB / 1.129 GB, free: 119 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/2.95, allocations: 13 MB / 1.142 GB, free: 106 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/2.95, allocations: 132.5 kB / 1.142 GB, free: 105.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/5.973, allocations: 3.938 kB / 1.142 GB, free: 105.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat