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.699/2.699, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.686e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4044, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.566/2.971, allocations: 0.7335 GB / 1.08 GB, free: 69.85 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/2.971, allocations: 75.34 kB / 1.08 GB, free: 69.81 MB / 474.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.167/3.138, allocations: 38.99 MB / 1.118 GB, free: 37.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.764e-06/3.138, allocations: 0 / 1.118 GB, free: 37.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/3.138, allocations: 10.17 kB / 1.118 GB, free: 37.47 MB / 474.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.001051/3.139, allocations: 0.4975 MB / 1.118 GB, free: 36.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/3.139, allocations: 12.03 kB / 1.118 GB, free: 36.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/3.139, allocations: 47.36 kB / 1.118 GB, free: 36.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/3.145, allocations: 369.4 kB / 1.119 GB, free: 36.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/3.146, allocations: 259.1 kB / 1.119 GB, free: 36.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/3.146, allocations: 8.312 kB / 1.119 GB, free: 36.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/3.146, allocations: 14.25 kB / 1.119 GB, free: 36.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/3.148, allocations: 474.7 kB / 1.119 GB, free: 35.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/3.148, allocations: 309 kB / 1.12 GB, free: 35.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/3.149, allocations: 4 kB / 1.12 GB, free: 35.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/3.149, allocations: 0 / 1.12 GB, free: 35.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/3.149, allocations: 4 kB / 1.12 GB, free: 35.73 MB / 474.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.003649/3.152, allocations: 0.9597 MB / 1.121 GB, free: 34.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/3.153, allocations: 256.3 kB / 1.121 GB, free: 34.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/3.153, allocations: 134.9 kB / 1.121 GB, free: 34.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/3.155, allocations: 0.6539 MB / 1.122 GB, free: 33.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/3.155, allocations: 42.62 kB / 1.122 GB, free: 33.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.767e-06/3.155, allocations: 0 / 1.122 GB, free: 33.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.001063/3.156, allocations: 266.9 kB / 1.122 GB, free: 33.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/3.156, allocations: 81.36 kB / 1.122 GB, free: 33.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/3.157, allocations: 100.4 kB / 1.122 GB, free: 33.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/3.157, allocations: 29.7 kB / 1.122 GB, free: 33.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/3.157, allocations: 115.1 kB / 1.122 GB, free: 33.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/3.157, allocations: 102.5 kB / 1.122 GB, free: 33.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/3.157, allocations: 0 / 1.122 GB, free: 33.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/3.157, allocations: 328.2 kB / 1.123 GB, free: 32.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/3.157, allocations: 101.9 kB / 1.123 GB, free: 32.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/3.158, allocations: 177 kB / 1.123 GB, free: 32.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/3.158, allocations: 131.8 kB / 1.123 GB, free: 32.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/3.158, allocations: 4 kB / 1.123 GB, free: 32.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001092/3.159, allocations: 325.2 kB / 1.123 GB, free: 32.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/3.159, allocations: 4 kB / 1.123 GB, free: 32.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/3.159, allocations: 4 kB / 1.123 GB, free: 32.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/3.159, allocations: 4 kB / 1.123 GB, free: 32.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/3.16, allocations: 74.45 kB / 1.123 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/3.16, allocations: 4 kB / 1.123 GB, free: 32.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/3.161, allocations: 35.62 kB / 1.123 GB, free: 32.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/3.161, allocations: 18.72 kB / 1.123 GB, free: 32.17 MB / 474.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.0001575/3.161, allocations: 115.5 kB / 1.124 GB, free: 32.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/3.161, allocations: 15.89 kB / 1.124 GB, free: 32.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/3.162, allocations: 331.8 kB / 1.124 GB, free: 31.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/3.162, allocations: 7.938 kB / 1.124 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/3.162, allocations: 4 kB / 1.124 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/3.163, allocations: 3.938 kB / 1.124 GB, free: 31.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/3.164, allocations: 323.4 kB / 1.124 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/3.164, allocations: 0 / 1.124 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/3.164, allocations: 55.97 kB / 1.124 GB, free: 31.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/3.164, allocations: 4 kB / 1.124 GB, free: 31.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/3.164, allocations: 7.984 kB / 1.124 GB, free: 31.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/3.164, allocations: 0 / 1.124 GB, free: 31.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/3.164, allocations: 3.938 kB / 1.124 GB, free: 31.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/3.166, allocations: 0.5247 MB / 1.125 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/3.166, allocations: 92.94 kB / 1.125 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/3.166, allocations: 8 kB / 1.125 GB, free: 30.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/3.166, allocations: 15.83 kB / 1.125 GB, free: 30.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/3.167, allocations: 15.98 kB / 1.125 GB, free: 30.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/3.167, allocations: 24 kB / 1.125 GB, free: 30.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.875e-05/3.167, allocations: 91.27 kB / 1.125 GB, free: 30.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.62e-07/3.167, allocations: 0 / 1.125 GB, free: 30.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001407/3.168, allocations: 247.8 kB / 1.125 GB, free: 30.3 MB / 474.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.003566/3.172, allocations: 1.855 MB / 1.127 GB, free: 28.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007426/3.172, allocations: 259.8 kB / 1.127 GB, free: 28.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/3.173, allocations: 4 kB / 1.127 GB, free: 28.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/3.173, allocations: 131.8 kB / 1.128 GB, free: 28.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/3.174, allocations: 80.44 kB / 1.128 GB, free: 27.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/3.176, allocations: 0.7263 MB / 1.128 GB, free: 27.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/3.176, allocations: 0.7366 MB / 1.129 GB, free: 26.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001019/3.178, allocations: 81.91 kB / 1.129 GB, free: 26.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/3.178, allocations: 63.41 kB / 1.129 GB, free: 26.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/3.178, allocations: 0 / 1.129 GB, free: 26.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/3.265, allocations: 13.07 MB / 1.142 GB, free: 13.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002551/3.265, allocations: 149 kB / 1.142 GB, free: 13.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.879/7.144, allocations: 0 / 1.142 GB, free: 13.04 MB / 474.7 MB