Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.879/4.879, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.296/5.175, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/5.753, allocations: 92.68 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/7.097, allocations: 371.4 MB / 0.9473 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/7.097, allocations: 88.08 kB / 0.9474 GB, free: 59.97 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 1.394/8.491, allocations: 222.8 MB / 1.165 GB, free: 223.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/8.491, allocations: 12.81 kB / 1.165 GB, free: 223.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/8.495, allocations: 289.6 kB / 1.165 GB, free: 223.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/8.497, allocations: 0.5246 MB / 1.166 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/8.497, allocations: 17.16 kB / 1.166 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/8.498, allocations: 33.91 kB / 1.166 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001704/8.499, allocations: 431.9 kB / 1.166 GB, free: 222.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/8.501, allocations: 0.6525 MB / 1.167 GB, free: 222.2 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/8.501, allocations: 6.031 kB / 1.167 GB, free: 222.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/8.501, allocations: 3.438 kB / 1.167 GB, free: 222.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/8.501, allocations: 17.03 kB / 1.167 GB, free: 222.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007579/8.509, allocations: 4.267 MB / 1.171 GB, free: 218.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/8.51, allocations: 357.9 kB / 1.171 GB, free: 218 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/8.511, allocations: 210.7 kB / 1.172 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/8.511, allocations: 22.97 kB / 1.172 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/8.511, allocations: 42.19 kB / 1.172 GB, free: 217.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=38): time 3.787e-06/8.511, allocations: 3.938 kB / 1.172 GB, free: 217.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=38): time 0.01314/8.524, allocations: 1.216 MB / 1.173 GB, free: 217.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/8.524, allocations: 162.2 kB / 1.173 GB, free: 217 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/8.525, allocations: 451.2 kB / 1.173 GB, free: 216.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/8.525, allocations: 33.58 kB / 1.173 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/8.526, allocations: 299.5 kB / 1.174 GB, free: 216.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/8.526, allocations: 130.1 kB / 1.174 GB, free: 216.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/8.526, allocations: 0 / 1.174 GB, free: 216.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001281/8.526, allocations: 374.7 kB / 1.174 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/8.527, allocations: 245.3 kB / 1.174 GB, free: 215.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/8.528, allocations: 478.2 kB / 1.175 GB, free: 214.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/8.533, allocations: 0.6294 MB / 1.176 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/8.534, allocations: 0 / 1.176 GB, free: 214.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.007409/8.541, allocations: 1.147 MB / 1.177 GB, free: 213.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000622/8.542, allocations: 2.783 MB / 1.179 GB, free: 210.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/8.542, allocations: 8 kB / 1.179 GB, free: 210.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/8.543, allocations: 195.3 kB / 1.18 GB, free: 210 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/8.546, allocations: 234.7 kB / 1.18 GB, free: 209.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/8.551, allocations: 0.9236 MB / 1.181 GB, free: 208.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/8.554, allocations: 183.6 kB / 1.181 GB, free: 208.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/8.554, allocations: 40.03 kB / 1.181 GB, free: 208.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/8.555, allocations: 4 kB / 1.181 GB, free: 208.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006742/8.561, allocations: 1.006 MB / 1.182 GB, free: 207.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/8.561, allocations: 8 kB / 1.182 GB, free: 207.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/8.561, allocations: 12 kB / 1.182 GB, free: 207.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/8.565, allocations: 273.4 kB / 1.182 GB, free: 207.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/8.565, allocations: 15.88 kB / 1.182 GB, free: 207.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/8.568, allocations: 175.1 kB / 1.182 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/8.568, allocations: 43.97 kB / 1.182 GB, free: 207.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000372/8.568, allocations: 116.8 kB / 1.183 GB, free: 207 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/8.569, allocations: 70.06 kB / 1.183 GB, free: 206.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/8.576, allocations: 0.9726 MB / 1.184 GB, free: 206 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/8.576, allocations: 11.38 kB / 1.184 GB, free: 206 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/8.576, allocations: 0 / 1.184 GB, free: 206 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/8.576, allocations: 7.984 kB / 1.184 GB, free: 206 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/8.592, allocations: 2.541 MB / 1.186 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/8.592, allocations: 7 kB / 1.186 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/8.594, allocations: 161.5 kB / 1.186 GB, free: 203.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/8.595, allocations: 171.4 kB / 1.186 GB, free: 203.1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/8.595, allocations: 11.97 kB / 1.186 GB, free: 203.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/8.601, allocations: 0.9038 MB / 1.187 GB, free: 202.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/8.601, allocations: 0 / 1.187 GB, free: 202.2 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01154/8.612, allocations: 1.497 MB / 1.189 GB, free: 200.7 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01165/8.624, allocations: 1.881 MB / 1.191 GB, free: 198.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007369/8.625, allocations: 200.2 kB / 1.191 GB, free: 198.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/8.625, allocations: 15.89 kB / 1.191 GB, free: 198.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/8.628, allocations: 131.9 kB / 1.191 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/8.628, allocations: 31.95 kB / 1.191 GB, free: 198.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/8.628, allocations: 23.97 kB / 1.191 GB, free: 198.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006185/8.629, allocations: 335.2 kB / 1.191 GB, free: 198 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004439/8.633, allocations: 451.1 kB / 1.192 GB, free: 197.5 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00099/8.634, allocations: 333 kB / 1.192 GB, free: 197.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005981/8.64, allocations: 1.092 MB / 1.193 GB, free: 196.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/8.64, allocations: 4.125 kB / 1.193 GB, free: 196.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003215/8.643, allocations: 395.6 kB / 1.193 GB, free: 195.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/8.646, allocations: 226.6 kB / 1.194 GB, free: 195.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/8.65, allocations: 0.9792 MB / 1.195 GB, free: 194.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/8.652, allocations: 1.04 MB / 1.196 GB, free: 193.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.413e-06/8.652, allocations: 0 / 1.196 GB, free: 193.5 MB / 0.7605 GB