Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) [: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 1.929/1.929, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.187, allocations: 51.05 MB / 267.3 MB, free: 5.211 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/2.317, allocations: 48.69 MB / 316 MB, free: 4.43 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/2.645, allocations: 81.87 MB / 397.9 MB, free: 10.89 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000425/2.645, allocations: 101.3 kB / 398 MB, free: 10.83 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.06181/2.707, allocations: 12.49 MB / 410.4 MB, free: 88 kB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/2.707, allocations: 8 kB / 410.5 MB, free: 80 kB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/2.708, allocations: 47.44 kB / 410.5 MB, free: 32 kB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/2.709, allocations: 296.5 kB / 410.8 MB, free: 15.71 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/2.709, allocations: 19.94 kB / 410.8 MB, free: 15.7 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/2.709, allocations: 24 kB / 410.8 MB, free: 15.67 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001741/2.711, allocations: 399.6 kB / 411.2 MB, free: 15.38 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/2.713, allocations: 0.577 MB / 411.8 MB, free: 14.89 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/2.713, allocations: 0 / 411.8 MB, free: 14.89 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/2.714, allocations: 0 / 411.8 MB, free: 14.89 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/2.714, allocations: 28.92 kB / 411.8 MB, free: 14.86 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/2.718, allocations: 1.373 MB / 413.2 MB, free: 13.59 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/2.719, allocations: 280.8 kB / 413.5 MB, free: 13.31 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/2.719, allocations: 128.9 kB / 413.6 MB, free: 13.19 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.849e-05/2.72, allocations: 16.05 kB / 413.6 MB, free: 13.18 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/2.72, allocations: 46.11 kB / 413.7 MB, free: 13.12 MB / 346.8 MB Notification: Performance of pre-optimization done (n=20): time 3.547e-06/2.72, allocations: 4 kB / 413.7 MB, free: 13.12 MB / 346.8 MB Notification: Performance of matching and sorting (n=20): time 0.001111/2.721, allocations: 294.7 kB / 414 MB, free: 12.85 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/2.721, allocations: 106.8 kB / 414.1 MB, free: 12.72 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/2.721, allocations: 231 kB / 414.3 MB, free: 12.52 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/2.721, allocations: 25.7 kB / 414.3 MB, free: 12.49 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/2.721, allocations: 229.1 kB / 414.5 MB, free: 12.27 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/2.722, allocations: 65.72 kB / 414.6 MB, free: 12.22 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/2.722, allocations: 8 kB / 414.6 MB, free: 12.21 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001563/2.722, allocations: 333.9 kB / 414.9 MB, free: 11.88 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/2.722, allocations: 137.7 kB / 415.1 MB, free: 11.76 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/2.723, allocations: 247.4 kB / 415.3 MB, free: 11.49 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/2.723, allocations: 174.4 kB / 415.5 MB, free: 11.34 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.723, allocations: 0 / 415.5 MB, free: 11.34 MB / 346.8 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001278/2.725, allocations: 415.1 kB / 415.9 MB, free: 10.96 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/2.725, allocations: 7.938 kB / 415.9 MB, free: 10.95 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/2.725, allocations: 43.34 kB / 415.9 MB, free: 10.91 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/2.725, allocations: 4 kB / 415.9 MB, free: 10.91 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/2.725, allocations: 60.33 kB / 416 MB, free: 10.85 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/2.725, allocations: 4 kB / 416 MB, free: 10.84 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/2.726, allocations: 43.81 kB / 416 MB, free: 10.8 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/2.726, allocations: 19.19 kB / 416.1 MB, free: 10.79 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001793/2.726, allocations: 120.8 kB / 416.2 MB, free: 10.66 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/2.726, allocations: 27.27 kB / 416.2 MB, free: 10.64 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/2.728, allocations: 476.1 kB / 416.7 MB, free: 10.2 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/2.728, allocations: 7.984 kB / 416.7 MB, free: 10.2 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/2.728, allocations: 0 / 416.7 MB, free: 10.2 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.728, allocations: 0 / 416.7 MB, free: 10.2 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/2.729, allocations: 354.8 kB / 417 MB, free: 9.852 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/2.729, allocations: 39.97 kB / 417.1 MB, free: 9.812 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/2.73, allocations: 39.95 kB / 417.1 MB, free: 9.773 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/2.73, allocations: 0 / 417.1 MB, free: 9.773 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/2.73, allocations: 15.61 kB / 417.1 MB, free: 9.762 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/2.73, allocations: 0 / 417.1 MB, free: 9.762 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.73, allocations: 3.938 kB / 417.1 MB, free: 9.758 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001109/2.731, allocations: 0.5673 MB / 417.7 MB, free: 9.184 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001193/2.732, allocations: 0.9367 MB / 418.6 MB, free: 8.25 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/2.732, allocations: 145.6 kB / 418.8 MB, free: 8.102 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/2.732, allocations: 0 / 418.8 MB, free: 8.102 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/2.733, allocations: 35.91 kB / 418.8 MB, free: 8.066 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/2.733, allocations: 26.25 kB / 418.8 MB, free: 8.043 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/2.733, allocations: 11.12 kB / 418.8 MB, free: 8.035 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0002595/2.733, allocations: 173.8 kB / 419 MB, free: 7.895 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.002228/2.736, allocations: 154.4 kB / 419.2 MB, free: 7.75 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007625/2.737, allocations: 206 kB / 419.4 MB, free: 7.539 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.001282/2.738, allocations: 0.6175 MB / 420 MB, free: 6.883 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.738, allocations: 0 / 420 MB, free: 6.883 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006996/2.739, allocations: 461 kB / 420.4 MB, free: 6.379 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/2.739, allocations: 27.42 kB / 420.5 MB, free: 6.355 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/2.742, allocations: 0.6255 MB / 421.1 MB, free: 5.73 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/2.743, allocations: 0.9064 MB / 422 MB, free: 4.812 MB / 346.8 MB Notification: Performance of SimCode: time 1.803e-06/2.743, allocations: 0 / 422 MB, free: 4.812 MB / 346.8 MB