Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_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 2.135/2.135, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/2.309, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/2.601, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.484/9.085, allocations: 2.617 GB / 2.962 GB, free: 102.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/9.086, allocations: 82.45 kB / 2.962 GB, free: 102.6 MB / 490.7 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.342/12.43, allocations: 0.6508 GB / 3.613 GB, free: 7.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/12.43, allocations: 10.95 kB / 3.613 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/12.44, allocations: 0.6931 MB / 3.614 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/12.44, allocations: 0.8477 MB / 3.615 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/12.44, allocations: 176.8 kB / 3.615 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/12.45, allocations: 63.94 kB / 3.615 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003409/12.45, allocations: 1.168 MB / 3.616 GB, free: 4.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/12.45, allocations: 1.377 MB / 3.617 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/12.45, allocations: 11.84 kB / 3.617 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/12.45, allocations: 4 kB / 3.617 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/12.45, allocations: 42 kB / 3.617 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5576/13.01, allocations: 55.26 MB / 3.671 GB, free: 61.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/13.01, allocations: 361.2 kB / 3.672 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/13.01, allocations: 309.8 kB / 3.672 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2168/13.23, allocations: 52.92 MB / 3.724 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/13.23, allocations: 39.72 kB / 3.724 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 3.547e-06/13.23, allocations: 0 / 3.724 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.02219/13.25, allocations: 2.819 MB / 3.727 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/13.25, allocations: 111.5 kB / 3.727 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/13.25, allocations: 0.6656 MB / 3.727 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/13.25, allocations: 30.8 kB / 3.727 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/13.25, allocations: 0.5247 MB / 3.728 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/13.25, allocations: 251.1 kB / 3.728 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/13.25, allocations: 0 / 3.728 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002702/13.25, allocations: 405.3 kB / 3.728 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/13.26, allocations: 387.6 kB / 3.729 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/13.26, allocations: 0.9875 MB / 3.73 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/13.26, allocations: 0.6908 MB / 3.73 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/13.26, allocations: 6.656 kB / 3.731 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.0088/13.27, allocations: 2.049 MB / 3.733 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/13.27, allocations: 9.594 kB / 3.733 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.951e-05/13.27, allocations: 21.06 kB / 3.733 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/13.27, allocations: 467.1 kB / 3.733 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/13.27, allocations: 262 kB / 3.733 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/13.28, allocations: 1.933 MB / 3.735 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/13.28, allocations: 104.9 kB / 3.735 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/13.28, allocations: 85.33 kB / 3.735 GB, free: 39.61 MB / 0.5105 GB 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.000509/13.28, allocations: 176.7 kB / 3.735 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/13.28, allocations: 425 kB / 3.736 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/13.29, allocations: 4.023 MB / 3.74 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/13.29, allocations: 51.27 kB / 3.74 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/13.29, allocations: 0 / 3.74 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/13.29, allocations: 6.172 kB / 3.74 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/13.3, allocations: 5.461 MB / 3.745 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/13.3, allocations: 0 / 3.745 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/13.3, allocations: 126.7 kB / 3.745 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/13.31, allocations: 0.6072 MB / 3.746 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/13.31, allocations: 20.56 kB / 3.746 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/13.31, allocations: 1.861 MB / 3.748 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/13.31, allocations: 0 / 3.748 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00937/13.32, allocations: 4.177 MB / 3.752 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01191/13.33, allocations: 5.607 MB / 3.757 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/13.33, allocations: 335.5 kB / 3.758 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/13.33, allocations: 3.656 kB / 3.758 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/13.33, allocations: 64.52 kB / 3.758 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/13.33, allocations: 77.97 kB / 3.758 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/13.33, allocations: 34.61 kB / 3.758 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000957/13.34, allocations: 472.8 kB / 3.758 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008946/13.34, allocations: 1.659 MB / 3.76 GB, free: 35.98 MB / 0.5105 GB 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.01392/13.36, allocations: 2.358 MB / 3.762 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004023/13.36, allocations: 1.983 MB / 3.764 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/13.36, allocations: 4.062 kB / 3.764 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/13.37, allocations: 1.663 MB / 3.766 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/13.37, allocations: 381.9 kB / 3.766 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/13.6, allocations: 47.54 MB / 3.813 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/13.61, allocations: 1.44 MB / 3.814 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/13.61, allocations: 0 / 3.814 GB, free: 27.21 MB / 0.5105 GB