Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.956/1.956, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2216/2.177, allocations: 51.04 MB / 267.3 MB, free: 5.219 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/2.29, allocations: 48.69 MB / 316 MB, free: 4.434 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.647/8.937, allocations: 2.506 GB / 2.815 GB, free: 99.14 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/8.937, allocations: 89.03 kB / 2.815 GB, free: 99.12 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 3.544/12.48, allocations: 0.6341 GB / 3.449 GB, free: 26.23 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/12.48, allocations: 7.656 kB / 3.449 GB, free: 26.23 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/12.5, allocations: 0.6462 MB / 3.45 GB, free: 26.17 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/12.5, allocations: 0.8424 MB / 3.45 GB, free: 25.89 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/12.5, allocations: 180.5 kB / 3.451 GB, free: 25.76 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006394/12.5, allocations: 59.25 kB / 3.451 GB, free: 25.76 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005979/12.51, allocations: 1.163 MB / 3.452 GB, free: 25.75 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006586/12.51, allocations: 1.379 MB / 3.453 GB, free: 25.36 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/12.51, allocations: 6.844 kB / 3.453 GB, free: 25.36 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003789/12.51, allocations: 6.031 kB / 3.453 GB, free: 25.36 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/12.52, allocations: 46.91 kB / 3.453 GB, free: 25.36 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2689/12.78, allocations: 54.19 MB / 3.506 GB, free: 19.89 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/12.79, allocations: 361.3 kB / 3.506 GB, free: 19.87 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009823/12.79, allocations: 307.3 kB / 3.507 GB, free: 19.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2201/13.01, allocations: 52.93 MB / 3.558 GB, free: 16.55 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/13.01, allocations: 44.75 kB / 3.558 GB, free: 16.51 MB / 490.8 MB Notification: Performance of pre-optimization done (n=63): time 3.757e-06/13.01, allocations: 7.172 kB / 3.558 GB, free: 16.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=71): time 0.01707/13.02, allocations: 2.804 MB / 3.561 GB, free: 16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/13.02, allocations: 114.5 kB / 3.561 GB, free: 15.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/13.03, allocations: 0.6683 MB / 3.562 GB, free: 15.71 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/13.03, allocations: 27.27 kB / 3.562 GB, free: 15.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/13.03, allocations: 0.5281 MB / 3.562 GB, free: 15.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/13.03, allocations: 253.9 kB / 3.563 GB, free: 15.17 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/13.03, allocations: 0 / 3.563 GB, free: 15.17 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002812/13.03, allocations: 403.9 kB / 3.563 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/13.03, allocations: 384.6 kB / 3.563 GB, free: 14.85 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/13.03, allocations: 0.9946 MB / 3.564 GB, free: 14.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005126/13.04, allocations: 0.6806 MB / 3.565 GB, free: 14.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.552e-05/13.04, allocations: 6.406 kB / 3.565 GB, free: 14.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01405/13.05, allocations: 2.043 MB / 3.567 GB, free: 13.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/13.05, allocations: 12.03 kB / 3.567 GB, free: 13.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-05/13.05, allocations: 20 kB / 3.567 GB, free: 13.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/13.05, allocations: 468.5 kB / 3.568 GB, free: 13.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/13.06, allocations: 270.3 kB / 3.568 GB, free: 13.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/13.06, allocations: 1.933 MB / 3.57 GB, free: 11.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/13.06, allocations: 104 kB / 3.57 GB, free: 11.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/13.07, allocations: 86.89 kB / 3.57 GB, free: 11.47 MB / 490.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0009386/13.07, allocations: 170.4 kB / 3.57 GB, free: 11.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003283/13.07, allocations: 418.7 kB / 3.57 GB, free: 11.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/13.08, allocations: 4.033 MB / 3.574 GB, free: 8.754 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.769e-05/13.08, allocations: 44.84 kB / 3.574 GB, free: 8.738 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/13.08, allocations: 0 / 3.574 GB, free: 8.738 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/13.08, allocations: 3.234 kB / 3.574 GB, free: 8.738 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/13.1, allocations: 5.461 MB / 3.58 GB, free: 5.781 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/13.1, allocations: 0 / 3.58 GB, free: 5.781 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/13.1, allocations: 130.8 kB / 3.58 GB, free: 5.684 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/13.1, allocations: 0.6068 MB / 3.581 GB, free: 5.285 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/13.1, allocations: 18.39 kB / 3.581 GB, free: 5.273 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/13.11, allocations: 1.865 MB / 3.582 GB, free: 3.781 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/13.11, allocations: 0 / 3.582 GB, free: 3.781 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01116/13.12, allocations: 4.177 MB / 3.586 GB, free: 1.34 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2121/13.33, allocations: 5.612 MB / 3.592 GB, free: 103.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/13.33, allocations: 327.5 kB / 3.592 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/13.33, allocations: 10.98 kB / 3.592 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/13.33, allocations: 58.11 kB / 3.592 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/13.33, allocations: 70.45 kB / 3.592 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/13.33, allocations: 38.39 kB / 3.592 GB, free: 103.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.001016/13.33, allocations: 474.4 kB / 3.593 GB, free: 103.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.009419/13.34, allocations: 1.646 MB / 3.594 GB, free: 103.7 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 27 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01338/13.36, allocations: 2.353 MB / 3.597 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.004252/13.36, allocations: 1.981 MB / 3.599 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/13.36, allocations: 3.188 kB / 3.599 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002951/13.37, allocations: 1.671 MB / 3.6 GB, free: 103.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/13.37, allocations: 375 kB / 3.601 GB, free: 103.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2473/13.62, allocations: 46.72 MB / 3.646 GB, free: 102.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/13.62, allocations: 1.439 MB / 3.648 GB, free: 101.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.834e-06/13.62, allocations: 0 / 3.648 GB, free: 101.6 MB / 490.8 MB