Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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 4.757/4.757, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2728/5.03, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/5.639, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/6.765, allocations: 403.1 MB / 0.9782 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/6.766, allocations: 97.81 kB / 0.9783 GB, free: 29.12 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 8.216/14.98, allocations: 1.037 GB / 2.015 GB, free: 84.17 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/14.98, allocations: 7.125 kB / 2.015 GB, free: 84.17 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/14.98, allocations: 274.3 kB / 2.015 GB, free: 84.04 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00804/14.99, allocations: 1.61 MB / 2.017 GB, free: 83.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/14.99, allocations: 40.47 kB / 2.017 GB, free: 83.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/14.99, allocations: 90.31 kB / 2.017 GB, free: 83.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004018/15, allocations: 0.9479 MB / 2.018 GB, free: 83.69 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/15, allocations: 1.198 MB / 2.019 GB, free: 83.48 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.956e-05/15, allocations: 2.25 kB / 2.019 GB, free: 83.48 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/15, allocations: 9.844 kB / 2.019 GB, free: 83.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/15, allocations: 35.75 kB / 2.019 GB, free: 83.48 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/15.02, allocations: 6.585 MB / 2.025 GB, free: 80.39 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/15.03, allocations: 0.5903 MB / 2.026 GB, free: 80.29 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/15.03, allocations: 344.8 kB / 2.026 GB, free: 80.26 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/15.03, allocations: 17.23 kB / 2.026 GB, free: 80.26 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/15.03, allocations: 45.78 kB / 2.026 GB, free: 80.22 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=52): time 7.003e-06/15.03, allocations: 0 / 2.026 GB, free: 80.22 MB / 0.7917 GB Notification: Performance of matching and sorting (n=52): time 0.01886/15.05, allocations: 1.142 MB / 2.028 GB, free: 80.09 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/15.05, allocations: 137.5 kB / 2.028 GB, free: 79.93 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009686/15.06, allocations: 1.281 MB / 2.029 GB, free: 79.72 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005646/15.06, allocations: 31.58 kB / 2.029 GB, free: 79.69 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/15.06, allocations: 0.6609 MB / 2.03 GB, free: 79.35 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000508/15.06, allocations: 177.4 kB / 2.03 GB, free: 79.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/15.06, allocations: 0 / 2.03 GB, free: 79.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.007768/15.07, allocations: 352.5 kB / 2.03 GB, free: 78.93 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/15.07, allocations: 453.4 kB / 2.031 GB, free: 78.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007751/15.08, allocations: 0.8065 MB / 2.031 GB, free: 78.54 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/15.08, allocations: 0.5484 MB / 2.032 GB, free: 78.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/15.08, allocations: 2.344 kB / 2.032 GB, free: 78.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01146/15.09, allocations: 1.421 MB / 2.033 GB, free: 78.36 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006352/15.09, allocations: 2.54 MB / 2.036 GB, free: 75.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/15.09, allocations: 3.875 kB / 2.036 GB, free: 75.71 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.293e-05/15.09, allocations: 16.12 kB / 2.036 GB, free: 75.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/15.1, allocations: 381.4 kB / 2.036 GB, free: 75.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/15.1, allocations: 21.23 kB / 2.036 GB, free: 75.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/15.1, allocations: 275.2 kB / 2.036 GB, free: 75.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005363/15.11, allocations: 74.83 kB / 2.036 GB, free: 75.64 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/15.11, allocations: 3.344 kB / 2.036 GB, free: 75.64 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004053/15.11, allocations: 1.055 MB / 2.038 GB, free: 75.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/15.11, allocations: 7.25 kB / 2.038 GB, free: 75.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/15.11, allocations: 15.47 kB / 2.038 GB, free: 75.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/15.11, allocations: 306.9 kB / 2.038 GB, free: 75.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/15.11, allocations: 17.92 kB / 2.038 GB, free: 75.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/15.12, allocations: 168.5 kB / 2.038 GB, free: 75.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/15.12, allocations: 63.3 kB / 2.038 GB, free: 75.57 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006868/15.12, allocations: 137.5 kB / 2.038 GB, free: 75.46 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008813/15.12, allocations: 175.3 kB / 2.038 GB, free: 75.37 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/15.12, allocations: 0.9463 MB / 2.039 GB, free: 75.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/15.12, allocations: 10.53 kB / 2.039 GB, free: 75.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/15.12, allocations: 6.859 kB / 2.039 GB, free: 75.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/15.12, allocations: 0 / 2.039 GB, free: 75.3 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/15.13, allocations: 1.765 MB / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/15.13, allocations: 0 / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002992/15.13, allocations: 189.3 kB / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/15.13, allocations: 3.688 kB / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/15.13, allocations: 11.52 kB / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/15.13, allocations: 3.625 kB / 2.041 GB, free: 74.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/15.13, allocations: 6.344 kB / 2.041 GB, free: 74.82 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003424/15.14, allocations: 1.006 MB / 2.042 GB, free: 74.48 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003993/15.14, allocations: 1.5 MB / 2.044 GB, free: 73.76 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/15.14, allocations: 255.2 kB / 2.044 GB, free: 73.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007775/15.14, allocations: 0 / 2.044 GB, free: 73.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004547/15.15, allocations: 166.5 kB / 2.044 GB, free: 73.56 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/15.15, allocations: 41.92 kB / 2.044 GB, free: 73.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/15.15, allocations: 27.41 kB / 2.044 GB, free: 73.56 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.002775/15.15, allocations: 0.9296 MB / 2.045 GB, free: 73.41 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01082/15.16, allocations: 1.246 MB / 2.046 GB, free: 73.29 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002384/15.17, allocations: 0.9478 MB / 2.047 GB, free: 73.03 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006221/15.17, allocations: 1.688 MB / 2.049 GB, free: 73 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/15.17, allocations: 0 / 2.049 GB, free: 73 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/15.17, allocations: 372.5 kB / 2.049 GB, free: 73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/15.19, allocations: 0.8797 MB / 2.05 GB, free: 72.99 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09324/15.28, allocations: 4.56 MB / 2.055 GB, free: 72.33 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004742/15.28, allocations: 1.619 MB / 2.056 GB, free: 71.6 MB / 0.7917 GB Notification: Performance of SimCode: time 2.395e-06/15.28, allocations: 0 / 2.056 GB, free: 71.6 MB / 0.7917 GB