Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_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 2.511/2.511, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1585/2.67, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/2.957, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.467/9.423, allocations: 2.613 GB / 2.959 GB, free: 77.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/9.424, allocations: 84.81 kB / 2.959 GB, free: 77.93 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 3.685/13.11, allocations: 0.7568 GB / 3.716 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/13.11, allocations: 9.562 kB / 3.716 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008459/13.12, allocations: 0.6862 MB / 3.716 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/13.12, allocations: 1.001 MB / 3.717 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/13.12, allocations: 48.91 kB / 3.717 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/13.12, allocations: 65.12 kB / 3.718 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003632/13.13, allocations: 1.08 MB / 3.719 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/13.13, allocations: 1.305 MB / 3.72 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/13.13, allocations: 11.44 kB / 3.72 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/13.13, allocations: 3.5 kB / 3.72 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/13.13, allocations: 46.77 kB / 3.72 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5651/13.7, allocations: 73.85 MB / 3.792 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/13.7, allocations: 0.6915 MB / 3.793 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/13.7, allocations: 408.8 kB / 3.793 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06692/13.77, allocations: 20.26 MB / 3.813 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/13.77, allocations: 41.78 kB / 3.813 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=86): time 3.787e-06/13.77, allocations: 3.562 kB / 3.813 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120): time 0.05636/13.82, allocations: 4.991 MB / 3.818 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/13.82, allocations: 173.5 kB / 3.818 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/13.82, allocations: 0.7148 MB / 3.819 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003638/13.82, allocations: 28.42 kB / 3.819 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/13.82, allocations: 0.4972 MB / 3.819 GB, free: 80.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/13.82, allocations: 388.5 kB / 3.82 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/13.83, allocations: 1.203 kB / 3.82 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001189/13.83, allocations: 364.5 kB / 3.82 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/13.83, allocations: 0.5712 MB / 3.82 GB, free: 80 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/13.83, allocations: 0.9727 MB / 3.821 GB, free: 79.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/13.84, allocations: 0.9273 MB / 3.822 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-05/13.84, allocations: 3.312 kB / 3.822 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.02084/13.86, allocations: 2.744 MB / 3.825 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0018/13.86, allocations: 4.609 MB / 3.83 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.541e-05/13.86, allocations: 14.16 kB / 3.83 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007637/13.87, allocations: 0.8509 MB / 3.83 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/13.87, allocations: 389.4 kB / 3.831 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/13.89, allocations: 3.598 MB / 3.834 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/13.9, allocations: 231.2 kB / 3.834 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000655/13.9, allocations: 93.84 kB / 3.835 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/13.9, allocations: 6.125 kB / 3.835 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/13.91, allocations: 1.475 MB / 3.836 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.495e-05/13.91, allocations: 14.06 kB / 3.836 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-05/13.91, allocations: 22.59 kB / 3.836 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/13.92, allocations: 0.6404 MB / 3.837 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.659e-05/13.92, allocations: 29.86 kB / 3.837 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/13.92, allocations: 217.8 kB / 3.837 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004774/13.92, allocations: 80.23 kB / 3.837 GB, free: 72.42 MB / 0.5105 GB 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.000973/13.93, allocations: 159 kB / 3.837 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00284/13.93, allocations: 0.5304 MB / 3.838 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/13.94, allocations: 5.86 MB / 3.843 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.256e-05/13.94, allocations: 52.06 kB / 3.843 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/13.94, allocations: 3.812 kB / 3.843 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-05/13.94, allocations: 7.078 kB / 3.843 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/13.96, allocations: 7.901 MB / 3.851 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/13.96, allocations: 3.906 kB / 3.851 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/13.96, allocations: 244.2 kB / 3.851 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/13.97, allocations: 1.661 MB / 3.853 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003489/13.97, allocations: 28.05 kB / 3.853 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009064/13.98, allocations: 4.451 MB / 3.857 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/13.98, allocations: 6.625 kB / 3.857 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01196/13.99, allocations: 4.689 MB / 3.862 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01265/14, allocations: 5.219 MB / 3.867 GB, free: 67.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/14.01, allocations: 479.2 kB / 3.868 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/14.01, allocations: 4.875 kB / 3.868 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/14.01, allocations: 204.5 kB / 3.868 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/14.01, allocations: 127.2 kB / 3.868 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/14.01, allocations: 63.38 kB / 3.868 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001465/14.01, allocations: 0.6317 MB / 3.869 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01382/14.03, allocations: 2.287 MB / 3.871 GB, free: 66.98 MB / 0.5105 GB 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.01471/14.04, allocations: 2.436 MB / 3.873 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01087/14.05, allocations: 3.541 MB / 3.877 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/14.05, allocations: 7.406 kB / 3.877 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005647/14.06, allocations: 2.37 MB / 3.879 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005394/14.06, allocations: 493.9 kB / 3.879 GB, free: 66.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09302/14.16, allocations: 18 MB / 3.897 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/14.16, allocations: 1.609 MB / 3.899 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/14.16, allocations: 0 / 3.899 GB, free: 65.19 MB / 0.5105 GB