Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",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.057/4.057, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2438/4.301, allocations: 95.01 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/4.822, allocations: 92.69 MB / 0.5846 GB, free: 3.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.528/10.35, allocations: 2.194 GB / 2.779 GB, free: 22.12 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/10.35, allocations: 107.5 kB / 2.779 GB, free: 22.07 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.6299/10.98, allocations: 54.13 MB / 2.832 GB, free: 263.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/10.98, allocations: 10.97 kB / 2.832 GB, free: 263.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/10.99, allocations: 437.3 kB / 2.832 GB, free: 263.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/10.99, allocations: 0.7433 MB / 2.833 GB, free: 262.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/10.99, allocations: 40.53 kB / 2.833 GB, free: 262.8 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/10.99, allocations: 57.06 kB / 2.833 GB, free: 262.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003882/10.99, allocations: 1.379 MB / 2.834 GB, free: 262.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/11, allocations: 1.128 MB / 2.835 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/11, allocations: 3.562 kB / 2.835 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/11, allocations: 3.656 kB / 2.835 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-05/11, allocations: 56.95 kB / 2.835 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/11.01, allocations: 3.994 MB / 2.839 GB, free: 260 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/11.01, allocations: 0.9618 MB / 2.84 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/11.01, allocations: 426.6 kB / 2.841 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/11.01, allocations: 0.5432 MB / 2.841 GB, free: 258.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002622/11.02, allocations: 0.5589 MB / 2.842 GB, free: 258.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=94): time 7.143e-06/11.02, allocations: 0 / 2.842 GB, free: 258.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=95): time 0.009555/11.03, allocations: 1.442 MB / 2.843 GB, free: 258 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/11.03, allocations: 227 kB / 2.843 GB, free: 257.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/11.03, allocations: 0.7025 MB / 2.844 GB, free: 257.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004057/11.03, allocations: 28.11 kB / 2.844 GB, free: 257.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/11.03, allocations: 395.3 kB / 2.845 GB, free: 257.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008174/11.03, allocations: 304.5 kB / 2.845 GB, free: 256.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/11.03, allocations: 0.5312 kB / 2.845 GB, free: 256.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003501/11.03, allocations: 395.1 kB / 2.845 GB, free: 256.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/11.03, allocations: 365.4 kB / 2.846 GB, free: 256.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/11.04, allocations: 0.5113 MB / 2.846 GB, free: 256.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/11.04, allocations: 0.5326 MB / 2.847 GB, free: 255.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/11.04, allocations: 2.656 kB / 2.847 GB, free: 255.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.008674/11.05, allocations: 1.218 MB / 2.848 GB, free: 255.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003689/11.05, allocations: 1.141 MB / 2.849 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/11.05, allocations: 2.344 kB / 2.849 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/11.05, allocations: 104.6 kB / 2.849 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/11.06, allocations: 221.8 kB / 2.849 GB, free: 254.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/11.06, allocations: 0.6519 MB / 2.85 GB, free: 253.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/11.06, allocations: 90.98 kB / 2.85 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004252/11.06, allocations: 44.94 kB / 2.85 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/11.06, allocations: 7.031 kB / 2.85 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006366/11.07, allocations: 0.9824 MB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/11.07, allocations: 7.031 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/11.07, allocations: 6.859 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/11.07, allocations: 224.7 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.779e-05/11.07, allocations: 10.44 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/11.07, allocations: 77.92 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/11.07, allocations: 42.28 kB / 2.851 GB, free: 253.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006294/11.08, allocations: 133.9 kB / 2.851 GB, free: 253.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/11.08, allocations: 96.66 kB / 2.851 GB, free: 253.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007943/11.08, allocations: 1.452 MB / 2.853 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/11.08, allocations: 15.84 kB / 2.853 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/11.08, allocations: 0 / 2.853 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/11.08, allocations: 7.781 kB / 2.853 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/11.09, allocations: 2.559 MB / 2.855 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/11.09, allocations: 0 / 2.855 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/11.1, allocations: 205.4 kB / 2.856 GB, free: 249.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/11.1, allocations: 187.6 kB / 2.856 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/11.1, allocations: 19.92 kB / 2.856 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/11.1, allocations: 1.689 MB / 2.857 GB, free: 248 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/11.1, allocations: 0 / 2.857 GB, free: 248 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005078/11.11, allocations: 1.495 MB / 2.859 GB, free: 246.4 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005413/11.11, allocations: 1.905 MB / 2.861 GB, free: 244.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/11.11, allocations: 351.4 kB / 2.861 GB, free: 244 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/11.11, allocations: 4 kB / 2.861 GB, free: 244 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/11.12, allocations: 83.77 kB / 2.861 GB, free: 243.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/11.12, allocations: 60.69 kB / 2.861 GB, free: 243.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/11.12, allocations: 39.98 kB / 2.861 GB, free: 243.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001161/11.12, allocations: 0.5499 MB / 2.862 GB, free: 243.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005119/11.12, allocations: 0.6045 MB / 2.862 GB, free: 242.7 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/11.13, allocations: 0.7334 MB / 2.863 GB, free: 242.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004408/11.13, allocations: 1.612 MB / 2.865 GB, free: 240.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/11.13, allocations: 0 / 2.865 GB, free: 240.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/11.13, allocations: 0.6149 MB / 2.865 GB, free: 239.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/11.13, allocations: 201.5 kB / 2.865 GB, free: 239.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/11.14, allocations: 1.758 MB / 2.867 GB, free: 237.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/11.14, allocations: 1.306 MB / 2.868 GB, free: 236.6 MB / 0.7605 GB Notification: Performance of SimCode: time 1.262e-06/11.14, allocations: 0 / 2.868 GB, free: 236.6 MB / 0.7605 GB