Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1862/2.692, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/3.04, allocations: 54.84 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.057/5.098, allocations: 0.7588 GB / 1.105 GB, free: 25.44 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/5.098, allocations: 67.47 kB / 1.105 GB, free: 25.41 MB / 474.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: 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.5056/5.604, allocations: 61.74 MB / 1.165 GB, free: 156.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/5.604, allocations: 8.906 kB / 1.165 GB, free: 156.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/5.616, allocations: 0.8361 MB / 1.166 GB, free: 156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/5.617, allocations: 274.7 kB / 1.166 GB, free: 155.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/5.617, allocations: 9.5 kB / 1.166 GB, free: 155.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/5.618, allocations: 14.34 kB / 1.166 GB, free: 155.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002572/5.62, allocations: 0.6493 MB / 1.167 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/5.621, allocations: 419.7 kB / 1.167 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/5.622, allocations: 1.062 kB / 1.167 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/5.622, allocations: 0 / 1.167 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/5.622, allocations: 16.8 kB / 1.167 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/5.629, allocations: 1.325 MB / 1.168 GB, free: 154 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/5.63, allocations: 320.2 kB / 1.169 GB, free: 153.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/5.631, allocations: 225.7 kB / 1.169 GB, free: 153.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000974/5.632, allocations: 250.1 kB / 1.169 GB, free: 153.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/5.632, allocations: 42.56 kB / 1.169 GB, free: 153.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/5.632, allocations: 0 / 1.169 GB, free: 153.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001802/5.634, allocations: 449.5 kB / 1.17 GB, free: 152.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/5.634, allocations: 81.11 kB / 1.17 GB, free: 152.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/5.634, allocations: 113 kB / 1.17 GB, free: 152.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/5.634, allocations: 29.7 kB / 1.17 GB, free: 152.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/5.634, allocations: 112.4 kB / 1.17 GB, free: 152.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/5.634, allocations: 110.4 kB / 1.17 GB, free: 152.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/5.634, allocations: 0 / 1.17 GB, free: 152.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/5.634, allocations: 322.8 kB / 1.17 GB, free: 151.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/5.635, allocations: 200 kB / 1.17 GB, free: 151.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/5.636, allocations: 305.8 kB / 1.171 GB, free: 151.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/5.636, allocations: 235.1 kB / 1.171 GB, free: 151.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/5.636, allocations: 3.938 kB / 1.171 GB, free: 151.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001928/5.638, allocations: 0.5442 MB / 1.172 GB, free: 150.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/5.638, allocations: 4 kB / 1.172 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/5.638, allocations: 4.078 kB / 1.172 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/5.638, allocations: 4 kB / 1.172 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/5.64, allocations: 87.81 kB / 1.172 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/5.64, allocations: 7.984 kB / 1.172 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/5.641, allocations: 35.72 kB / 1.172 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/5.642, allocations: 28.02 kB / 1.172 GB, free: 150.4 MB / 474.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.0002753/5.642, allocations: 120.7 kB / 1.172 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/5.642, allocations: 15.89 kB / 1.172 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/5.644, allocations: 0.533 MB / 1.172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/5.644, allocations: 4 kB / 1.172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/5.645, allocations: 0 / 1.172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/5.645, allocations: 7.984 kB / 1.172 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/5.646, allocations: 0.5082 MB / 1.173 GB, free: 149.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/5.646, allocations: 3.938 kB / 1.173 GB, free: 149.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/5.648, allocations: 63.95 kB / 1.173 GB, free: 149.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/5.648, allocations: 0 / 1.173 GB, free: 149.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/5.648, allocations: 7.984 kB / 1.173 GB, free: 149.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/5.648, allocations: 4 kB / 1.173 GB, free: 149.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/5.648, allocations: 4 kB / 1.173 GB, free: 149.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001941/5.65, allocations: 0.7416 MB / 1.174 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002783/5.652, allocations: 1.361 MB / 1.175 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/5.653, allocations: 88.95 kB / 1.175 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/5.653, allocations: 11.89 kB / 1.175 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/5.654, allocations: 19.92 kB / 1.175 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/5.654, allocations: 11.97 kB / 1.175 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/5.654, allocations: 19.98 kB / 1.175 GB, free: 146.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.221e-05/5.654, allocations: 107.3 kB / 1.175 GB, free: 146.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002557/5.657, allocations: 247.8 kB / 1.175 GB, free: 146.4 MB / 474.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.002554/5.659, allocations: 0.8585 MB / 1.176 GB, free: 145.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/5.661, allocations: 475.8 kB / 1.177 GB, free: 145.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/5.661, allocations: 0 / 1.177 GB, free: 145.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/5.662, allocations: 240.6 kB / 1.177 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/5.663, allocations: 80.56 kB / 1.177 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/5.665, allocations: 0.7999 MB / 1.178 GB, free: 144 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/5.666, allocations: 0.7907 MB / 1.179 GB, free: 143.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/5.666, allocations: 0 / 1.179 GB, free: 143.2 MB / 474.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