Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_1_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.07/2.07, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2657/2.336, allocations: 51.04 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/2.461, allocations: 48.69 MB / 316 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/3.37, allocations: 290.2 MB / 0.592 GB, free: 34.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/3.371, allocations: 86.83 kB / 0.5921 GB, free: 34 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.754/4.125, allocations: 150.8 MB / 0.7394 GB, free: 74.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/4.125, allocations: 8 kB / 0.7394 GB, free: 74.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/4.126, allocations: 118.9 kB / 0.7395 GB, free: 74.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/4.128, allocations: 0.6425 MB / 0.7401 GB, free: 73.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/4.128, allocations: 216.2 kB / 0.7403 GB, free: 73.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/4.128, allocations: 44 kB / 0.7404 GB, free: 73.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002462/4.131, allocations: 0.8278 MB / 0.7412 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/4.134, allocations: 1.164 MB / 0.7423 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/4.134, allocations: 3.938 kB / 0.7423 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/4.134, allocations: 12 kB / 0.7423 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/4.134, allocations: 41.28 kB / 0.7424 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/4.145, allocations: 6.765 MB / 0.749 GB, free: 64.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/4.146, allocations: 212.4 kB / 0.7492 GB, free: 63.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/4.146, allocations: 128.7 kB / 0.7493 GB, free: 63.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003473/4.15, allocations: 2.733 MB / 0.752 GB, free: 60.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/4.15, allocations: 34.56 kB / 0.752 GB, free: 60.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.958e-06/4.15, allocations: 0 / 0.752 GB, free: 60.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.003276/4.153, allocations: 0.808 MB / 0.7528 GB, free: 59.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/4.153, allocations: 63.33 kB / 0.7529 GB, free: 59.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/4.154, allocations: 0.6598 MB / 0.7535 GB, free: 58.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/4.155, allocations: 25.7 kB / 0.7535 GB, free: 58.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/4.155, allocations: 0.5698 MB / 0.7541 GB, free: 58.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/4.155, allocations: 114.6 kB / 0.7542 GB, free: 58.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/4.155, allocations: 0 / 0.7542 GB, free: 58.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/4.155, allocations: 386.8 kB / 0.7546 GB, free: 57.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/4.156, allocations: 202.6 kB / 0.7548 GB, free: 57.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/4.157, allocations: 1.016 MB / 0.7557 GB, free: 56.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/4.158, allocations: 439.3 kB / 0.7562 GB, free: 55.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/4.158, allocations: 8 kB / 0.7562 GB, free: 55.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004058/4.162, allocations: 1.041 MB / 0.7572 GB, free: 54.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/4.162, allocations: 4 kB / 0.7572 GB, free: 54.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/4.162, allocations: 32 kB / 0.7572 GB, free: 54.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.245e-05/4.162, allocations: 44 kB / 0.7573 GB, free: 54.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/4.164, allocations: 300 kB / 0.7575 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.404e-05/4.164, allocations: 63.69 kB / 0.7576 GB, free: 54.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/4.165, allocations: 43.92 kB / 0.7577 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/4.166, allocations: 87.91 kB / 0.7577 GB, free: 54.2 MB / 426.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.0002615/4.166, allocations: 172.2 kB / 0.7579 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/4.166, allocations: 83.06 kB / 0.758 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/4.167, allocations: 356.9 kB / 0.7583 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/4.167, allocations: 4 kB / 0.7583 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/4.167, allocations: 3.938 kB / 0.7583 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/4.167, allocations: 4 kB / 0.7583 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/4.169, allocations: 0.8163 MB / 0.7591 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/4.17, allocations: 3.938 kB / 0.7591 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/4.17, allocations: 59.97 kB / 0.7592 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/4.17, allocations: 3.984 kB / 0.7592 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/4.17, allocations: 4 kB / 0.7592 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/4.17, allocations: 3.984 kB / 0.7592 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/4.17, allocations: 8.062 kB / 0.7592 GB, free: 52.63 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001198/4.171, allocations: 0.5282 MB / 0.7597 GB, free: 52.07 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001558/4.173, allocations: 1.036 MB / 0.7607 GB, free: 51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/4.173, allocations: 172.1 kB / 0.7609 GB, free: 50.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/4.174, allocations: 0 / 0.7609 GB, free: 50.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/4.174, allocations: 19.91 kB / 0.7609 GB, free: 50.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/4.174, allocations: 19.97 kB / 0.7609 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/4.174, allocations: 19.98 kB / 0.761 GB, free: 50.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0008783/4.175, allocations: 451.1 kB / 0.7614 GB, free: 50.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002865/4.178, allocations: 287.9 kB / 0.7617 GB, free: 50.04 MB / 426.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.001046/4.179, allocations: 388.8 kB / 0.762 GB, free: 49.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/4.181, allocations: 0.5571 MB / 0.7626 GB, free: 49.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/4.181, allocations: 1.688 kB / 0.7626 GB, free: 49.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/4.181, allocations: 103.9 kB / 0.7627 GB, free: 49.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/4.183, allocations: 238.9 kB / 0.7629 GB, free: 48.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/4.186, allocations: 1.004 MB / 0.7639 GB, free: 47.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/4.187, allocations: 1.09 MB / 0.765 GB, free: 46.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/4.187, allocations: 3.938 kB / 0.765 GB, free: 46.64 MB / 426.7 MB