Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"dynamic"}) [: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(Buildings): time 5.097/5.097, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3626/5.46, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/6.263, allocations: 92.7 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/7.811, allocations: 373.4 MB / 0.9492 GB, free: 58.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005308/7.812, allocations: 91.06 kB / 0.9493 GB, free: 58.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 2.907/10.72, allocations: 385.6 MB / 1.326 GB, free: 59.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/10.72, allocations: 8 kB / 1.326 GB, free: 59.98 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/10.72, allocations: 106.9 kB / 1.326 GB, free: 59.87 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/10.72, allocations: 0.5787 MB / 1.327 GB, free: 59.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/10.72, allocations: 19.98 kB / 1.327 GB, free: 59.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/10.72, allocations: 39.91 kB / 1.327 GB, free: 59.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/10.73, allocations: 274.6 kB / 1.327 GB, free: 58.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/10.73, allocations: 484.5 kB / 1.327 GB, free: 58.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/10.73, allocations: 0 / 1.327 GB, free: 58.41 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/10.73, allocations: 0 / 1.327 GB, free: 58.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.67e-05/10.73, allocations: 16 kB / 1.327 GB, free: 58.39 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007442/10.73, allocations: 2.724 MB / 1.33 GB, free: 55.48 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/10.74, allocations: 217 kB / 1.33 GB, free: 55.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/10.74, allocations: 80.22 kB / 1.33 GB, free: 55.13 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.124e-05/10.74, allocations: 12.06 kB / 1.33 GB, free: 55.12 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/10.74, allocations: 38.56 kB / 1.33 GB, free: 55.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 4.879e-06/10.74, allocations: 0 / 1.33 GB, free: 55.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.004055/10.74, allocations: 313 kB / 1.331 GB, free: 54.76 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/10.74, allocations: 162.2 kB / 1.331 GB, free: 54.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/10.74, allocations: 495.5 kB / 1.331 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/10.74, allocations: 29.81 kB / 1.331 GB, free: 54.04 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/10.74, allocations: 327.4 kB / 1.332 GB, free: 53.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/10.74, allocations: 59.19 kB / 1.332 GB, free: 53.65 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/10.74, allocations: 0 / 1.332 GB, free: 53.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001948/10.74, allocations: 374.8 kB / 1.332 GB, free: 53.28 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/10.74, allocations: 105 kB / 1.332 GB, free: 53.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/10.74, allocations: 268.9 kB / 1.332 GB, free: 52.83 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/10.75, allocations: 144.7 kB / 1.332 GB, free: 52.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/10.75, allocations: 0 / 1.332 GB, free: 52.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002215/10.75, allocations: 410.4 kB / 1.333 GB, free: 52.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004017/10.75, allocations: 1.311 MB / 1.334 GB, free: 50.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/10.75, allocations: 4 kB / 1.334 GB, free: 50.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/10.75, allocations: 4 kB / 1.334 GB, free: 50.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01338/10.76, allocations: 0.4955 MB / 1.335 GB, free: 50.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009475/10.77, allocations: 2.653 MB / 1.337 GB, free: 47.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/10.77, allocations: 103.6 kB / 1.337 GB, free: 47.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/10.77, allocations: 20 kB / 1.337 GB, free: 47.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/10.77, allocations: 7.938 kB / 1.337 GB, free: 47.5 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/10.78, allocations: 279.9 kB / 1.338 GB, free: 47.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/10.78, allocations: 4 kB / 1.338 GB, free: 47.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/10.78, allocations: 4 kB / 1.338 GB, free: 47.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/10.78, allocations: 123.8 kB / 1.338 GB, free: 47.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/10.78, allocations: 8 kB / 1.338 GB, free: 47.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/10.78, allocations: 79.84 kB / 1.338 GB, free: 47.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/10.78, allocations: 19.98 kB / 1.338 GB, free: 46.99 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003587/10.78, allocations: 120.9 kB / 1.338 GB, free: 46.87 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/10.78, allocations: 59.25 kB / 1.338 GB, free: 46.81 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/10.78, allocations: 49.31 kB / 1.338 GB, free: 46.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/10.78, allocations: 4 kB / 1.338 GB, free: 46.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/10.78, allocations: 3.906 kB / 1.338 GB, free: 46.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/10.78, allocations: 8 kB / 1.338 GB, free: 46.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/10.79, allocations: 0.9019 MB / 1.339 GB, free: 45.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/10.79, allocations: 4 kB / 1.339 GB, free: 45.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/10.8, allocations: 487.6 kB / 1.339 GB, free: 45.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/10.8, allocations: 0 / 1.339 GB, free: 45.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/10.8, allocations: 8 kB / 1.339 GB, free: 45.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/10.82, allocations: 5.597 MB / 1.345 GB, free: 39.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/10.82, allocations: 8.156 kB / 1.345 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001202/10.82, allocations: 384.8 kB / 1.345 GB, free: 38.8 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00139/10.82, allocations: 0.7863 MB / 1.346 GB, free: 37.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/10.82, allocations: 140.3 kB / 1.346 GB, free: 37.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/10.82, allocations: 0 / 1.346 GB, free: 37.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/10.83, allocations: 79.91 kB / 1.346 GB, free: 37.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/10.83, allocations: 19.83 kB / 1.346 GB, free: 37.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/10.83, allocations: 8 kB / 1.346 GB, free: 37.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001178/10.83, allocations: 371.2 kB / 1.347 GB, free: 37.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007986/10.84, allocations: 499 kB / 1.347 GB, free: 36.86 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/10.84, allocations: 444.1 kB / 1.348 GB, free: 36.42 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0169/10.85, allocations: 0.9474 MB / 1.348 GB, free: 35.47 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/10.85, allocations: 448 / 1.348 GB, free: 35.47 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01469/10.87, allocations: 0.6481 MB / 1.349 GB, free: 34.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/10.87, allocations: 284.3 kB / 1.349 GB, free: 34.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/10.88, allocations: 0.794 MB / 1.35 GB, free: 33.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/10.88, allocations: 1.004 MB / 1.351 GB, free: 32.69 MB / 0.7605 GB Notification: Performance of SimCode: time 4.148e-06/10.88, allocations: 0 / 1.351 GB, free: 32.69 MB / 0.7605 GB