Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",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.396/4.396, allocations: 404 MB / 410.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.4531/4.85, allocations: 95.01 MB / 0.4941 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/5.077, allocations: 92.68 MB / 0.5846 GB, free: 4.77 MB / 494.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.636/5.713, allocations: 128 MB / 0.7096 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/5.713, allocations: 87.94 kB / 0.7097 GB, free: 11.33 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.08172/5.795, allocations: 15.61 MB / 0.7249 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/5.795, allocations: 8 kB / 0.7249 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/5.795, allocations: 98.78 kB / 0.725 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/5.797, allocations: 0.6013 MB / 0.7256 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/5.797, allocations: 20 kB / 0.7256 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/5.797, allocations: 36 kB / 0.7256 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/5.799, allocations: 434.6 kB / 0.7261 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/5.801, allocations: 0.6095 MB / 0.7267 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/5.802, allocations: 7.938 kB / 0.7267 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/5.802, allocations: 3.984 kB / 0.7267 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/5.802, allocations: 16 kB / 0.7267 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007732/5.809, allocations: 2.535 MB / 0.7292 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/5.812, allocations: 0.5312 MB / 0.7297 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007081/5.813, allocations: 189.6 kB / 0.7299 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-05/5.813, allocations: 12.34 kB / 0.7299 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008169/5.814, allocations: 252.4 kB / 0.7301 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 3.997e-06/5.814, allocations: 0 / 0.7301 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.001707/5.815, allocations: 442.8 kB / 0.7305 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/5.816, allocations: 222 kB / 0.7307 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/5.817, allocations: 467.6 kB / 0.7312 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/5.817, allocations: 33.69 kB / 0.7312 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/5.817, allocations: 256.4 kB / 0.7315 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/5.818, allocations: 149.8 kB / 0.7316 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/5.818, allocations: 0 / 0.7316 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003445/5.818, allocations: 382.7 kB / 0.732 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/5.819, allocations: 165 kB / 0.7321 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/5.82, allocations: 273.8 kB / 0.7324 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/5.821, allocations: 177.3 kB / 0.7326 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/5.821, allocations: 0 / 0.7326 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00186/5.822, allocations: 495.5 kB / 0.733 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/5.823, allocations: 369.8 kB / 0.7334 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/5.823, allocations: 4 kB / 0.7334 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/5.823, allocations: 0 / 0.7334 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/5.824, allocations: 155.8 kB / 0.7335 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/5.825, allocations: 7.938 kB / 0.7336 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/5.826, allocations: 115.6 kB / 0.7337 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/5.826, allocations: 19.98 kB / 0.7337 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/5.826, allocations: 5.719 kB / 0.7337 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001502/5.828, allocations: 366.6 kB / 0.734 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/5.828, allocations: 0 / 0.734 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/5.828, allocations: 4 kB / 0.734 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/5.829, allocations: 124 kB / 0.7342 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/5.829, allocations: 7.906 kB / 0.7342 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/5.831, allocations: 87.62 kB / 0.7342 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/5.831, allocations: 20.02 kB / 0.7343 GB, free: 1.695 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * 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.0003145/5.831, allocations: 120.9 kB / 0.7344 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/5.832, allocations: 67.16 kB / 0.7344 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/5.833, allocations: 462.2 kB / 0.7349 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/5.833, allocations: 4 kB / 0.7349 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/5.833, allocations: 0 / 0.7349 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/5.833, allocations: 7.891 kB / 0.7349 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/5.835, allocations: 0.658 MB / 0.7355 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/5.835, allocations: 7.875 kB / 0.7355 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/5.837, allocations: 143.8 kB / 0.7357 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/5.837, allocations: 4 kB / 0.7357 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/5.837, allocations: 3.984 kB / 0.7357 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/5.837, allocations: 7.984 kB / 0.7357 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/5.837, allocations: 0 / 0.7357 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002638/5.84, allocations: 0.7139 MB / 0.7364 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003499/5.843, allocations: 1.354 MB / 0.7377 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/5.844, allocations: 212 kB / 0.7379 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/5.844, allocations: 4 kB / 0.7379 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/5.846, allocations: 91.92 kB / 0.738 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/5.846, allocations: 48.36 kB / 0.7381 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/5.846, allocations: 19.89 kB / 0.7381 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 0.0008837/5.847, allocations: 363.2 kB / 0.7384 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003614/5.85, allocations: 234.9 kB / 0.7386 GB, free: 13.09 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003488/5.851, allocations: 123 kB / 0.7388 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002583/5.853, allocations: 0.7461 MB / 0.7395 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.872e-06/5.853, allocations: 4.062 kB / 0.7395 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008021/5.854, allocations: 217.6 kB / 0.7397 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/5.856, allocations: 162.9 kB / 0.7399 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/5.86, allocations: 0.8771 MB / 0.7407 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/5.861, allocations: 1.01 MB / 0.7417 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of SimCode: time 1.834e-06/5.861, allocations: 0 / 0.7417 GB, free: 9.879 MB / 0.6075 GB