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.394/2.394, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.001e-05/5.01e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.266/2.683, allocations: 0.7342 GB / 1.086 GB, free: 142.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/2.683, allocations: 67.59 kB / 1.086 GB, free: 142.7 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.1447/2.828, allocations: 39.58 MB / 1.124 GB, free: 136.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/2.828, allocations: 7.906 kB / 1.124 GB, free: 136.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/2.828, allocations: 0 / 1.124 GB, free: 136.5 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.001021/2.829, allocations: 0.5113 MB / 1.125 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/2.829, allocations: 7.812 kB / 1.125 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.636e-05/2.829, allocations: 53.42 kB / 1.125 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/2.834, allocations: 368.8 kB / 1.125 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/2.835, allocations: 260.8 kB / 1.125 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/2.835, allocations: 11.97 kB / 1.125 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/2.835, allocations: 19.38 kB / 1.126 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/2.836, allocations: 462.6 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/2.836, allocations: 3.938 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/2.836, allocations: 7.656 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/2.836, allocations: 3.906 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/2.837, allocations: 486.9 kB / 1.126 GB, free: 135.4 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.003048/2.84, allocations: 0.9927 MB / 1.127 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/2.841, allocations: 273.1 kB / 1.128 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/2.841, allocations: 141.1 kB / 1.128 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/2.843, allocations: 0.6634 MB / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/2.843, allocations: 38.19 kB / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.975e-06/2.843, allocations: 0 / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008463/2.844, allocations: 277.1 kB / 1.129 GB, free: 133.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/2.844, allocations: 80.98 kB / 1.129 GB, free: 133.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/2.844, allocations: 104.6 kB / 1.129 GB, free: 133.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/2.844, allocations: 29.45 kB / 1.129 GB, free: 133.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/2.844, allocations: 122.9 kB / 1.129 GB, free: 133.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/2.844, allocations: 104.3 kB / 1.129 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/2.844, allocations: 3.438 kB / 1.129 GB, free: 133.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/2.844, allocations: 325.6 kB / 1.129 GB, free: 133.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/2.845, allocations: 106.3 kB / 1.13 GB, free: 133.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/2.845, allocations: 186.7 kB / 1.13 GB, free: 133.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/2.845, allocations: 131.8 kB / 1.13 GB, free: 133.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/2.845, allocations: 0 / 1.13 GB, free: 133.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008412/2.846, allocations: 348 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/2.846, allocations: 11.33 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/2.846, allocations: 3.75 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/2.846, allocations: 3.625 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/2.847, allocations: 79.64 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/2.847, allocations: 3.875 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/2.847, allocations: 35.11 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/2.848, allocations: 19 kB / 1.13 GB, free: 132.9 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.0001345/2.848, allocations: 123.5 kB / 1.13 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/2.848, allocations: 11.56 kB / 1.131 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/2.849, allocations: 363.7 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/2.849, allocations: 3.875 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/2.849, allocations: 3.906 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.849, allocations: 4 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/2.85, allocations: 361.8 kB / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.85, allocations: 3.938 kB / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/2.85, allocations: 61.5 kB / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/2.851, allocations: 0 / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/2.851, allocations: 19.44 kB / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/2.851, allocations: 3.875 kB / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/2.851, allocations: 0 / 1.131 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/2.852, allocations: 0.5377 MB / 1.132 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/2.852, allocations: 104.5 kB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/2.852, allocations: 3.625 kB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/2.852, allocations: 22.67 kB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/2.852, allocations: 14.8 kB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/2.852, allocations: 15.02 kB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.493e-05/2.853, allocations: 98.69 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.853, allocations: 0 / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001427/2.854, allocations: 263.6 kB / 1.132 GB, free: 131.8 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.003174/2.857, allocations: 1.795 MB / 1.134 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/2.858, allocations: 273.7 kB / 1.134 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.858, allocations: 0 / 1.134 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/2.858, allocations: 141.2 kB / 1.134 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/2.859, allocations: 77.55 kB / 1.135 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/2.861, allocations: 0.7603 MB / 1.135 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/2.862, allocations: 0.7366 MB / 1.136 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008363/2.862, allocations: 84.73 kB / 1.136 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/2.863, allocations: 56.42 kB / 1.136 GB, free: 129.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/2.863, allocations: 0 / 1.136 GB, free: 129.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06842/2.931, allocations: 19.39 MB / 1.155 GB, free: 113.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/2.932, allocations: 158.8 kB / 1.155 GB, free: 113.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/6.301, allocations: 4 kB / 1.155 GB, free: 113.1 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