Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_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.633/4.633, allocations: 403.9 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3043/4.937, allocations: 95.02 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/5.466, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.592/12.06, allocations: 2.193 GB / 2.777 GB, free: 24.35 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/12.06, allocations: 98.31 kB / 2.778 GB, free: 24.3 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.7034/12.76, allocations: 46.95 MB / 2.823 GB, free: 266.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.703e-05/12.76, allocations: 13.78 kB / 2.823 GB, free: 266.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00916/12.77, allocations: 411.9 kB / 2.824 GB, free: 266.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/12.77, allocations: 0.7013 MB / 2.825 GB, free: 266.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/12.77, allocations: 35.28 kB / 2.825 GB, free: 266.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/12.77, allocations: 60.31 kB / 2.825 GB, free: 266.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0043/12.78, allocations: 1.252 MB / 2.826 GB, free: 266.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/12.78, allocations: 0.9868 MB / 2.827 GB, free: 266 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/12.78, allocations: 7.844 kB / 2.827 GB, free: 266 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/12.78, allocations: 6.031 kB / 2.827 GB, free: 266 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/12.78, allocations: 52.5 kB / 2.827 GB, free: 266 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/12.79, allocations: 3.757 MB / 2.831 GB, free: 264.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/12.8, allocations: 0.7623 MB / 2.831 GB, free: 264.6 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/12.8, allocations: 332.7 kB / 2.832 GB, free: 264.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/12.8, allocations: 474.3 kB / 2.832 GB, free: 264 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/12.8, allocations: 449.7 kB / 2.832 GB, free: 263.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 5.139e-06/12.8, allocations: 0 / 2.832 GB, free: 263.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.003546/12.8, allocations: 0.7739 MB / 2.833 GB, free: 263.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/12.81, allocations: 277.5 kB / 2.834 GB, free: 263.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/12.81, allocations: 0.6859 MB / 2.834 GB, free: 262.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/12.81, allocations: 33.3 kB / 2.834 GB, free: 262.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/12.81, allocations: 390.3 kB / 2.835 GB, free: 262.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/12.81, allocations: 256.8 kB / 2.835 GB, free: 262.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/12.81, allocations: 0 / 2.835 GB, free: 262.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001828/12.81, allocations: 389.6 kB / 2.835 GB, free: 262.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/12.81, allocations: 259.5 kB / 2.835 GB, free: 262 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/12.81, allocations: 403.3 kB / 2.836 GB, free: 261.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/12.81, allocations: 389.5 kB / 2.836 GB, free: 261.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/12.81, allocations: 3.75 kB / 2.836 GB, free: 261.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003944/12.82, allocations: 0.8813 MB / 2.837 GB, free: 261.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/12.82, allocations: 0.971 MB / 2.838 GB, free: 260.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/12.82, allocations: 0 / 2.838 GB, free: 260.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/12.82, allocations: 25.86 kB / 2.838 GB, free: 260.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/12.82, allocations: 185.7 kB / 2.838 GB, free: 260.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/12.82, allocations: 0.5448 MB / 2.839 GB, free: 259.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/12.82, allocations: 91.58 kB / 2.839 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/12.82, allocations: 38.11 kB / 2.839 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/12.82, allocations: 3.938 kB / 2.839 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/12.83, allocations: 0.7592 MB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/12.83, allocations: 7.656 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/12.83, allocations: 7.312 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/12.83, allocations: 189.9 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/12.83, allocations: 3.969 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/12.83, allocations: 77.86 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/12.83, allocations: 42.38 kB / 2.84 GB, free: 259.4 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (97): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003953/12.83, allocations: 121.8 kB / 2.84 GB, free: 259.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/12.83, allocations: 89.59 kB / 2.84 GB, free: 259.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/12.84, allocations: 1.029 MB / 2.841 GB, free: 258.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/12.84, allocations: 7.938 kB / 2.841 GB, free: 258.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/12.84, allocations: 0 / 2.841 GB, free: 258.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/12.84, allocations: 10.83 kB / 2.841 GB, free: 258.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/12.85, allocations: 2.117 MB / 2.843 GB, free: 257.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/12.85, allocations: 5.344 kB / 2.843 GB, free: 257.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/12.85, allocations: 171.9 kB / 2.843 GB, free: 257.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/12.85, allocations: 26.28 kB / 2.843 GB, free: 257.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/12.85, allocations: 16.84 kB / 2.843 GB, free: 257.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/12.85, allocations: 1.232 MB / 2.845 GB, free: 256.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/12.85, allocations: 1.531 kB / 2.845 GB, free: 256.5 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004527/12.85, allocations: 0.9995 MB / 2.846 GB, free: 256 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00419/12.86, allocations: 1.411 MB / 2.847 GB, free: 255.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/12.86, allocations: 316.4 kB / 2.847 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/12.86, allocations: 3.406 kB / 2.847 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/12.86, allocations: 67.56 kB / 2.847 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/12.86, allocations: 58.45 kB / 2.847 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/12.86, allocations: 30.27 kB / 2.847 GB, free: 254.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001455/12.86, allocations: 0.5383 MB / 2.848 GB, free: 254.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006381/12.87, allocations: 0.6565 MB / 2.849 GB, free: 254.4 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003039/12.87, allocations: 0.7294 MB / 2.849 GB, free: 254.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004334/12.88, allocations: 1.231 MB / 2.851 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/12.88, allocations: 3.469 kB / 2.851 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/12.88, allocations: 469.7 kB / 2.851 GB, free: 253.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/12.88, allocations: 200.7 kB / 2.851 GB, free: 253.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/12.89, allocations: 1.516 MB / 2.853 GB, free: 251.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/12.89, allocations: 1.252 MB / 2.854 GB, free: 250.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.563e-06/12.89, allocations: 0 / 2.854 GB, free: 250.7 MB / 0.7605 GB