Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.975/1.975, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2633/2.238, allocations: 51.04 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/2.358, allocations: 48.69 MB / 316 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8356/3.193, allocations: 304.3 MB / 0.6057 GB, free: 18.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/3.194, allocations: 90.62 kB / 0.6058 GB, free: 18.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.5472/3.741, allocations: 96.6 MB / 0.7001 GB, free: 113.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/3.741, allocations: 8 kB / 0.7001 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/3.742, allocations: 59.34 kB / 0.7002 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/3.744, allocations: 487.3 kB / 0.7006 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/3.744, allocations: 12 kB / 0.7007 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/3.744, allocations: 16 kB / 0.7007 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/3.746, allocations: 389.2 kB / 0.701 GB, free: 112.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/3.747, allocations: 479 kB / 0.7015 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/3.747, allocations: 0 / 0.7015 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/3.747, allocations: 3.938 kB / 0.7015 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.531e-05/3.747, allocations: 32.64 kB / 0.7015 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/3.754, allocations: 2.186 MB / 0.7037 GB, free: 109.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/3.754, allocations: 190.8 kB / 0.7039 GB, free: 109.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/3.755, allocations: 101.1 kB / 0.7039 GB, free: 109.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/3.756, allocations: 1.033 MB / 0.705 GB, free: 108.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/3.757, allocations: 133 kB / 0.7051 GB, free: 108.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.856e-06/3.757, allocations: 0 / 0.7051 GB, free: 108.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008732/3.758, allocations: 210.3 kB / 0.7053 GB, free: 107.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/3.758, allocations: 162.2 kB / 0.7054 GB, free: 107.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/3.758, allocations: 377 kB / 0.7058 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/3.758, allocations: 25.7 kB / 0.7058 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/3.759, allocations: 266.5 kB / 0.7061 GB, free: 107 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/3.759, allocations: 39.55 kB / 0.7061 GB, free: 107 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/3.759, allocations: 0 / 0.7061 GB, free: 107 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/3.759, allocations: 354.7 kB / 0.7065 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/3.759, allocations: 104.8 kB / 0.7066 GB, free: 106.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/3.759, allocations: 317.4 kB / 0.7069 GB, free: 106.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005473/3.765, allocations: 0.6475 MB / 0.7075 GB, free: 105.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/3.765, allocations: 4 kB / 0.7075 GB, free: 105.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006421/3.771, allocations: 0.8934 MB / 0.7084 GB, free: 104.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006327/3.772, allocations: 2.782 MB / 0.7111 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/3.772, allocations: 8 kB / 0.7111 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/3.772, allocations: 15.91 kB / 0.7111 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/3.773, allocations: 87.83 kB / 0.7112 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/3.773, allocations: 11.94 kB / 0.7112 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/3.774, allocations: 59.45 kB / 0.7113 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/3.774, allocations: 31.98 kB / 0.7113 GB, free: 101.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/3.774, allocations: 0 / 0.7113 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007749/3.781, allocations: 0.7931 MB / 0.7121 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/3.782, allocations: 11.98 kB / 0.7121 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/3.782, allocations: 11.98 kB / 0.7121 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/3.782, allocations: 87.94 kB / 0.7122 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/3.783, allocations: 19.78 kB / 0.7122 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/3.784, allocations: 40.2 kB / 0.7122 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/3.784, allocations: 27.98 kB / 0.7123 GB, free: 100.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.00032/3.784, allocations: 158.3 kB / 0.7124 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/3.784, allocations: 43.44 kB / 0.7124 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/3.786, allocations: 245 kB / 0.7127 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/3.786, allocations: 0 / 0.7127 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/3.786, allocations: 0 / 0.7127 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/3.786, allocations: 0 / 0.7127 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/3.787, allocations: 333.9 kB / 0.713 GB, free: 99.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/3.787, allocations: 3.938 kB / 0.713 GB, free: 99.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/3.787, allocations: 15.98 kB / 0.713 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/3.787, allocations: 4 kB / 0.713 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/3.788, allocations: 0 / 0.713 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/3.788, allocations: 4 kB / 0.713 GB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/3.788, allocations: 0 / 0.713 GB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001391/3.789, allocations: 242.5 kB / 0.7133 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001205/3.79, allocations: 0.6336 MB / 0.7139 GB, free: 98.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/3.791, allocations: 128.4 kB / 0.714 GB, free: 98.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/3.791, allocations: 0 / 0.714 GB, free: 98.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/3.791, allocations: 11.98 kB / 0.714 GB, free: 98.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/3.791, allocations: 19.73 kB / 0.714 GB, free: 98.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/3.791, allocations: 11.98 kB / 0.714 GB, free: 98.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004861/3.792, allocations: 279.2 kB / 0.7143 GB, free: 98.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003973/3.796, allocations: 487.3 kB / 0.7148 GB, free: 97.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.002185/3.798, allocations: 0.4936 MB / 0.7153 GB, free: 97.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/3.799, allocations: 471.9 kB / 0.7157 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/3.799, allocations: 0.8125 kB / 0.7157 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/3.8, allocations: 113.6 kB / 0.7158 GB, free: 96.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/3.801, allocations: 117.8 kB / 0.7159 GB, free: 96.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/3.803, allocations: 0.5501 MB / 0.7165 GB, free: 95.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/3.804, allocations: 0.8942 MB / 0.7173 GB, free: 94.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/3.804, allocations: 0 / 0.7173 GB, free: 94.97 MB / 426.7 MB