[: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(Modelica): time 1.183/1.183, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1097/1.293, allocations: 27.51 MB / 145.7 MB, free: 4.16 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/1.487, allocations: 25.16 MB / 170.9 MB, free: 1.836 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.247/4.734, allocations: 1.287 GB / 1.454 GB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.1865/4.92, allocations: 22.13 MB / 1.475 GB, free: 75.25 MB / 234.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[11].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[10].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[9].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[8].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[7].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[6].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[5].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[4].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[3].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[2].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_T[1].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[10].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[9].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[8].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[7].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[6].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[5].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[4].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[3].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[2].preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if medium_phi[1].preferredMediumStates then StateSelect.prefer else StateSelect.default' 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.6011/5.522, allocations: 93.35 MB / 1.567 GB, free: 38.06 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/5.522, allocations: 16.09 kB / 1.567 GB, free: 38.06 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/5.524, allocations: 263.9 kB / 1.567 GB, free: 37.95 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/5.529, allocations: 1.336 MB / 1.568 GB, free: 37.62 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/5.529, allocations: 79.03 kB / 1.568 GB, free: 37.62 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009667/5.53, allocations: 146.3 kB / 1.568 GB, free: 37.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01781/5.548, allocations: 5.837 MB / 1.574 GB, free: 37.6 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/5.564, allocations: 3.465 MB / 1.577 GB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/5.565, allocations: 0 / 1.577 GB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/5.566, allocations: 8.312 kB / 1.577 GB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/5.566, allocations: 59.25 kB / 1.577 GB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04631/5.612, allocations: 12.38 MB / 1.59 GB, free: 31.3 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/5.624, allocations: 4.564 MB / 1.594 GB, free: 31.17 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006147/5.631, allocations: 2.287 MB / 1.596 GB, free: 31.14 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/5.632, allocations: 0.5173 MB / 1.597 GB, free: 30.67 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/5.632, allocations: 94.34 kB / 1.597 GB, free: 30.63 MB / 234.7 MB Notification: Performance of pre-optimization done (n=390): time 6.652e-06/5.632, allocations: 0 / 1.597 GB, free: 30.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=390): time 0.02354/5.655, allocations: 4.599 MB / 1.601 GB, free: 30.42 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/5.656, allocations: 96.16 kB / 1.601 GB, free: 30.36 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/5.657, allocations: 0.5479 MB / 1.602 GB, free: 30.23 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001135/5.658, allocations: 33.05 kB / 1.602 GB, free: 30.2 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/5.658, allocations: 485.7 kB / 1.602 GB, free: 29.87 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/5.66, allocations: 1.252 MB / 1.604 GB, free: 29.02 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007366/5.661, allocations: 0 / 1.604 GB, free: 29.02 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000535/5.662, allocations: 481 kB / 1.604 GB, free: 28.71 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009232/5.671, allocations: 1.689 MB / 1.606 GB, free: 28.7 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/5.681, allocations: 2.165 MB / 1.608 GB, free: 28.28 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01773/5.699, allocations: 2.806 MB / 1.611 GB, free: 27.71 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.121e-05/5.699, allocations: 3.656 kB / 1.611 GB, free: 27.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.02722/5.726, allocations: 5.077 MB / 1.616 GB, free: 24.26 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/5.726, allocations: 11.47 kB / 1.616 GB, free: 24.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-05/5.727, allocations: 8 kB / 1.616 GB, free: 24.24 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.275e-05/5.727, allocations: 31.69 kB / 1.616 GB, free: 24.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009414/5.736, allocations: 0.7856 MB / 1.616 GB, free: 23.6 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.269e-05/5.736, allocations: 31.47 kB / 1.616 GB, free: 23.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/5.742, allocations: 313 kB / 1.617 GB, free: 23.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/5.743, allocations: 149.6 kB / 1.617 GB, free: 23.19 MB / 234.7 MB Warning: Assuming fixed start value for the following 16 variables: hx_h[16]:VARIABLE(start = h_const[16] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[15]:VARIABLE(start = h_const[15] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[14]:VARIABLE(start = h_const[14] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[13]:VARIABLE(start = h_const[13] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[12]:VARIABLE(start = h_const[12] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[11]:VARIABLE(start = h_const[11] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[10]:VARIABLE(start = h_const[10] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[9]:VARIABLE(start = h_const[9] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[8]:VARIABLE(start = h_const[8] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[7]:VARIABLE(start = h_const[7] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[6]:VARIABLE(start = h_const[6] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[5]:VARIABLE(start = h_const[5] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[4]:VARIABLE(start = h_const[4] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[3]:VARIABLE(start = h_const[3] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[2]:VARIABLE(start = h_const[2] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] hx_h[1]:VARIABLE(start = h_const[1] unit = "J/kg" nominal = 1000000.0 ) "Const h_1+x" type: Real [16] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.002396/5.746, allocations: 246.3 kB / 1.617 GB, free: 23.03 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00248/5.748, allocations: 193.9 kB / 1.617 GB, free: 22.84 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/5.773, allocations: 5.684 MB / 1.623 GB, free: 18.44 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.567e-05/5.773, allocations: 40 kB / 1.623 GB, free: 18.4 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/5.773, allocations: 2.625 kB / 1.623 GB, free: 18.4 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/5.773, allocations: 20.34 kB / 1.623 GB, free: 18.4 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/5.798, allocations: 7.595 MB / 1.63 GB, free: 12.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/5.798, allocations: 4 kB / 1.63 GB, free: 12.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007799/5.806, allocations: 0.7139 MB / 1.631 GB, free: 11.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.843e-05/5.806, allocations: 19.91 kB / 1.631 GB, free: 11.87 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000816/5.807, allocations: 43.11 kB / 1.631 GB, free: 11.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-05/5.807, allocations: 19.94 kB / 1.631 GB, free: 11.82 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/5.807, allocations: 6.781 kB / 1.631 GB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02203/5.829, allocations: 8.012 MB / 1.639 GB, free: 5.055 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1317/5.961, allocations: 11.29 MB / 1.65 GB, free: 53.48 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/5.964, allocations: 0.8573 MB / 1.651 GB, free: 53.39 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/5.965, allocations: 10.09 kB / 1.651 GB, free: 53.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00663/5.972, allocations: 206.6 kB / 1.651 GB, free: 53.39 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/5.973, allocations: 266.3 kB / 1.651 GB, free: 53.38 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007818/5.974, allocations: 183.5 kB / 1.651 GB, free: 53.38 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0009154/5.975, allocations: 485.6 kB / 1.652 GB, free: 53.29 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.006108/5.981, allocations: 1.093 MB / 1.653 GB, free: 53.29 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.002867/5.984, allocations: 0.9506 MB / 1.654 GB, free: 53.18 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/5.997, allocations: 4.207 MB / 1.658 GB, free: 53.12 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.338e-05/5.997, allocations: 4.469 kB / 1.658 GB, free: 53.12 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008585/6.006, allocations: 2.307 MB / 1.66 GB, free: 53.11 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/6.016, allocations: 0.9345 MB / 1.661 GB, free: 53.1 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/6.043, allocations: 5.974 MB / 1.667 GB, free: 52.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007758/6.05, allocations: 2.32 MB / 1.669 GB, free: 51.55 MB / 234.7 MB Notification: Performance of SimCode: time 2.545e-06/6.05, allocations: 1.312 kB / 1.669 GB, free: 51.55 MB / 234.7 MB