Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.862/1.862, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2181/2.08, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/2.216, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.32/8.536, allocations: 2.485 GB / 2.793 GB, free: 103.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/8.537, allocations: 87.62 kB / 2.793 GB, free: 103.2 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 1.804/10.34, allocations: 345.4 MB / 3.131 GB, free: 48.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/10.34, allocations: 7.688 kB / 3.131 GB, free: 48.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008458/10.35, allocations: 442.6 kB / 3.131 GB, free: 48.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/10.35, allocations: 0.578 MB / 3.132 GB, free: 48.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/10.35, allocations: 92.58 kB / 3.132 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/10.35, allocations: 35.03 kB / 3.132 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004027/10.36, allocations: 0.7489 MB / 3.133 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003789/10.36, allocations: 0.8331 MB / 3.133 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/10.36, allocations: 5.594 kB / 3.133 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/10.36, allocations: 0 / 3.133 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/10.36, allocations: 42.08 kB / 3.133 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1972/10.56, allocations: 37.19 MB / 3.17 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/10.56, allocations: 397.3 kB / 3.17 GB, free: 29.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/10.56, allocations: 267.6 kB / 3.17 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/10.69, allocations: 31.53 MB / 3.201 GB, free: 25.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/10.69, allocations: 39.5 kB / 3.201 GB, free: 25.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.406e-06/10.69, allocations: 0 / 3.201 GB, free: 25.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.04021/10.73, allocations: 3.409 MB / 3.205 GB, free: 24.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/10.73, allocations: 112.2 kB / 3.205 GB, free: 24.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/10.73, allocations: 415.1 kB / 3.205 GB, free: 24.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/10.73, allocations: 26.67 kB / 3.205 GB, free: 24.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/10.73, allocations: 311.7 kB / 3.205 GB, free: 24.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/10.73, allocations: 184.9 kB / 3.206 GB, free: 24.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/10.73, allocations: 0 / 3.206 GB, free: 24.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/10.73, allocations: 371 kB / 3.206 GB, free: 23.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/10.73, allocations: 441.7 kB / 3.206 GB, free: 23.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/10.73, allocations: 0.6495 MB / 3.207 GB, free: 23.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006665/10.74, allocations: 0.7436 MB / 3.208 GB, free: 23.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/10.74, allocations: 1.031 kB / 3.208 GB, free: 23.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01363/10.75, allocations: 2.023 MB / 3.21 GB, free: 22.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00125/10.76, allocations: 2.699 MB / 3.212 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/10.76, allocations: 11.66 kB / 3.212 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/10.76, allocations: 1.085 MB / 3.213 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/10.76, allocations: 153.8 kB / 3.213 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009695/10.77, allocations: 3.107 MB / 3.217 GB, free: 16.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/10.77, allocations: 99.09 kB / 3.217 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/10.77, allocations: 43.23 kB / 3.217 GB, free: 16.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/10.77, allocations: 4 kB / 3.217 GB, free: 16.83 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0069/10.78, allocations: 1.084 MB / 3.218 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/10.78, allocations: 4 kB / 3.218 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/10.78, allocations: 258.2 kB / 3.218 GB, free: 16.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/10.78, allocations: 194.3 kB / 3.218 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/10.79, allocations: 4.057 MB / 3.222 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/10.79, allocations: 57.75 kB / 3.222 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/10.79, allocations: 45.03 kB / 3.222 GB, free: 27.9 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004552/10.79, allocations: 146.8 kB / 3.222 GB, free: 27.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/10.79, allocations: 302.3 kB / 3.223 GB, free: 27.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008592/10.8, allocations: 3.839 MB / 3.226 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/10.8, allocations: 30.25 kB / 3.226 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/10.8, allocations: 0 / 3.226 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/10.8, allocations: 3.609 kB / 3.226 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/10.81, allocations: 5.459 MB / 3.232 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/10.81, allocations: 11.56 kB / 3.232 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/10.81, allocations: 61.28 kB / 3.232 GB, free: 19.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/10.82, allocations: 1.935 MB / 3.234 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/10.82, allocations: 25.17 kB / 3.234 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008336/10.83, allocations: 4.116 MB / 3.238 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/10.83, allocations: 4 kB / 3.238 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009014/10.84, allocations: 3.24 MB / 3.241 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009377/10.84, allocations: 3.684 MB / 3.245 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/10.85, allocations: 305 kB / 3.245 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/10.85, allocations: 3.656 kB / 3.245 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/10.85, allocations: 77.38 kB / 3.245 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/10.85, allocations: 66.7 kB / 3.245 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/10.85, allocations: 27.7 kB / 3.245 GB, free: 7.508 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001059/10.85, allocations: 364.6 kB / 3.245 GB, free: 7.188 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01471/10.87, allocations: 1.629 MB / 3.247 GB, free: 5.594 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/10.88, allocations: 1.798 MB / 3.249 GB, free: 4.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008869/10.89, allocations: 2.472 MB / 3.251 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/10.89, allocations: 0 / 3.251 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005424/10.89, allocations: 1.455 MB / 3.253 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/10.9, allocations: 251.9 kB / 3.253 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2595/11.15, allocations: 15.26 MB / 3.268 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/11.16, allocations: 1.181 MB / 3.269 GB, free: 112.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.744e-06/11.16, allocations: 3.469 kB / 3.269 GB, free: 112.9 MB / 458.7 MB