Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.884/1.884, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2506/2.135, allocations: 51.05 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/2.274, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.238/8.512, allocations: 2.503 GB / 2.811 GB, free: 98.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/8.512, allocations: 86.17 kB / 2.812 GB, free: 98.41 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 3.651/12.16, allocations: 0.7368 GB / 3.548 GB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/12.16, allocations: 8 kB / 3.548 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008239/12.17, allocations: 0.6498 MB / 3.549 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/12.18, allocations: 1.011 MB / 3.55 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/12.18, allocations: 48 kB / 3.55 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/12.18, allocations: 64 kB / 3.55 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003346/12.18, allocations: 1.086 MB / 3.551 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/12.18, allocations: 1.301 MB / 3.552 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/12.18, allocations: 7.938 kB / 3.552 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/12.18, allocations: 4 kB / 3.552 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/12.18, allocations: 45.95 kB / 3.552 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.531/12.71, allocations: 73.77 MB / 3.624 GB, free: 45.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/12.72, allocations: 0.6891 MB / 3.625 GB, free: 45.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/12.72, allocations: 410.3 kB / 3.626 GB, free: 45.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06738/12.78, allocations: 20.22 MB / 3.645 GB, free: 32.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/12.78, allocations: 50.34 kB / 3.645 GB, free: 32.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=86): time 3.396e-06/12.78, allocations: 2.344 kB / 3.645 GB, free: 32.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=120): time 0.0572/12.84, allocations: 5 MB / 3.65 GB, free: 31.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/12.84, allocations: 167.8 kB / 3.65 GB, free: 31.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/12.84, allocations: 0.7165 MB / 3.651 GB, free: 31.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/12.84, allocations: 29.7 kB / 3.651 GB, free: 31.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/12.84, allocations: 0.5008 MB / 3.652 GB, free: 31.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/12.84, allocations: 387.6 kB / 3.652 GB, free: 31.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/12.84, allocations: 3.719 kB / 3.652 GB, free: 31.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/12.85, allocations: 362.2 kB / 3.652 GB, free: 30.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/12.85, allocations: 0.5779 MB / 3.653 GB, free: 30.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/12.85, allocations: 0.9728 MB / 3.654 GB, free: 30.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005566/12.85, allocations: 0.9238 MB / 3.655 GB, free: 30.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/12.85, allocations: 3.812 kB / 3.655 GB, free: 30.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01297/12.87, allocations: 2.739 MB / 3.657 GB, free: 30.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0012/12.87, allocations: 4.61 MB / 3.662 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-05/12.87, allocations: 15.44 kB / 3.662 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005172/12.87, allocations: 0.8526 MB / 3.663 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/12.88, allocations: 382.1 kB / 3.663 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/12.89, allocations: 3.59 MB / 3.667 GB, free: 39.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/12.89, allocations: 241.5 kB / 3.667 GB, free: 39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/12.89, allocations: 90.09 kB / 3.667 GB, free: 39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/12.89, allocations: 7.5 kB / 3.667 GB, free: 39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00653/12.9, allocations: 1.478 MB / 3.668 GB, free: 38.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/12.9, allocations: 10.81 kB / 3.668 GB, free: 38.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/12.9, allocations: 26.8 kB / 3.668 GB, free: 38.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006696/12.91, allocations: 0.643 MB / 3.669 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.502e-05/12.91, allocations: 25.89 kB / 3.669 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/12.91, allocations: 210.7 kB / 3.669 GB, free: 38.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/12.91, allocations: 78.94 kB / 3.669 GB, free: 38.92 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (142): * Single equations (assignments): 138 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008571/12.91, allocations: 167.1 kB / 3.67 GB, free: 38.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002601/12.91, allocations: 0.533 MB / 3.67 GB, free: 38.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/12.93, allocations: 5.855 MB / 3.676 GB, free: 38.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.886e-05/12.93, allocations: 50.78 kB / 3.676 GB, free: 38.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/12.93, allocations: 1.422 kB / 3.676 GB, free: 38.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/12.93, allocations: 8.297 kB / 3.676 GB, free: 38.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/12.95, allocations: 7.912 MB / 3.684 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/12.95, allocations: 6.906 kB / 3.684 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/12.95, allocations: 246.8 kB / 3.684 GB, free: 37.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005796/12.95, allocations: 1.663 MB / 3.685 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/12.95, allocations: 33.7 kB / 3.685 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00911/12.96, allocations: 4.447 MB / 3.69 GB, free: 35.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/12.96, allocations: 7.219 kB / 3.69 GB, free: 35.29 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01183/12.98, allocations: 4.693 MB / 3.694 GB, free: 34.69 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01272/12.99, allocations: 5.219 MB / 3.699 GB, free: 33.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/12.99, allocations: 484.6 kB / 3.7 GB, free: 33.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/12.99, allocations: 3.719 kB / 3.7 GB, free: 33.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/12.99, allocations: 202.3 kB / 3.7 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/12.99, allocations: 127.1 kB / 3.7 GB, free: 33.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/12.99, allocations: 64.97 kB / 3.7 GB, free: 33.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001438/13, allocations: 0.6343 MB / 3.701 GB, free: 33.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01414/13.01, allocations: 2.269 MB / 3.703 GB, free: 33.35 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 30 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 14,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01398/13.02, allocations: 2.426 MB / 3.706 GB, free: 32.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/13.03, allocations: 3.538 MB / 3.709 GB, free: 32.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/13.03, allocations: 1.5 kB / 3.709 GB, free: 32.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005831/13.04, allocations: 2.378 MB / 3.711 GB, free: 32.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/13.05, allocations: 486.9 kB / 3.712 GB, free: 32.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07517/13.12, allocations: 17.54 MB / 3.729 GB, free: 31.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/13.12, allocations: 1.615 MB / 3.73 GB, free: 30.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.894e-06/13.12, allocations: 0 / 3.73 GB, free: 30.52 MB / 474.7 MB