Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.835e-05/3.842e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4274, allocations: 54.85 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.362/2.789, allocations: 0.7342 GB / 1.086 GB, free: 142.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/2.79, allocations: 73.2 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.1436/2.933, allocations: 39.58 MB / 1.124 GB, free: 136.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.933, allocations: 3.172 kB / 1.124 GB, free: 136.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/2.933, allocations: 3.906 kB / 1.124 GB, free: 136.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.001169/2.935, allocations: 0.5069 MB / 1.125 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/2.935, allocations: 11.81 kB / 1.125 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/2.935, allocations: 52.98 kB / 1.125 GB, free: 135.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/2.94, allocations: 367 kB / 1.125 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/2.94, allocations: 261.5 kB / 1.125 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/2.94, allocations: 15.69 kB / 1.125 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/2.941, allocations: 18.88 kB / 1.125 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/2.942, allocations: 453.9 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/2.942, allocations: 3.938 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/2.942, allocations: 11.22 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/2.942, allocations: 7.891 kB / 1.126 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/2.943, allocations: 483.7 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.003362/2.947, allocations: 1 MB / 1.127 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/2.947, allocations: 265.6 kB / 1.128 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/2.948, allocations: 138.4 kB / 1.128 GB, free: 134.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/2.949, allocations: 0.6645 MB / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/2.949, allocations: 41.69 kB / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.777e-06/2.949, allocations: 0 / 1.128 GB, free: 134 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009178/2.95, allocations: 276.4 kB / 1.129 GB, free: 133.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/2.95, allocations: 84.98 kB / 1.129 GB, free: 133.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/2.951, allocations: 104.4 kB / 1.129 GB, free: 133.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/2.951, allocations: 29.45 kB / 1.129 GB, free: 133.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/2.951, allocations: 186.1 kB / 1.129 GB, free: 133.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/2.951, allocations: 103.8 kB / 1.129 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/2.951, allocations: 6.75 kB / 1.129 GB, free: 133.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/2.951, allocations: 326.6 kB / 1.13 GB, free: 133.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/2.951, allocations: 104.3 kB / 1.13 GB, free: 133.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/2.952, allocations: 181.8 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/2.952, allocations: 138.8 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/2.952, allocations: 4 kB / 1.13 GB, free: 133 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008776/2.953, allocations: 345.4 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/2.953, allocations: 13.3 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/2.953, allocations: 3.875 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/2.953, allocations: 3.781 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/2.954, allocations: 80.48 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/2.954, allocations: 4.188 kB / 1.13 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/2.954, allocations: 38.3 kB / 1.13 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/2.954, allocations: 18 kB / 1.13 GB, free: 132.8 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.0001573/2.954, allocations: 123.4 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/2.955, allocations: 11.03 kB / 1.131 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/2.956, allocations: 365.6 kB / 1.131 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/2.956, allocations: 3.688 kB / 1.131 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.956, allocations: 0 / 1.131 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/2.956, allocations: 0 / 1.131 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/2.957, allocations: 369.9 kB / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.957, allocations: 0 / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/2.957, allocations: 58.39 kB / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/2.957, allocations: 0 / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/2.957, allocations: 19.02 kB / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/2.957, allocations: 4 kB / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/2.957, allocations: 0 / 1.131 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/2.958, allocations: 0.54 MB / 1.132 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/2.958, allocations: 92.78 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/2.959, allocations: 7.469 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/2.959, allocations: 26.95 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/2.959, allocations: 22.86 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/2.959, allocations: 18.8 kB / 1.132 GB, free: 131.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.6e-05/2.959, allocations: 90.83 kB / 1.132 GB, free: 131.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.959, allocations: 0 / 1.132 GB, free: 131.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001447/2.961, allocations: 261.9 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.003285/2.964, allocations: 1.798 MB / 1.134 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/2.965, allocations: 271.2 kB / 1.134 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/2.965, allocations: 4.5 kB / 1.134 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/2.965, allocations: 139.7 kB / 1.135 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/2.966, allocations: 79.05 kB / 1.135 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/2.968, allocations: 0.7865 MB / 1.135 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/2.969, allocations: 0.7388 MB / 1.136 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/2.969, allocations: 62.84 kB / 1.136 GB, free: 129.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/2.969, allocations: 4 kB / 1.136 GB, free: 129.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/5.967, allocations: 9.858 MB / 1.146 GB, free: 122.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat