Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.241e-05, allocations: 3.984 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3646, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.351/2.716, allocations: 0.7335 GB / 1.08 GB, free: 130.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/2.716, allocations: 67.78 kB / 1.08 GB, free: 130.6 MB / 490.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.1479/2.864, allocations: 38.87 MB / 1.118 GB, free: 98.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.864, allocations: 0 / 1.118 GB, free: 98.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/2.864, allocations: 4 kB / 1.118 GB, free: 98.4 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.0009905/2.865, allocations: 0.5006 MB / 1.118 GB, free: 97.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/2.865, allocations: 12.03 kB / 1.118 GB, free: 97.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/2.87, allocations: 367.7 kB / 1.119 GB, free: 97.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/2.871, allocations: 263.5 kB / 1.119 GB, free: 97.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/2.871, allocations: 8 kB / 1.119 GB, free: 97.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/2.871, allocations: 15.94 kB / 1.119 GB, free: 97.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/2.872, allocations: 473.7 kB / 1.119 GB, free: 96.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/2.873, allocations: 303.3 kB / 1.12 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/2.873, allocations: 7.938 kB / 1.12 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/2.873, allocations: 3.938 kB / 1.12 GB, free: 96.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/2.873, allocations: 8 kB / 1.12 GB, free: 96.7 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.003101/2.876, allocations: 0.9503 MB / 1.12 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/2.877, allocations: 264.3 kB / 1.121 GB, free: 95.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/2.877, allocations: 127.8 kB / 1.121 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/2.879, allocations: 0.6535 MB / 1.121 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/2.879, allocations: 34.12 kB / 1.122 GB, free: 94.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.337e-06/2.879, allocations: 0 / 1.122 GB, free: 94.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008824/2.88, allocations: 260.2 kB / 1.122 GB, free: 94.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/2.88, allocations: 85.31 kB / 1.122 GB, free: 94.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/2.88, allocations: 104.2 kB / 1.122 GB, free: 94.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/2.88, allocations: 25.7 kB / 1.122 GB, free: 94.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/2.88, allocations: 111.8 kB / 1.122 GB, free: 94.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/2.88, allocations: 109.5 kB / 1.122 GB, free: 94.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/2.88, allocations: 0 / 1.122 GB, free: 94.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/2.88, allocations: 322.5 kB / 1.122 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/2.88, allocations: 96.52 kB / 1.123 GB, free: 93.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/2.881, allocations: 189.3 kB / 1.123 GB, free: 93.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/2.881, allocations: 132.8 kB / 1.123 GB, free: 93.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.881, allocations: 0 / 1.123 GB, free: 93.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008526/2.882, allocations: 326.5 kB / 1.123 GB, free: 93.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/2.882, allocations: 8.312 kB / 1.123 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.882, allocations: 4 kB / 1.123 GB, free: 93.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/2.882, allocations: 8 kB / 1.123 GB, free: 93.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/2.883, allocations: 75.83 kB / 1.123 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/2.883, allocations: 4.312 kB / 1.123 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/2.883, allocations: 31.62 kB / 1.123 GB, free: 93.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/2.883, allocations: 19.69 kB / 1.123 GB, free: 93.15 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.0001319/2.884, allocations: 112.9 kB / 1.123 GB, free: 93.03 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007695/2.884, allocations: 271.9 kB / 1.124 GB, free: 92.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/2.884, allocations: 15.81 kB / 1.124 GB, free: 92.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/2.885, allocations: 337.9 kB / 1.124 GB, free: 92.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/2.886, allocations: 0 / 1.124 GB, free: 92.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.886, allocations: 7.953 kB / 1.124 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/2.886, allocations: 0 / 1.124 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/2.886, allocations: 322.5 kB / 1.124 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.886, allocations: 0 / 1.124 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/2.887, allocations: 55.91 kB / 1.124 GB, free: 92.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/2.887, allocations: 0 / 1.124 GB, free: 92.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/2.887, allocations: 11.92 kB / 1.124 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/2.887, allocations: 8 kB / 1.124 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.887, allocations: 0 / 1.124 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/2.888, allocations: 0.5205 MB / 1.125 GB, free: 91.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/2.888, allocations: 92.86 kB / 1.125 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/2.888, allocations: 7.922 kB / 1.125 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/2.889, allocations: 15.8 kB / 1.125 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/2.889, allocations: 15.94 kB / 1.125 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/2.889, allocations: 19.73 kB / 1.125 GB, free: 91.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/2.889, allocations: 91.08 kB / 1.125 GB, free: 91.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.889, allocations: 4 kB / 1.125 GB, free: 91.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001273/2.891, allocations: 249.3 kB / 1.125 GB, free: 91.25 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.003141/2.894, allocations: 1.877 MB / 1.127 GB, free: 89.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006353/2.894, allocations: 250.6 kB / 1.127 GB, free: 89.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.894, allocations: 0 / 1.127 GB, free: 89.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/2.895, allocations: 133.8 kB / 1.128 GB, free: 89.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/2.896, allocations: 74.55 kB / 1.128 GB, free: 89.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/2.898, allocations: 0.7156 MB / 1.128 GB, free: 88.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/2.898, allocations: 0.7389 MB / 1.129 GB, free: 87.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008868/2.899, allocations: 77.97 kB / 1.129 GB, free: 87.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/2.899, allocations: 67.59 kB / 1.129 GB, free: 87.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.899, allocations: 0 / 1.129 GB, free: 87.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/2.965, allocations: 12.99 MB / 1.142 GB, free: 74.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002736/2.965, allocations: 141 kB / 1.142 GB, free: 74.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.128/6.093, allocations: 0 / 1.142 GB, free: 74.39 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat