Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.023/2.023, allocations: 235 MB / 241.9 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1893/2.212, allocations: 57.21 MB / 299.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/2.499, allocations: 54.85 MB / 354 MB, free: 13.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.49/8.989, allocations: 2.612 GB / 2.958 GB, free: 78.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/8.99, allocations: 83.02 kB / 2.958 GB, free: 78.15 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 2.1/11.09, allocations: 435.9 MB / 3.384 GB, free: 5.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/11.09, allocations: 11.94 kB / 3.384 GB, free: 5.297 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/11.09, allocations: 350.6 kB / 3.384 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/11.1, allocations: 0.5929 MB / 3.385 GB, free: 4.332 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/11.1, allocations: 32 kB / 3.385 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/11.1, allocations: 32 kB / 3.385 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001618/11.1, allocations: 0.5571 MB / 3.385 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/11.1, allocations: 0.6718 MB / 3.386 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/11.1, allocations: 0 / 3.386 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/11.1, allocations: 4 kB / 3.386 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/11.1, allocations: 29.31 kB / 3.386 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3622/11.46, allocations: 36.93 MB / 3.422 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/11.46, allocations: 404.7 kB / 3.422 GB, free: 76.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/11.46, allocations: 211.6 kB / 3.423 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06681/11.53, allocations: 20.1 MB / 3.442 GB, free: 63.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/11.53, allocations: 36.25 kB / 3.442 GB, free: 63.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.767e-06/11.53, allocations: 0 / 3.442 GB, free: 63.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.05417/11.59, allocations: 3.7 MB / 3.446 GB, free: 63.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/11.59, allocations: 108.8 kB / 3.446 GB, free: 62.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/11.59, allocations: 420.7 kB / 3.446 GB, free: 62.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002074/11.59, allocations: 25.7 kB / 3.446 GB, free: 62.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/11.59, allocations: 314.2 kB / 3.447 GB, free: 62.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/11.59, allocations: 203.5 kB / 3.447 GB, free: 62.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/11.59, allocations: 0 / 3.447 GB, free: 62.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/11.59, allocations: 377.1 kB / 3.447 GB, free: 62.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/11.59, allocations: 349 kB / 3.448 GB, free: 62.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/11.59, allocations: 0.5529 MB / 3.448 GB, free: 61.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/11.6, allocations: 0.5278 MB / 3.449 GB, free: 61.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/11.6, allocations: 6.812 kB / 3.449 GB, free: 61.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01213/11.61, allocations: 1.594 MB / 3.45 GB, free: 61.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007485/11.61, allocations: 2.435 MB / 3.453 GB, free: 59.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/11.61, allocations: 7.062 kB / 3.453 GB, free: 59.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009795/11.62, allocations: 0.829 MB / 3.453 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/11.62, allocations: 180.7 kB / 3.454 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/11.63, allocations: 2.053 MB / 3.456 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/11.63, allocations: 126.1 kB / 3.456 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004324/11.63, allocations: 58.17 kB / 3.456 GB, free: 58.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/11.63, allocations: 5.125 kB / 3.456 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009533/11.64, allocations: 1.053 MB / 3.457 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/11.64, allocations: 8.453 kB / 3.457 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/11.65, allocations: 372.7 kB / 3.457 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/11.65, allocations: 207.5 kB / 3.457 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/11.66, allocations: 1.562 MB / 3.459 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/11.66, allocations: 102.1 kB / 3.459 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/11.66, allocations: 48.53 kB / 3.459 GB, free: 57.11 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (69): * Single equations (assignments): 67 * 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 {2 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006418/11.66, allocations: 132.7 kB / 3.459 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/11.66, allocations: 272.8 kB / 3.459 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007561/11.67, allocations: 3.192 MB / 3.462 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/11.67, allocations: 27.38 kB / 3.463 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/11.67, allocations: 0 / 3.463 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/11.67, allocations: 4.922 kB / 3.463 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009729/11.68, allocations: 4.395 MB / 3.467 GB, free: 56.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/11.68, allocations: 0 / 3.467 GB, free: 56.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/11.68, allocations: 86.61 kB / 3.467 GB, free: 56.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005653/11.69, allocations: 1.262 MB / 3.468 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/11.69, allocations: 17.09 kB / 3.468 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/11.69, allocations: 2.455 MB / 3.471 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/11.69, allocations: 0 / 3.471 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006726/11.7, allocations: 2.712 MB / 3.473 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007104/11.7, allocations: 3.163 MB / 3.476 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/11.71, allocations: 295.7 kB / 3.477 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/11.71, allocations: 7.656 kB / 3.477 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/11.71, allocations: 91.72 kB / 3.477 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/11.71, allocations: 73.62 kB / 3.477 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/11.71, allocations: 32.41 kB / 3.477 GB, free: 53.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007623/11.71, allocations: 378.2 kB / 3.477 GB, free: 53.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01157/11.72, allocations: 1.83 MB / 3.479 GB, free: 53.88 MB / 490.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 13,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/11.73, allocations: 1.98 MB / 3.481 GB, free: 53.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006574/11.74, allocations: 2.017 MB / 3.483 GB, free: 53.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/11.74, allocations: 0 / 3.483 GB, free: 53.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/11.74, allocations: 1.243 MB / 3.484 GB, free: 53.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/11.75, allocations: 263 kB / 3.484 GB, free: 53.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0704/11.82, allocations: 15.22 MB / 3.499 GB, free: 52.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009725/11.82, allocations: 1.166 MB / 3.5 GB, free: 52.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/11.82, allocations: 2.188 kB / 3.5 GB, free: 52.11 MB / 490.7 MB