Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.093/2.093, allocations: 234.9 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1643/2.257, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/2.544, allocations: 54.84 MB / 354 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8752/3.42, allocations: 296.4 MB / 0.6351 GB, free: 123.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/3.42, allocations: 80.62 kB / 0.6352 GB, free: 123.3 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.5335/3.954, allocations: 150.9 MB / 0.7826 GB, free: 5.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/3.954, allocations: 8 kB / 0.7826 GB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/3.955, allocations: 122.8 kB / 0.7827 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/3.957, allocations: 0.6334 MB / 0.7833 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/3.957, allocations: 216.2 kB / 0.7835 GB, free: 4.809 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/3.957, allocations: 44 kB / 0.7836 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002657/3.96, allocations: 0.8239 MB / 0.7844 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/3.964, allocations: 1.165 MB / 0.7855 GB, free: 2.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/3.964, allocations: 7.938 kB / 0.7855 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/3.964, allocations: 4 kB / 0.7855 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/3.965, allocations: 45.3 kB / 0.7856 GB, free: 2.586 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2029/4.167, allocations: 6.759 MB / 0.7922 GB, free: 142.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/4.168, allocations: 220.9 kB / 0.7924 GB, free: 142 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/4.169, allocations: 125.1 kB / 0.7925 GB, free: 142 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00538/4.174, allocations: 2.725 MB / 0.7952 GB, free: 139.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/4.174, allocations: 37.72 kB / 0.7952 GB, free: 139.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 3.957e-06/4.175, allocations: 0 / 0.7952 GB, free: 139.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.004107/4.179, allocations: 0.8022 MB / 0.796 GB, free: 139.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/4.179, allocations: 58.69 kB / 0.796 GB, free: 139 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/4.18, allocations: 0.6614 MB / 0.7967 GB, free: 138.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.672e-05/4.181, allocations: 25.7 kB / 0.7967 GB, free: 138.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/4.181, allocations: 0.577 MB / 0.7973 GB, free: 138.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/4.181, allocations: 102.5 kB / 0.7974 GB, free: 138.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/4.181, allocations: 0 / 0.7974 GB, free: 138.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/4.182, allocations: 392.1 kB / 0.7977 GB, free: 138.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/4.183, allocations: 204.8 kB / 0.7979 GB, free: 138.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/4.184, allocations: 1.014 MB / 0.7989 GB, free: 137.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/4.186, allocations: 442.2 kB / 0.7993 GB, free: 137.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/4.186, allocations: 7.875 kB / 0.7994 GB, free: 137.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004758/4.191, allocations: 1.05 MB / 0.8004 GB, free: 137 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/4.191, allocations: 9.562 kB / 0.8004 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.978e-05/4.191, allocations: 27.88 kB / 0.8004 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.375e-05/4.191, allocations: 50.89 kB / 0.8005 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/4.193, allocations: 296 kB / 0.8007 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-05/4.193, allocations: 59.03 kB / 0.8008 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/4.195, allocations: 44.83 kB / 0.8008 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/4.195, allocations: 81.66 kB / 0.8009 GB, free: 137 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002772/4.195, allocations: 178.4 kB / 0.8011 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/4.195, allocations: 89.44 kB / 0.8012 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/4.197, allocations: 346.1 kB / 0.8015 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/4.197, allocations: 7 kB / 0.8015 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/4.197, allocations: 0 / 0.8015 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/4.197, allocations: 3.188 kB / 0.8015 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/4.199, allocations: 0.8152 MB / 0.8023 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/4.199, allocations: 0 / 0.8023 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/4.199, allocations: 65.25 kB / 0.8024 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/4.199, allocations: 0 / 0.8024 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/4.199, allocations: 3.719 kB / 0.8024 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/4.199, allocations: 0 / 0.8024 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/4.199, allocations: 6.656 kB / 0.8024 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001336/4.201, allocations: 0.5246 MB / 0.8029 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001544/4.202, allocations: 1.044 MB / 0.8039 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/4.203, allocations: 176.1 kB / 0.8041 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/4.203, allocations: 0 / 0.8041 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/4.204, allocations: 13.84 kB / 0.8041 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/4.204, allocations: 16.34 kB / 0.8041 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/4.204, allocations: 20.83 kB / 0.8041 GB, free: 135.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008694/4.205, allocations: 454.7 kB / 0.8046 GB, free: 135.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002834/4.207, allocations: 284.7 kB / 0.8048 GB, free: 135.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009954/4.208, allocations: 380 kB / 0.8052 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/4.21, allocations: 0.5538 MB / 0.8057 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/4.21, allocations: 2.719 kB / 0.8057 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/4.21, allocations: 107.2 kB / 0.8058 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/4.213, allocations: 234.9 kB / 0.8061 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/4.215, allocations: 1.006 MB / 0.8071 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/4.216, allocations: 1.1 MB / 0.8081 GB, free: 134.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/4.216, allocations: 0 / 0.8081 GB, free: 134.4 MB / 474.7 MB