Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.661/4.661, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2742/4.935, allocations: 95 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/5.516, allocations: 92.68 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/6.605, allocations: 372.7 MB / 0.9485 GB, free: 58.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/6.606, allocations: 92.31 kB / 0.9486 GB, free: 58.78 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 1.17/7.776, allocations: 164.5 MB / 1.109 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/7.776, allocations: 6.719 kB / 1.109 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/7.777, allocations: 63.61 kB / 1.109 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/7.778, allocations: 431.8 kB / 1.11 GB, free: 232.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/7.778, allocations: 10.59 kB / 1.11 GB, free: 232.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/7.778, allocations: 27.98 kB / 1.11 GB, free: 232.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006533/7.779, allocations: 151.6 kB / 1.11 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/7.78, allocations: 314.5 kB / 1.11 GB, free: 232 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/7.78, allocations: 7.609 kB / 1.11 GB, free: 232 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/7.78, allocations: 3.938 kB / 1.11 GB, free: 232 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/7.78, allocations: 11.09 kB / 1.11 GB, free: 232 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/7.783, allocations: 1.917 MB / 1.112 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/7.784, allocations: 163.8 kB / 1.112 GB, free: 230.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/7.784, allocations: 60.23 kB / 1.112 GB, free: 230.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/7.784, allocations: 13.39 kB / 1.112 GB, free: 230.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/7.784, allocations: 36.91 kB / 1.112 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 3.226e-06/7.784, allocations: 0 / 1.112 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.002001/7.786, allocations: 230.9 kB / 1.113 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/7.786, allocations: 157.8 kB / 1.113 GB, free: 230.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/7.787, allocations: 366.1 kB / 1.113 GB, free: 230.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/7.787, allocations: 29.08 kB / 1.113 GB, free: 230 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/7.787, allocations: 225 kB / 1.113 GB, free: 229.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/7.787, allocations: 42.34 kB / 1.113 GB, free: 229.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/7.787, allocations: 0 / 1.113 GB, free: 229.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001087/7.787, allocations: 348 kB / 1.114 GB, free: 229.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/7.787, allocations: 63.98 kB / 1.114 GB, free: 229.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/7.788, allocations: 222.9 kB / 1.114 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/7.788, allocations: 106.8 kB / 1.114 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/7.788, allocations: 0 / 1.114 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009087/7.789, allocations: 282.8 kB / 1.114 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002868/7.789, allocations: 1.31 MB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/7.79, allocations: 7.562 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/7.79, allocations: 7.812 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/7.791, allocations: 81.06 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/7.791, allocations: 12.06 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/7.792, allocations: 62.7 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/7.792, allocations: 20.03 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/7.792, allocations: 3.219 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006578/7.793, allocations: 182.4 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/7.793, allocations: 2.969 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/7.793, allocations: 7.719 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/7.793, allocations: 72.47 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/7.793, allocations: 9.906 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/7.794, allocations: 41.47 kB / 1.116 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/7.794, allocations: 9.938 kB / 1.116 GB, free: 228 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.0001846/7.794, allocations: 130.4 kB / 1.116 GB, free: 227.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/7.795, allocations: 37.28 kB / 1.116 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/7.795, allocations: 132.2 kB / 1.116 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/7.795, allocations: 0 / 1.116 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/7.795, allocations: 3.938 kB / 1.116 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/7.795, allocations: 3.469 kB / 1.116 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/7.797, allocations: 0.7623 MB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.797, allocations: 1.969 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/7.798, allocations: 45.31 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/7.798, allocations: 3.906 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/7.798, allocations: 3.781 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/7.798, allocations: 0.9375 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/7.798, allocations: 6.562 kB / 1.117 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005535/7.798, allocations: 332.6 kB / 1.117 GB, free: 227 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006483/7.799, allocations: 0.7098 MB / 1.118 GB, free: 226.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/7.799, allocations: 122.3 kB / 1.118 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/7.799, allocations: 0 / 1.118 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/7.8, allocations: 56.33 kB / 1.118 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/7.8, allocations: 10.86 kB / 1.118 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/7.8, allocations: 3.875 kB / 1.118 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0005245/7.801, allocations: 287 kB / 1.119 GB, free: 226.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003713/7.805, allocations: 278.5 kB / 1.119 GB, free: 226.2 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 (11): * Single equations (assignments): 11 * 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.001315/7.806, allocations: 385.9 kB / 1.119 GB, free: 226.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001059/7.807, allocations: 329.4 kB / 1.12 GB, free: 226 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/7.807, allocations: 0 / 1.12 GB, free: 226 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/7.807, allocations: 56.19 kB / 1.12 GB, free: 226 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/7.81, allocations: 179.3 kB / 1.12 GB, free: 226 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/7.826, allocations: 1.096 MB / 1.121 GB, free: 225.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/7.827, allocations: 0.8845 MB / 1.122 GB, free: 225.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/7.827, allocations: 0 / 1.122 GB, free: 225.1 MB / 0.7605 GB