Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sources_Examples_PVSimple",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.762/4.762, allocations: 403.9 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3066/5.069, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/5.608, allocations: 92.68 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.434/12.04, allocations: 2.197 GB / 2.781 GB, free: 54.68 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/12.04, allocations: 98.88 kB / 2.781 GB, free: 54.58 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.7976/12.84, allocations: 65.05 MB / 2.845 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/12.84, allocations: 11.88 kB / 2.845 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/12.86, allocations: 1.018 MB / 2.846 GB, free: 246.8 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/12.87, allocations: 0.8102 MB / 2.847 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/12.87, allocations: 44.72 kB / 2.847 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008952/12.87, allocations: 80.94 kB / 2.847 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01039/12.88, allocations: 1.927 MB / 2.849 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009679/12.89, allocations: 1.528 MB / 2.85 GB, free: 246.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-05/12.89, allocations: 0 / 2.85 GB, free: 246.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006782/12.89, allocations: 2.094 kB / 2.85 GB, free: 246.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/12.89, allocations: 67.14 kB / 2.85 GB, free: 246.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03251/12.92, allocations: 5.662 MB / 2.856 GB, free: 244.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/12.93, allocations: 1.243 MB / 2.857 GB, free: 244.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/12.93, allocations: 0.6107 MB / 2.858 GB, free: 244.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/12.93, allocations: 492.7 kB / 2.858 GB, free: 244.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003944/12.94, allocations: 0.7714 MB / 2.859 GB, free: 244.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=128): time 9.158e-06/12.94, allocations: 3.844 kB / 2.859 GB, free: 244.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=128): time 0.009632/12.95, allocations: 1.34 MB / 2.86 GB, free: 243.9 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/12.95, allocations: 278.8 kB / 2.86 GB, free: 243.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/12.95, allocations: 0.6009 MB / 2.861 GB, free: 243.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005868/12.95, allocations: 29.11 kB / 2.861 GB, free: 243.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000687/12.95, allocations: 472.7 kB / 2.861 GB, free: 243.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009445/12.95, allocations: 409.7 kB / 2.862 GB, free: 242.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/12.95, allocations: 0 / 2.862 GB, free: 242.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002909/12.95, allocations: 403.9 kB / 2.862 GB, free: 242.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/12.96, allocations: 480.4 kB / 2.863 GB, free: 242.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/12.96, allocations: 0.6366 MB / 2.863 GB, free: 242.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/12.96, allocations: 0.6704 MB / 2.864 GB, free: 242.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/12.96, allocations: 0 / 2.864 GB, free: 242.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01076/12.98, allocations: 1.487 MB / 2.865 GB, free: 242.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003877/12.98, allocations: 1.047 MB / 2.866 GB, free: 241.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/12.98, allocations: 3.688 kB / 2.866 GB, free: 241.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/12.98, allocations: 26.86 kB / 2.866 GB, free: 241.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007023/12.98, allocations: 351.1 kB / 2.867 GB, free: 241.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/12.98, allocations: 0.5506 MB / 2.867 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/12.99, allocations: 163.6 kB / 2.868 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006402/12.99, allocations: 61.19 kB / 2.868 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/12.99, allocations: 4.531 kB / 2.868 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009091/13, allocations: 1.341 MB / 2.869 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/13, allocations: 4.156 kB / 2.869 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/13, allocations: 11.59 kB / 2.869 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006888/13.01, allocations: 348.9 kB / 2.869 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/13.01, allocations: 7.844 kB / 2.869 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005125/13.01, allocations: 159.9 kB / 2.869 GB, free: 240.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007138/13.01, allocations: 56.17 kB / 2.869 GB, free: 240.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (149): * Single equations (assignments): 146 * 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: 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.0008738/13.01, allocations: 134.5 kB / 2.87 GB, free: 240.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006977/13.01, allocations: 101.5 kB / 2.87 GB, free: 240.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/13.03, allocations: 1.778 MB / 2.871 GB, free: 240.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/13.03, allocations: 14.89 kB / 2.871 GB, free: 240.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/13.03, allocations: 3.969 kB / 2.871 GB, free: 240.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/13.03, allocations: 10.52 kB / 2.871 GB, free: 240.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/13.05, allocations: 3.314 MB / 2.875 GB, free: 238.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/13.05, allocations: 3.938 kB / 2.875 GB, free: 238.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006511/13.05, allocations: 320.9 kB / 2.875 GB, free: 238.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/13.05, allocations: 26.91 kB / 2.875 GB, free: 238.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006359/13.05, allocations: 29.8 kB / 2.875 GB, free: 238.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/13.06, allocations: 1.225 MB / 2.876 GB, free: 237.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/13.06, allocations: 4.609 kB / 2.876 GB, free: 237.6 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01054/13.07, allocations: 1.593 MB / 2.878 GB, free: 236.8 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009659/13.08, allocations: 1.983 MB / 2.88 GB, free: 235.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/13.08, allocations: 408.5 kB / 2.88 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006035/13.08, allocations: 5.625 kB / 2.88 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005579/13.08, allocations: 124.6 kB / 2.88 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000687/13.08, allocations: 78.83 kB / 2.88 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006202/13.08, allocations: 52.95 kB / 2.88 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001772/13.09, allocations: 496.5 kB / 2.881 GB, free: 235.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007189/13.09, allocations: 0.7964 MB / 2.882 GB, free: 234.9 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 (138): * Single equations (assignments): 135 * 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.004308/13.1, allocations: 0.6898 MB / 2.882 GB, free: 234.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01218/13.11, allocations: 2.056 MB / 2.884 GB, free: 233.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/13.11, allocations: 1.375 kB / 2.884 GB, free: 233.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004331/13.11, allocations: 0.7583 MB / 2.885 GB, free: 233.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/13.12, allocations: 192.3 kB / 2.885 GB, free: 233.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/13.13, allocations: 1.952 MB / 2.887 GB, free: 232.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006044/13.14, allocations: 1.395 MB / 2.889 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of SimCode: time 2.535e-06/13.14, allocations: 0.5625 kB / 2.889 GB, free: 231.8 MB / 0.7605 GB