Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_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 2.155/2.155, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1547/2.31, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/2.59, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9753/3.565, allocations: 310.5 MB / 0.6489 GB, free: 116.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/3.565, allocations: 80.55 kB / 0.649 GB, free: 116.5 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.3997/3.965, allocations: 96.71 MB / 0.7434 GB, free: 46.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/3.965, allocations: 8 kB / 0.7434 GB, free: 46.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/3.966, allocations: 55.44 kB / 0.7435 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/3.967, allocations: 491.7 kB / 0.744 GB, free: 46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/3.967, allocations: 12 kB / 0.744 GB, free: 45.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/3.967, allocations: 19.94 kB / 0.744 GB, free: 45.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001007/3.968, allocations: 393.2 kB / 0.7444 GB, free: 45.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/3.969, allocations: 480.6 kB / 0.7448 GB, free: 45.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/3.97, allocations: 0 / 0.7448 GB, free: 45.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/3.97, allocations: 7.906 kB / 0.7448 GB, free: 45.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/3.97, allocations: 32.62 kB / 0.7449 GB, free: 45.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/3.974, allocations: 2.198 MB / 0.747 GB, free: 42.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/3.975, allocations: 190.6 kB / 0.7472 GB, free: 42.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/3.975, allocations: 112.9 kB / 0.7473 GB, free: 42.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/3.977, allocations: 1.057 MB / 0.7483 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/3.977, allocations: 141 kB / 0.7485 GB, free: 41.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.876e-06/3.977, allocations: 0 / 0.7485 GB, free: 41.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009447/3.978, allocations: 210.3 kB / 0.7487 GB, free: 40.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/3.978, allocations: 162.2 kB / 0.7488 GB, free: 40.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/3.979, allocations: 384.9 kB / 0.7492 GB, free: 40.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/3.979, allocations: 25.7 kB / 0.7492 GB, free: 40.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/3.979, allocations: 258.9 kB / 0.7494 GB, free: 39.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/3.979, allocations: 51.3 kB / 0.7495 GB, free: 39.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/3.979, allocations: 4 kB / 0.7495 GB, free: 39.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/3.98, allocations: 350.9 kB / 0.7498 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/3.98, allocations: 108.8 kB / 0.7499 GB, free: 39.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/3.98, allocations: 321.4 kB / 0.7502 GB, free: 39.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005648/3.986, allocations: 0.66 MB / 0.7509 GB, free: 38.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/3.986, allocations: 4 kB / 0.7509 GB, free: 38.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.006484/3.992, allocations: 0.9049 MB / 0.7518 GB, free: 37.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005753/3.993, allocations: 2.785 MB / 0.7545 GB, free: 34.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/3.993, allocations: 8 kB / 0.7545 GB, free: 34.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.124e-05/3.993, allocations: 8 kB / 0.7545 GB, free: 34.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/3.994, allocations: 87.84 kB / 0.7546 GB, free: 34.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/3.994, allocations: 19.91 kB / 0.7546 GB, free: 34.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/3.995, allocations: 51.42 kB / 0.7547 GB, free: 34.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/3.995, allocations: 32 kB / 0.7547 GB, free: 34.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/3.995, allocations: 2.969 kB / 0.7547 GB, free: 34.27 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006054/4.001, allocations: 0.8077 MB / 0.7555 GB, free: 33.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/4.001, allocations: 4 kB / 0.7555 GB, free: 33.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/4.001, allocations: 12 kB / 0.7555 GB, free: 33.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/4.002, allocations: 87.83 kB / 0.7556 GB, free: 33.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/4.002, allocations: 15.94 kB / 0.7556 GB, free: 33.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/4.002, allocations: 40.14 kB / 0.7556 GB, free: 33.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/4.002, allocations: 24 kB / 0.7557 GB, free: 33.28 MB / 474.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: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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.0002173/4.003, allocations: 166.9 kB / 0.7558 GB, free: 33.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/4.003, allocations: 39.53 kB / 0.7559 GB, free: 33.06 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/4.004, allocations: 260.9 kB / 0.7561 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/4.004, allocations: 4 kB / 0.7561 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/4.004, allocations: 0 / 0.7561 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/4.004, allocations: 0 / 0.7561 GB, free: 32.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/4.004, allocations: 345.8 kB / 0.7564 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/4.004, allocations: 48 / 0.7564 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/4.005, allocations: 23.92 kB / 0.7565 GB, free: 32.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/4.005, allocations: 3.906 kB / 0.7565 GB, free: 32.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/4.005, allocations: 4 kB / 0.7565 GB, free: 32.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/4.005, allocations: 0 / 0.7565 GB, free: 32.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/4.005, allocations: 3.984 kB / 0.7565 GB, free: 32.39 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008479/4.005, allocations: 260.4 kB / 0.7567 GB, free: 32.12 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008833/4.006, allocations: 0.6514 MB / 0.7574 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/4.007, allocations: 128.5 kB / 0.7575 GB, free: 31.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/4.007, allocations: 4 kB / 0.7575 GB, free: 31.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/4.007, allocations: 11.98 kB / 0.7575 GB, free: 31.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/4.007, allocations: 8 kB / 0.7575 GB, free: 31.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/4.007, allocations: 11.98 kB / 0.7575 GB, free: 31.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000466/4.008, allocations: 279.2 kB / 0.7578 GB, free: 31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005377/4.013, allocations: 499.2 kB / 0.7583 GB, free: 30.51 MB / 474.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,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.003266/4.016, allocations: 0.4894 MB / 0.7587 GB, free: 30.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/4.019, allocations: 0.4919 MB / 0.7592 GB, free: 29.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/4.019, allocations: 0.75 kB / 0.7592 GB, free: 29.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/4.019, allocations: 137.6 kB / 0.7594 GB, free: 29.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/4.021, allocations: 121.8 kB / 0.7595 GB, free: 29.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/4.024, allocations: 0.5644 MB / 0.76 GB, free: 28.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/4.025, allocations: 0.8895 MB / 0.7609 GB, free: 27.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/4.025, allocations: 0 / 0.7609 GB, free: 27.75 MB / 474.7 MB