Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.036/2.036, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2653/2.301, allocations: 51.05 MB / 267.3 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/2.434, allocations: 48.68 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/9.56, allocations: 2.84 GB / 3.149 GB, free: 93.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/9.561, allocations: 92.12 kB / 3.149 GB, free: 93.36 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 5.031/14.59, allocations: 1.095 GB / 4.244 GB, free: 52.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/14.59, allocations: 10.5 kB / 4.244 GB, free: 52.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/14.59, allocations: 89 kB / 4.245 GB, free: 52.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/14.59, allocations: 0.5482 MB / 4.245 GB, free: 52.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/14.59, allocations: 89.05 kB / 4.245 GB, free: 52.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/14.59, allocations: 29.66 kB / 4.245 GB, free: 52.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001575/14.6, allocations: 0.5584 MB / 4.246 GB, free: 52.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/14.6, allocations: 0.7323 MB / 4.246 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/14.6, allocations: 4.875 kB / 4.246 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/14.6, allocations: 5.312 kB / 4.246 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/14.6, allocations: 41.34 kB / 4.246 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006685/14.6, allocations: 3.992 MB / 4.25 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/14.61, allocations: 221.7 kB / 4.251 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/14.61, allocations: 168.3 kB / 4.251 GB, free: 49.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/14.61, allocations: 345.6 kB / 4.251 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/14.61, allocations: 41.03 kB / 4.251 GB, free: 48.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/14.61, allocations: 0.9375 kB / 4.251 GB, free: 48.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.005141/14.61, allocations: 1.255 MB / 4.252 GB, free: 48.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/14.61, allocations: 136.5 kB / 4.252 GB, free: 48.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/14.61, allocations: 462.1 kB / 4.253 GB, free: 48.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/14.61, allocations: 25.7 kB / 4.253 GB, free: 48.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/14.61, allocations: 331.4 kB / 4.253 GB, free: 48.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/14.61, allocations: 136.6 kB / 4.253 GB, free: 47.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/14.61, allocations: 0 / 4.253 GB, free: 47.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/14.61, allocations: 376.3 kB / 4.254 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/14.61, allocations: 208.6 kB / 4.254 GB, free: 47.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/14.61, allocations: 0.518 MB / 4.254 GB, free: 47.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/14.62, allocations: 323.3 kB / 4.255 GB, free: 47.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/14.62, allocations: 3.938 kB / 4.255 GB, free: 47.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003218/14.62, allocations: 0.8978 MB / 4.256 GB, free: 47.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/14.62, allocations: 2.938 kB / 4.256 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/14.62, allocations: 13.59 kB / 4.256 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/14.62, allocations: 223 kB / 4.256 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009644/14.62, allocations: 140.1 kB / 4.256 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/14.62, allocations: 0.8795 MB / 4.257 GB, free: 46.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/14.62, allocations: 38.28 kB / 4.257 GB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/14.62, allocations: 36.98 kB / 4.257 GB, free: 46.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/14.62, allocations: 136.3 kB / 4.257 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/14.62, allocations: 61.69 kB / 4.257 GB, free: 46.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/14.63, allocations: 0.6272 MB / 4.258 GB, free: 46.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/14.63, allocations: 9.438 kB / 4.258 GB, free: 46.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/14.63, allocations: 3.188 kB / 4.258 GB, free: 46.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/14.63, allocations: 7.609 kB / 4.258 GB, free: 46.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005871/14.63, allocations: 1.485 MB / 4.259 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/14.63, allocations: 3.969 kB / 4.259 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/14.64, allocations: 178.9 kB / 4.259 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/14.64, allocations: 57.02 kB / 4.259 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/14.64, allocations: 11.48 kB / 4.259 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/14.64, allocations: 2.666 MB / 4.262 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/14.64, allocations: 3.938 kB / 4.262 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00283/14.64, allocations: 0.9829 MB / 4.263 GB, free: 42.96 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003257/14.65, allocations: 1.664 MB / 4.265 GB, free: 42.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/14.65, allocations: 198.6 kB / 4.265 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/14.65, allocations: 6.719 kB / 4.265 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/14.65, allocations: 13.02 kB / 4.265 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/14.65, allocations: 24.89 kB / 4.265 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/14.65, allocations: 25.31 kB / 4.265 GB, free: 42.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006167/14.65, allocations: 329.4 kB / 4.265 GB, free: 42.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002337/14.65, allocations: 270.2 kB / 4.265 GB, free: 42.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008775/14.65, allocations: 404.2 kB / 4.266 GB, free: 41.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/14.65, allocations: 0.5497 MB / 4.266 GB, free: 41.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/14.65, allocations: 0 / 4.266 GB, free: 41.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/14.66, allocations: 470.7 kB / 4.267 GB, free: 41.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/14.66, allocations: 249.2 kB / 4.267 GB, free: 41.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/14.66, allocations: 0.9814 MB / 4.268 GB, free: 41.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/14.66, allocations: 1.021 MB / 4.269 GB, free: 40.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/14.66, allocations: 2.812 kB / 4.269 GB, free: 40.8 MB / 442.7 MB