Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.973/1.973, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/2.224, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/2.337, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.788/8.125, allocations: 2.502 GB / 2.81 GB, free: 99.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/8.126, allocations: 85.7 kB / 2.81 GB, free: 99.13 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.041/10.17, allocations: 424.3 MB / 3.224 GB, free: 4.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/10.17, allocations: 8 kB / 3.225 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/10.17, allocations: 334.7 kB / 3.225 GB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/10.17, allocations: 0.5833 MB / 3.225 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/10.17, allocations: 27.91 kB / 3.225 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/10.17, allocations: 32 kB / 3.225 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/10.17, allocations: 0.5376 MB / 3.226 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/10.18, allocations: 0.6582 MB / 3.227 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/10.18, allocations: 3.938 kB / 3.227 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/10.18, allocations: 7.938 kB / 3.227 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/10.18, allocations: 21 kB / 3.227 GB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/10.19, allocations: 5.943 MB / 3.232 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/10.19, allocations: 311 kB / 3.233 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/10.19, allocations: 218.2 kB / 3.233 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5357/10.73, allocations: 81.98 MB / 3.313 GB, free: 40.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/10.73, allocations: 37.72 kB / 3.313 GB, free: 40.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.246e-06/10.73, allocations: 0 / 3.313 GB, free: 40.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=51): time 0.009974/10.74, allocations: 1.813 MB / 3.315 GB, free: 40.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/10.74, allocations: 107 kB / 3.315 GB, free: 40.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/10.74, allocations: 386 kB / 3.315 GB, free: 40.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/10.74, allocations: 29.53 kB / 3.315 GB, free: 39.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/10.74, allocations: 280.2 kB / 3.316 GB, free: 39.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/10.74, allocations: 171.6 kB / 3.316 GB, free: 39.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/10.74, allocations: 4 kB / 3.316 GB, free: 39.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/10.74, allocations: 369.8 kB / 3.316 GB, free: 39.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/10.74, allocations: 209 kB / 3.316 GB, free: 39.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/10.74, allocations: 407.9 kB / 3.317 GB, free: 39.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/10.74, allocations: 352.5 kB / 3.317 GB, free: 39.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/10.74, allocations: 3.031 kB / 3.317 GB, free: 39.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005415/10.75, allocations: 1.13 MB / 3.318 GB, free: 39.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005191/10.75, allocations: 2.172 MB / 3.32 GB, free: 36.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/10.75, allocations: 7.156 kB / 3.32 GB, free: 36.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/10.75, allocations: 299.1 kB / 3.321 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/10.75, allocations: 153.6 kB / 3.321 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/10.75, allocations: 1.016 MB / 3.322 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/10.76, allocations: 91.02 kB / 3.322 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/10.76, allocations: 39.05 kB / 3.322 GB, free: 36.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/10.76, allocations: 3.906 kB / 3.322 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00334/10.76, allocations: 0.7531 MB / 3.323 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/10.76, allocations: 4.906 kB / 3.323 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/10.76, allocations: 273.7 kB / 3.323 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/10.76, allocations: 158.6 kB / 3.323 GB, free: 36.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/10.76, allocations: 0.908 MB / 3.324 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/10.77, allocations: 89.2 kB / 3.324 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/10.77, allocations: 35.58 kB / 3.324 GB, free: 35.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002874/10.77, allocations: 121.6 kB / 3.324 GB, free: 35.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/10.77, allocations: 274 kB / 3.324 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/10.77, allocations: 2.579 MB / 3.327 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/10.77, allocations: 34.27 kB / 3.327 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/10.77, allocations: 0 / 3.327 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/10.77, allocations: 3.234 kB / 3.327 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/10.78, allocations: 3.422 MB / 3.33 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/10.78, allocations: 2.438 kB / 3.33 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/10.78, allocations: 156.6 kB / 3.33 GB, free: 34.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/10.78, allocations: 67.95 kB / 3.33 GB, free: 34.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/10.78, allocations: 10.62 kB / 3.33 GB, free: 34.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000837/10.78, allocations: 1.219 MB / 3.332 GB, free: 33.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/10.78, allocations: 0 / 3.332 GB, free: 33.78 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007211/10.79, allocations: 2.682 MB / 3.334 GB, free: 33.47 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009776/10.8, allocations: 3.717 MB / 3.338 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/10.8, allocations: 270.7 kB / 3.338 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/10.8, allocations: 1.281 kB / 3.338 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/10.8, allocations: 64.05 kB / 3.338 GB, free: 32.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/10.8, allocations: 53.92 kB / 3.338 GB, free: 32.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/10.8, allocations: 34.94 kB / 3.338 GB, free: 32.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008356/10.8, allocations: 323.5 kB / 3.339 GB, free: 32.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02534/10.83, allocations: 1.645 MB / 3.34 GB, free: 32.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02951/10.86, allocations: 1.882 MB / 3.342 GB, free: 32.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005189/10.86, allocations: 1.571 MB / 3.344 GB, free: 32.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/10.86, allocations: 0 / 3.344 GB, free: 32.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003399/10.87, allocations: 1.103 MB / 3.345 GB, free: 32.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/10.87, allocations: 258 kB / 3.345 GB, free: 32.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06694/10.94, allocations: 14.79 MB / 3.359 GB, free: 31.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/10.94, allocations: 1.16 MB / 3.361 GB, free: 30.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/10.94, allocations: 0 / 3.361 GB, free: 30.55 MB / 442.7 MB