Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.384e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3524, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.38/2.733, allocations: 0.7588 GB / 1.105 GB, free: 103 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/2.733, allocations: 75.08 kB / 1.105 GB, free: 103 MB / 490.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.2272/2.96, allocations: 60.86 MB / 1.164 GB, free: 49.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.96, allocations: 0 / 1.164 GB, free: 49.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/2.96, allocations: 8 kB / 1.164 GB, free: 49.75 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007871/2.961, allocations: 474.7 kB / 1.165 GB, free: 49.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/2.961, allocations: 8.031 kB / 1.165 GB, free: 49.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/2.971, allocations: 0.7058 MB / 1.166 GB, free: 48.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/2.972, allocations: 278.7 kB / 1.166 GB, free: 48.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/2.972, allocations: 8 kB / 1.166 GB, free: 48.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/2.972, allocations: 15.98 kB / 1.166 GB, free: 48.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/2.974, allocations: 0.6484 MB / 1.167 GB, free: 47.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/2.975, allocations: 412.4 kB / 1.167 GB, free: 47.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/2.975, allocations: 4 kB / 1.167 GB, free: 47.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/2.975, allocations: 0 / 1.167 GB, free: 47.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/2.975, allocations: 11.94 kB / 1.167 GB, free: 47.11 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.004655/2.98, allocations: 1.334 MB / 1.168 GB, free: 45.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/2.98, allocations: 321 kB / 1.169 GB, free: 45.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/2.981, allocations: 221.7 kB / 1.169 GB, free: 45.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008236/2.982, allocations: 254.1 kB / 1.169 GB, free: 44.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/2.982, allocations: 34.91 kB / 1.169 GB, free: 44.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.534e-06/2.982, allocations: 0 / 1.169 GB, free: 44.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001272/2.983, allocations: 443.5 kB / 1.169 GB, free: 44.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/2.983, allocations: 85.11 kB / 1.17 GB, free: 44.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/2.983, allocations: 121.3 kB / 1.17 GB, free: 44.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/2.983, allocations: 25.7 kB / 1.17 GB, free: 44.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/2.983, allocations: 112.5 kB / 1.17 GB, free: 44.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.983, allocations: 106.5 kB / 1.17 GB, free: 43.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/2.983, allocations: 0 / 1.17 GB, free: 43.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/2.983, allocations: 322.8 kB / 1.17 GB, free: 43.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/2.984, allocations: 199.9 kB / 1.17 GB, free: 43.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/2.984, allocations: 292.8 kB / 1.171 GB, free: 43.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/2.985, allocations: 231.9 kB / 1.171 GB, free: 42.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.985, allocations: 0 / 1.171 GB, free: 42.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001377/2.986, allocations: 0.5225 MB / 1.171 GB, free: 42.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.986, allocations: 8 kB / 1.171 GB, free: 42.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/2.986, allocations: 3.984 kB / 1.171 GB, free: 42.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/2.987, allocations: 11.94 kB / 1.171 GB, free: 42.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/2.988, allocations: 91.81 kB / 1.171 GB, free: 42.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/2.988, allocations: 4.406 kB / 1.171 GB, free: 42.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/2.988, allocations: 43.62 kB / 1.172 GB, free: 42.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/2.989, allocations: 23.98 kB / 1.172 GB, free: 42.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001648/2.989, allocations: 108.9 kB / 1.172 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00119/2.99, allocations: 445.2 kB / 1.172 GB, free: 41.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.99, allocations: 11.91 kB / 1.172 GB, free: 41.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/2.992, allocations: 0.535 MB / 1.173 GB, free: 41.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/2.992, allocations: 4 kB / 1.173 GB, free: 41.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.992, allocations: 0 / 1.173 GB, free: 41.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/2.992, allocations: 7.922 kB / 1.173 GB, free: 41.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/2.993, allocations: 0.4952 MB / 1.173 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/2.993, allocations: 0 / 1.173 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/2.994, allocations: 67.88 kB / 1.173 GB, free: 40.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/2.994, allocations: 8 kB / 1.173 GB, free: 40.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/2.994, allocations: 7.984 kB / 1.173 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/2.994, allocations: 0 / 1.173 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.994, allocations: 4 kB / 1.173 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/2.996, allocations: 0.7303 MB / 1.174 GB, free: 39.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/2.996, allocations: 92.86 kB / 1.174 GB, free: 39.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/2.996, allocations: 8 kB / 1.174 GB, free: 39.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009141/2.997, allocations: 19.97 kB / 1.174 GB, free: 39.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/2.997, allocations: 15.92 kB / 1.174 GB, free: 39.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/2.997, allocations: 27.92 kB / 1.174 GB, free: 39.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/2.997, allocations: 103.3 kB / 1.174 GB, free: 39.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.997, allocations: 0 / 1.174 GB, free: 39.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001134/2.998, allocations: 188 kB / 1.174 GB, free: 39.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.003392/3.001, allocations: 2.07 MB / 1.176 GB, free: 37.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/3.003, allocations: 474.9 kB / 1.177 GB, free: 36.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/3.003, allocations: 0 / 1.177 GB, free: 36.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/3.003, allocations: 236 kB / 1.177 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/3.004, allocations: 75.91 kB / 1.177 GB, free: 36.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/3.006, allocations: 0.887 MB / 1.178 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/3.007, allocations: 0.7524 MB / 1.179 GB, free: 34.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001431/3.008, allocations: 130.2 kB / 1.179 GB, free: 34.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/3.008, allocations: 63.41 kB / 1.179 GB, free: 34.42 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/3.008, allocations: 0 / 1.179 GB, free: 34.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/3.071, allocations: 13.61 MB / 1.192 GB, free: 20.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0001783/3.072, allocations: 128.4 kB / 1.192 GB, free: 20.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.021/6.093, allocations: 3.938 kB / 1.192 GB, free: 20.64 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat