Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.973/4.973, allocations: 403.9 MB / 410.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2418/5.215, allocations: 95.01 MB / 0.4941 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/5.762, allocations: 92.67 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.999/6.761, allocations: 377.2 MB / 0.953 GB, free: 54.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/6.762, allocations: 96.56 kB / 0.9531 GB, free: 54.3 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 1.062/7.824, allocations: 164.8 MB / 1.114 GB, free: 221 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/7.824, allocations: 14.59 kB / 1.114 GB, free: 221 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/7.824, allocations: 75.86 kB / 1.114 GB, free: 221 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/7.826, allocations: 468.6 kB / 1.115 GB, free: 220.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/7.826, allocations: 11.31 kB / 1.115 GB, free: 220.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/7.826, allocations: 25.81 kB / 1.115 GB, free: 220.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006549/7.827, allocations: 184.2 kB / 1.115 GB, free: 220.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/7.827, allocations: 336.9 kB / 1.115 GB, free: 220.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/7.827, allocations: 4.531 kB / 1.115 GB, free: 220.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/7.828, allocations: 0 / 1.115 GB, free: 220.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/7.828, allocations: 11.5 kB / 1.115 GB, free: 220.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/7.831, allocations: 2.128 MB / 1.117 GB, free: 219.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/7.831, allocations: 153.3 kB / 1.117 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/7.832, allocations: 61.06 kB / 1.117 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/7.834, allocations: 1.305 MB / 1.119 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/7.834, allocations: 33.94 kB / 1.119 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/7.834, allocations: 0 / 1.119 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.001422/7.835, allocations: 222.8 kB / 1.119 GB, free: 217.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/7.835, allocations: 105.6 kB / 1.119 GB, free: 217.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/7.836, allocations: 499.8 kB / 1.119 GB, free: 217.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/7.836, allocations: 29.61 kB / 1.12 GB, free: 217.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/7.837, allocations: 249.1 kB / 1.12 GB, free: 217.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/7.837, allocations: 51.44 kB / 1.12 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/7.837, allocations: 0 / 1.12 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001123/7.837, allocations: 359.7 kB / 1.12 GB, free: 217 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/7.837, allocations: 73.56 kB / 1.12 GB, free: 217 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/7.838, allocations: 272.6 kB / 1.12 GB, free: 216.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/7.838, allocations: 132.4 kB / 1.121 GB, free: 216.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/7.838, allocations: 3.844 kB / 1.121 GB, free: 216.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001108/7.839, allocations: 351.4 kB / 1.121 GB, free: 216.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/7.84, allocations: 1.829 MB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/7.84, allocations: 3.875 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/7.84, allocations: 10.62 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/7.841, allocations: 93.98 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/7.841, allocations: 15.28 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/7.842, allocations: 63.55 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/7.842, allocations: 18.66 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/7.842, allocations: 7.188 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009099/7.843, allocations: 254.3 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/7.843, allocations: 7.469 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/7.843, allocations: 6.844 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/7.844, allocations: 93.61 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/7.844, allocations: 10.5 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/7.844, allocations: 37.66 kB / 1.123 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/7.844, allocations: 21.72 kB / 1.123 GB, free: 214.8 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 (45): * Single equations (assignments): 44 * 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.0001663/7.845, allocations: 122.2 kB / 1.123 GB, free: 214.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/7.845, allocations: 46.34 kB / 1.123 GB, free: 214.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/7.846, allocations: 187.1 kB / 1.124 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/7.846, allocations: 6.828 kB / 1.124 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/7.846, allocations: 0 / 1.124 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/7.846, allocations: 7.219 kB / 1.124 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/7.847, allocations: 0.6022 MB / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/7.847, allocations: 0 / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/7.847, allocations: 43.02 kB / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/7.847, allocations: 0 / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/7.847, allocations: 7.594 kB / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/7.847, allocations: 0 / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/7.847, allocations: 3.844 kB / 1.124 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008403/7.848, allocations: 374.5 kB / 1.125 GB, free: 214.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001094/7.849, allocations: 0.8207 MB / 1.125 GB, free: 213.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/7.85, allocations: 140 kB / 1.126 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/7.85, allocations: 0 / 1.126 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/7.851, allocations: 33.97 kB / 1.126 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/7.851, allocations: 7.203 kB / 1.126 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/7.851, allocations: 7.828 kB / 1.126 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006849/7.851, allocations: 370.7 kB / 1.126 GB, free: 213.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003791/7.855, allocations: 342.6 kB / 1.126 GB, free: 213.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/7.857, allocations: 435.6 kB / 1.127 GB, free: 213.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00164/7.858, allocations: 391.4 kB / 1.127 GB, free: 213 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/7.858, allocations: 3.891 kB / 1.127 GB, free: 213 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/7.859, allocations: 49.84 kB / 1.127 GB, free: 213 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/7.862, allocations: 209.3 kB / 1.127 GB, free: 213 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/7.875, allocations: 0.9324 MB / 1.128 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/7.876, allocations: 0.9113 MB / 1.129 GB, free: 212.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.482e-06/7.876, allocations: 0 / 1.129 GB, free: 212.1 MB / 0.7605 GB