Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",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.949/1.949, allocations: 209.3 MB / 216.3 MB, free: 0.668 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1541/2.103, allocations: 51.03 MB / 267.3 MB, free: 13.56 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/2.348, allocations: 48.7 MB / 316 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/4.155, allocations: 0.5964 GB / 0.905 GB, free: 111.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/4.155, allocations: 81.83 kB / 0.9051 GB, free: 111.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.4119/4.567, allocations: 102.7 MB / 1.005 GB, free: 49.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/4.567, allocations: 8 kB / 1.005 GB, free: 49.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/4.568, allocations: 71.33 kB / 1.005 GB, free: 49.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/4.569, allocations: 423.2 kB / 1.006 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/4.569, allocations: 50.39 kB / 1.006 GB, free: 48.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/4.569, allocations: 24 kB / 1.006 GB, free: 48.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008777/4.57, allocations: 305.5 kB / 1.006 GB, free: 48.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009723/4.571, allocations: 437.6 kB / 1.007 GB, free: 48.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/4.571, allocations: 3.938 kB / 1.007 GB, free: 48.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/4.571, allocations: 7.938 kB / 1.007 GB, free: 48.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/4.571, allocations: 20.58 kB / 1.007 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/4.576, allocations: 2.498 MB / 1.009 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/4.576, allocations: 169.8 kB / 1.009 GB, free: 45.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/4.577, allocations: 116.9 kB / 1.009 GB, free: 45.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/4.577, allocations: 4 kB / 1.009 GB, free: 45.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/4.577, allocations: 190.4 kB / 1.01 GB, free: 44.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/4.577, allocations: 0 / 1.01 GB, free: 44.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.01106/4.588, allocations: 1.924 MB / 1.011 GB, free: 42.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/4.588, allocations: 140.5 kB / 1.012 GB, free: 42.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/4.589, allocations: 312.8 kB / 1.012 GB, free: 42.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/4.589, allocations: 29.64 kB / 1.012 GB, free: 42.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/4.589, allocations: 223.8 kB / 1.012 GB, free: 42.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/4.589, allocations: 149.8 kB / 1.012 GB, free: 42.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/4.589, allocations: 0 / 1.012 GB, free: 42.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/4.589, allocations: 358.7 kB / 1.013 GB, free: 41.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/4.59, allocations: 141.3 kB / 1.013 GB, free: 41.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/4.59, allocations: 337.5 kB / 1.013 GB, free: 41.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007327/4.591, allocations: 224.7 kB / 1.013 GB, free: 40.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/4.591, allocations: 4 kB / 1.013 GB, free: 40.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001592/4.593, allocations: 0.5775 MB / 1.014 GB, free: 40.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/4.593, allocations: 4 kB / 1.014 GB, free: 40.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/4.593, allocations: 8 kB / 1.014 GB, free: 40.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/4.593, allocations: 96.8 kB / 1.014 GB, free: 40.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/4.594, allocations: 168.1 kB / 1.014 GB, free: 40.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/4.595, allocations: 0.6888 MB / 1.015 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/4.596, allocations: 67.94 kB / 1.015 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/4.596, allocations: 51.98 kB / 1.015 GB, free: 39.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00022/4.597, allocations: 116.9 kB / 1.015 GB, free: 39.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/4.597, allocations: 47.44 kB / 1.015 GB, free: 39.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/4.599, allocations: 0.5634 MB / 1.016 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/4.599, allocations: 4 kB / 1.016 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/4.599, allocations: 0 / 1.016 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/4.599, allocations: 0 / 1.016 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/4.602, allocations: 1.034 MB / 1.017 GB, free: 37.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/4.602, allocations: 0 / 1.017 GB, free: 37.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/4.603, allocations: 128 kB / 1.017 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/4.604, allocations: 96.77 kB / 1.017 GB, free: 37.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/4.604, allocations: 11.98 kB / 1.017 GB, free: 37.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/4.606, allocations: 1.612 MB / 1.018 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/4.606, allocations: 4 kB / 1.018 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002141/4.609, allocations: 0.7726 MB / 1.019 GB, free: 34.56 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002645/4.611, allocations: 1.367 MB / 1.02 GB, free: 33.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/4.612, allocations: 160.5 kB / 1.021 GB, free: 32.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/4.612, allocations: 8 kB / 1.021 GB, free: 32.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/4.613, allocations: 59.88 kB / 1.021 GB, free: 32.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/4.613, allocations: 51.92 kB / 1.021 GB, free: 32.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/4.613, allocations: 39.98 kB / 1.021 GB, free: 32.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003577/4.613, allocations: 239.2 kB / 1.021 GB, free: 32.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00251/4.616, allocations: 347.8 kB / 1.021 GB, free: 32.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/4.618, allocations: 0.9218 MB / 1.022 GB, free: 31.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/4.619, allocations: 428.8 kB / 1.023 GB, free: 30.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/4.619, allocations: 0.5 kB / 1.023 GB, free: 30.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006849/4.62, allocations: 313.5 kB / 1.023 GB, free: 30.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/4.622, allocations: 161.5 kB / 1.023 GB, free: 30.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/4.633, allocations: 2.265 MB / 1.025 GB, free: 28.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/4.634, allocations: 0.9758 MB / 1.026 GB, free: 27.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/4.634, allocations: 0 / 1.026 GB, free: 27.1 MB / 426.7 MB