Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",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.779/4.779, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2812/5.061, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/5.694, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/6.881, allocations: 374.2 MB / 0.95 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/6.881, allocations: 99.61 kB / 0.9501 GB, free: 57.53 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 1.753/8.634, allocations: 279.6 MB / 1.223 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/8.634, allocations: 12 kB / 1.223 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/8.637, allocations: 166.9 kB / 1.223 GB, free: 166 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/8.641, allocations: 0.564 MB / 1.224 GB, free: 165.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/8.641, allocations: 12 kB / 1.224 GB, free: 165.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/8.641, allocations: 40 kB / 1.224 GB, free: 165.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001977/8.643, allocations: 317.9 kB / 1.224 GB, free: 165.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/8.645, allocations: 0.5137 MB / 1.225 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/8.645, allocations: 3.938 kB / 1.225 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/8.646, allocations: 4 kB / 1.225 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/8.646, allocations: 16 kB / 1.225 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/8.652, allocations: 2.992 MB / 1.228 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/8.653, allocations: 269.1 kB / 1.228 GB, free: 161.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/8.654, allocations: 116.3 kB / 1.228 GB, free: 160.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/8.654, allocations: 101.1 kB / 1.228 GB, free: 160.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/8.654, allocations: 42.55 kB / 1.228 GB, free: 160.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 3.687e-06/8.654, allocations: 7.938 kB / 1.228 GB, free: 160.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.006071/8.66, allocations: 0.6158 MB / 1.229 GB, free: 160.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/8.66, allocations: 158.2 kB / 1.229 GB, free: 159.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009261/8.661, allocations: 487.5 kB / 1.229 GB, free: 159.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/8.661, allocations: 25.7 kB / 1.229 GB, free: 159.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/8.662, allocations: 307.6 kB / 1.23 GB, free: 159.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/8.662, allocations: 79.03 kB / 1.23 GB, free: 159 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/8.662, allocations: 4 kB / 1.23 GB, free: 159 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001263/8.662, allocations: 366.8 kB / 1.23 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/8.663, allocations: 153 kB / 1.23 GB, free: 158.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/8.663, allocations: 357.1 kB / 1.231 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/8.666, allocations: 328.6 kB / 1.231 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/8.666, allocations: 7.938 kB / 1.231 GB, free: 157.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003546/8.669, allocations: 0.6466 MB / 1.232 GB, free: 157.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/8.67, allocations: 1.833 MB / 1.233 GB, free: 155.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/8.67, allocations: 8 kB / 1.233 GB, free: 155.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/8.67, allocations: 11.98 kB / 1.233 GB, free: 155.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/8.678, allocations: 459.5 kB / 1.234 GB, free: 154.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/8.683, allocations: 2 MB / 1.236 GB, free: 152.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/8.685, allocations: 139.4 kB / 1.236 GB, free: 152.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/8.685, allocations: 31.98 kB / 1.236 GB, free: 152.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/8.685, allocations: 4 kB / 1.236 GB, free: 152.4 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003226/8.689, allocations: 0.5195 MB / 1.236 GB, free: 151.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/8.689, allocations: 4 kB / 1.236 GB, free: 151.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/8.689, allocations: 8 kB / 1.236 GB, free: 151.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/8.691, allocations: 167.8 kB / 1.237 GB, free: 151.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/8.691, allocations: 11.94 kB / 1.237 GB, free: 151.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/8.693, allocations: 107.5 kB / 1.237 GB, free: 151.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/8.693, allocations: 23.98 kB / 1.237 GB, free: 151.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003006/8.693, allocations: 123.7 kB / 1.237 GB, free: 151.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/8.694, allocations: 67.16 kB / 1.237 GB, free: 151.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/8.697, allocations: 455.2 kB / 1.237 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/8.697, allocations: 4 kB / 1.237 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/8.697, allocations: 0 / 1.237 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/8.697, allocations: 4 kB / 1.237 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/8.703, allocations: 1.43 MB / 1.239 GB, free: 149.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/8.704, allocations: 3.906 kB / 1.239 GB, free: 149.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007032/8.711, allocations: 431.7 kB / 1.239 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/8.711, allocations: 4 kB / 1.239 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/8.711, allocations: 7.984 kB / 1.239 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/8.722, allocations: 4.199 MB / 1.243 GB, free: 144.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/8.722, allocations: 0 / 1.243 GB, free: 144.5 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002963/8.725, allocations: 0.6178 MB / 1.244 GB, free: 143.8 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003075/8.729, allocations: 1.024 MB / 1.245 GB, free: 142.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/8.729, allocations: 180.1 kB / 1.245 GB, free: 142.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/8.729, allocations: 8 kB / 1.245 GB, free: 142.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/8.731, allocations: 91.89 kB / 1.245 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/8.732, allocations: 23.88 kB / 1.245 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/8.732, allocations: 11.98 kB / 1.245 GB, free: 142.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006964/8.732, allocations: 363.2 kB / 1.246 GB, free: 142 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004498/8.737, allocations: 475.1 kB / 1.246 GB, free: 141.6 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/8.738, allocations: 387.8 kB / 1.246 GB, free: 141.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01073/8.749, allocations: 0.9916 MB / 1.247 GB, free: 140.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/8.749, allocations: 1.5 kB / 1.247 GB, free: 140.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00798/8.757, allocations: 0.5686 MB / 1.248 GB, free: 139.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/8.761, allocations: 273.4 kB / 1.248 GB, free: 139.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/8.765, allocations: 0.8583 MB / 1.249 GB, free: 138.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/8.766, allocations: 1.008 MB / 1.25 GB, free: 137.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.423e-06/8.766, allocations: 3.938 kB / 1.25 GB, free: 137.5 MB / 0.7605 GB