Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_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 2.267/2.267, allocations: 235 MB / 241.9 MB, free: 9.555 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1985/2.466, allocations: 57.19 MB / 299.1 MB, free: 0.7188 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/2.796, allocations: 54.84 MB / 354 MB, free: 1.566 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.314/9.11, allocations: 2.595 GB / 2.941 GB, free: 112.9 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/9.11, allocations: 83.61 kB / 2.941 GB, free: 112.8 MB / 482.8 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.832/10.94, allocations: 353.6 MB / 3.286 GB, free: 54.95 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/10.94, allocations: 10.56 kB / 3.286 GB, free: 54.95 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005952/10.95, allocations: 474.6 kB / 3.287 GB, free: 54.91 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/10.95, allocations: 0.5804 MB / 3.287 GB, free: 54.68 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/10.95, allocations: 96.73 kB / 3.287 GB, free: 54.62 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/10.95, allocations: 32.28 kB / 3.287 GB, free: 54.62 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002139/10.95, allocations: 0.745 MB / 3.288 GB, free: 54.61 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/10.96, allocations: 0.8372 MB / 3.289 GB, free: 54.43 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/10.96, allocations: 3.938 kB / 3.289 GB, free: 54.43 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/10.96, allocations: 0 / 3.289 GB, free: 54.43 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/10.96, allocations: 44.03 kB / 3.289 GB, free: 54.43 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1515/11.11, allocations: 37.2 MB / 3.325 GB, free: 35.61 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/11.11, allocations: 395.2 kB / 3.326 GB, free: 35.59 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/11.11, allocations: 258.7 kB / 3.326 GB, free: 35.59 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/11.22, allocations: 31.54 MB / 3.357 GB, free: 31.73 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/11.22, allocations: 42.5 kB / 3.357 GB, free: 31.69 MB / 498.8 MB Notification: Performance of pre-optimization done (n=42): time 3.777e-06/11.22, allocations: 0 / 3.357 GB, free: 31.69 MB / 498.8 MB Notification: Performance of matching and sorting (n=54): time 0.03176/11.26, allocations: 3.408 MB / 3.36 GB, free: 31.32 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/11.26, allocations: 114.6 kB / 3.36 GB, free: 31.2 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/11.26, allocations: 416 kB / 3.361 GB, free: 31.07 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/11.26, allocations: 26.8 kB / 3.361 GB, free: 31.04 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/11.26, allocations: 315.4 kB / 3.361 GB, free: 30.83 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/11.26, allocations: 176.8 kB / 3.361 GB, free: 30.71 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/11.26, allocations: 0 / 3.361 GB, free: 30.71 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001855/11.26, allocations: 371.8 kB / 3.361 GB, free: 30.4 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/11.26, allocations: 440.6 kB / 3.362 GB, free: 30.4 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/11.26, allocations: 0.6575 MB / 3.363 GB, free: 30.12 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/11.26, allocations: 0.7404 MB / 3.363 GB, free: 30.09 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/11.26, allocations: 4 kB / 3.363 GB, free: 30.09 MB / 498.8 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008488/11.27, allocations: 2.023 MB / 3.365 GB, free: 29.98 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001157/11.27, allocations: 2.697 MB / 3.368 GB, free: 27.14 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/11.27, allocations: 11.06 kB / 3.368 GB, free: 27.14 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/11.28, allocations: 1.097 MB / 3.369 GB, free: 27.1 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/11.28, allocations: 152 kB / 3.369 GB, free: 27.1 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008032/11.29, allocations: 3.095 MB / 3.372 GB, free: 25.52 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/11.29, allocations: 94.94 kB / 3.372 GB, free: 25.51 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/11.29, allocations: 51.02 kB / 3.372 GB, free: 25.51 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/11.29, allocations: 7.812 kB / 3.372 GB, free: 25.51 MB / 498.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005219/11.29, allocations: 1.078 MB / 3.373 GB, free: 25.45 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/11.29, allocations: 8.938 kB / 3.373 GB, free: 25.45 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/11.29, allocations: 254.8 kB / 3.374 GB, free: 25.41 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/11.3, allocations: 199.7 kB / 3.374 GB, free: 25.41 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/11.3, allocations: 4.054 MB / 3.378 GB, free: 21.97 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/11.3, allocations: 70.67 kB / 3.378 GB, free: 21.96 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/11.3, allocations: 45.31 kB / 3.378 GB, free: 21.96 MB / 498.8 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.0007778/11.31, allocations: 127.1 kB / 3.378 GB, free: 21.85 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003256/11.31, allocations: 300.9 kB / 3.378 GB, free: 21.82 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/11.32, allocations: 3.836 MB / 3.382 GB, free: 21.52 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/11.32, allocations: 34.12 kB / 3.382 GB, free: 21.52 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/11.32, allocations: 0 / 3.382 GB, free: 21.52 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/11.32, allocations: 3.75 kB / 3.382 GB, free: 21.52 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/11.35, allocations: 5.469 MB / 3.387 GB, free: 21.04 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/11.35, allocations: 5.188 kB / 3.387 GB, free: 21.04 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/11.35, allocations: 68.64 kB / 3.387 GB, free: 21.04 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008198/11.36, allocations: 1.933 MB / 3.389 GB, free: 20.95 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/11.36, allocations: 19.89 kB / 3.389 GB, free: 20.94 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/11.37, allocations: 4.119 MB / 3.393 GB, free: 19.32 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/11.37, allocations: 0.9375 kB / 3.393 GB, free: 19.32 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01333/11.38, allocations: 3.235 MB / 3.397 GB, free: 16.63 MB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01384/11.4, allocations: 3.684 MB / 3.4 GB, free: 13.29 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/11.4, allocations: 314.8 kB / 3.4 GB, free: 13.01 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/11.4, allocations: 7.516 kB / 3.4 GB, free: 13 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/11.4, allocations: 66.58 kB / 3.4 GB, free: 12.95 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/11.4, allocations: 66.98 kB / 3.401 GB, free: 12.92 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/11.4, allocations: 27.61 kB / 3.401 GB, free: 12.89 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.001008/11.4, allocations: 357.5 kB / 3.401 GB, free: 12.58 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.01475/11.42, allocations: 1.654 MB / 3.403 GB, free: 10.96 MB / 498.8 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.01782/11.44, allocations: 1.807 MB / 3.404 GB, free: 9.477 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.01244/11.45, allocations: 2.47 MB / 3.407 GB, free: 7.277 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/11.45, allocations: 0 / 3.407 GB, free: 7.277 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007822/11.46, allocations: 1.449 MB / 3.408 GB, free: 5.996 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/11.46, allocations: 246.2 kB / 3.408 GB, free: 5.816 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/11.57, allocations: 15.49 MB / 3.423 GB, free: 10.22 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/11.58, allocations: 1.181 MB / 3.425 GB, free: 9.16 MB / 0.5027 GB Notification: Performance of SimCode: time 2.354e-06/11.58, allocations: 0 / 3.425 GB, free: 9.16 MB / 0.5027 GB