Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.239/2.239, allocations: 234.9 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1822/2.421, allocations: 57.22 MB / 299.1 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/2.718, allocations: 54.85 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.593/9.311, allocations: 2.612 GB / 2.957 GB, free: 79.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/9.312, allocations: 86.16 kB / 2.957 GB, free: 79.24 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.293/11.6, allocations: 434.9 MB / 3.382 GB, free: 7.301 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/11.6, allocations: 8 kB / 3.382 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/11.61, allocations: 350.7 kB / 3.383 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/11.61, allocations: 0.5794 MB / 3.383 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/11.61, allocations: 31.94 kB / 3.383 GB, free: 6.309 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/11.61, allocations: 32 kB / 3.383 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001492/11.61, allocations: 0.5376 MB / 3.384 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/11.61, allocations: 0.6594 MB / 3.384 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/11.61, allocations: 7.922 kB / 3.384 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/11.61, allocations: 4 kB / 3.384 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/11.61, allocations: 21 kB / 3.384 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5169/12.13, allocations: 68.97 MB / 3.452 GB, free: 65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/12.13, allocations: 308 kB / 3.452 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/12.13, allocations: 175 kB / 3.452 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08933/12.22, allocations: 17.02 MB / 3.469 GB, free: 53.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/12.22, allocations: 38.31 kB / 3.469 GB, free: 53.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 5.35e-06/12.22, allocations: 0 / 3.469 GB, free: 53.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.05246/12.27, allocations: 3.445 MB / 3.472 GB, free: 52.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/12.27, allocations: 111.6 kB / 3.472 GB, free: 52.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/12.28, allocations: 426.1 kB / 3.473 GB, free: 52.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/12.28, allocations: 28.98 kB / 3.473 GB, free: 52.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/12.28, allocations: 315.5 kB / 3.473 GB, free: 52.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/12.28, allocations: 179.2 kB / 3.473 GB, free: 52.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/12.28, allocations: 0 / 3.473 GB, free: 52.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/12.28, allocations: 376.3 kB / 3.474 GB, free: 52.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/12.28, allocations: 280 kB / 3.474 GB, free: 52.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/12.28, allocations: 0.4917 MB / 3.474 GB, free: 51.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/12.28, allocations: 460.5 kB / 3.475 GB, free: 51.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/12.28, allocations: 4 kB / 3.475 GB, free: 51.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.01185/12.29, allocations: 1.438 MB / 3.476 GB, free: 51.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006042/12.29, allocations: 2.61 MB / 3.479 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/12.29, allocations: 7.625 kB / 3.479 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004744/12.3, allocations: 0.5544 MB / 3.479 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/12.3, allocations: 195.7 kB / 3.479 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/12.31, allocations: 1.909 MB / 3.481 GB, free: 47.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/12.31, allocations: 139.5 kB / 3.481 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/12.31, allocations: 50.66 kB / 3.482 GB, free: 47.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/12.31, allocations: 3.875 kB / 3.482 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004886/12.31, allocations: 0.9327 MB / 3.482 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/12.31, allocations: 6.406 kB / 3.482 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/12.32, allocations: 371.9 kB / 3.483 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/12.32, allocations: 194.3 kB / 3.483 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/12.32, allocations: 1.575 MB / 3.485 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/12.32, allocations: 113.3 kB / 3.485 GB, free: 46.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/12.32, allocations: 35.84 kB / 3.485 GB, free: 46.75 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (68): * Single equations (assignments): 66 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004084/12.32, allocations: 136.2 kB / 3.485 GB, free: 46.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/12.33, allocations: 269.3 kB / 3.485 GB, free: 46.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007024/12.33, allocations: 2.354 MB / 3.487 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/12.33, allocations: 16.91 kB / 3.487 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/12.33, allocations: 0 / 3.487 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/12.33, allocations: 9.328 kB / 3.487 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008974/12.34, allocations: 3.313 MB / 3.491 GB, free: 46.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/12.34, allocations: 3.969 kB / 3.491 GB, free: 46.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/12.34, allocations: 103.9 kB / 3.491 GB, free: 46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004175/12.35, allocations: 1.007 MB / 3.492 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/12.35, allocations: 20.14 kB / 3.492 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005519/12.35, allocations: 2.297 MB / 3.494 GB, free: 44.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/12.35, allocations: 5.594 kB / 3.494 GB, free: 44.86 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009354/12.36, allocations: 1.971 MB / 3.496 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008723/12.37, allocations: 2.417 MB / 3.498 GB, free: 43.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/12.37, allocations: 292.5 kB / 3.499 GB, free: 43.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/12.37, allocations: 10.38 kB / 3.499 GB, free: 43.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/12.37, allocations: 99.42 kB / 3.499 GB, free: 43.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/12.37, allocations: 48.8 kB / 3.499 GB, free: 43.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/12.38, allocations: 29.64 kB / 3.499 GB, free: 43.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001271/12.38, allocations: 437.5 kB / 3.499 GB, free: 43.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0148/12.39, allocations: 1.807 MB / 3.501 GB, free: 43.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01708/12.41, allocations: 1.97 MB / 3.503 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008423/12.42, allocations: 1.506 MB / 3.504 GB, free: 43.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/12.42, allocations: 0.8125 kB / 3.504 GB, free: 43.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/12.42, allocations: 0.821 MB / 3.505 GB, free: 43.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/12.42, allocations: 233 kB / 3.505 GB, free: 43.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09893/12.52, allocations: 15.91 MB / 3.521 GB, free: 42.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/12.52, allocations: 1.111 MB / 3.522 GB, free: 41.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/12.52, allocations: 2.297 kB / 3.522 GB, free: 41.42 MB / 490.7 MB