Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.261/4.261, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2852/4.546, allocations: 94.99 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/5.158, allocations: 92.69 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/5.554, allocations: 170.7 MB / 0.7513 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004638/5.555, allocations: 95.92 kB / 0.7514 GB, free: 10.77 MB / 0.6355 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/PartialTwoPortRLC.mo:18:3-18: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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 1.262/6.817, allocations: 150.4 MB / 0.8983 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/6.817, allocations: 19.98 kB / 0.8983 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04132/6.858, allocations: 3.175 MB / 0.9014 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/6.872, allocations: 2.584 MB / 0.9039 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005228/6.873, allocations: 381.8 kB / 0.9043 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/6.874, allocations: 147.9 kB / 0.9045 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01406/6.889, allocations: 3.579 MB / 0.9079 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/6.904, allocations: 3.696 MB / 0.9116 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.982e-05/6.904, allocations: 0 / 0.9116 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/6.905, allocations: 4 kB / 0.9116 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/6.905, allocations: 152.8 kB / 0.9117 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04466/6.95, allocations: 10.21 MB / 0.9217 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/6.954, allocations: 1.128 MB / 0.9228 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/6.957, allocations: 1.101 MB / 0.9239 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/6.957, allocations: 25.28 kB / 0.9239 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00418/6.962, allocations: 1.366 MB / 0.9252 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.242e-06/6.962, allocations: 3.938 kB / 0.9252 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.05306/7.015, allocations: 8.685 MB / 0.9337 GB, free: 94.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002994/7.015, allocations: 0.8983 MB / 0.9346 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/7.019, allocations: 1.564 MB / 0.9361 GB, free: 92.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009474/7.02, allocations: 33.7 kB / 0.9361 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/7.021, allocations: 0.9587 MB / 0.9371 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/7.023, allocations: 0.7774 MB / 0.9378 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/7.024, allocations: 0 / 0.9378 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001946/7.024, allocations: 398.7 kB / 0.9382 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004227/7.028, allocations: 1.41 MB / 0.9396 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/7.033, allocations: 1.781 MB / 0.9413 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/7.038, allocations: 1.486 MB / 0.9428 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/7.038, allocations: 0 / 0.9428 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02737/7.065, allocations: 5.139 MB / 0.9478 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/7.065, allocations: 8.031 kB / 0.9478 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/7.065, allocations: 4 kB / 0.9478 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02722/7.092, allocations: 2.765 MB / 0.9505 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009572/7.102, allocations: 0.6281 MB / 0.9511 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09141/7.193, allocations: 15.47 MB / 0.9662 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009438/7.203, allocations: 431.8 kB / 0.9666 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009447/7.204, allocations: 87.97 kB / 0.9667 GB, free: 60.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0009619/7.205, allocations: 147 kB / 0.9669 GB, free: 60.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/7.206, allocations: 300.4 kB / 0.9672 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/7.207, allocations: 329.1 kB / 0.9675 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/7.207, allocations: 24 kB / 0.9675 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-05/7.207, allocations: 12 kB / 0.9675 GB, free: 59.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/7.207, allocations: 15.89 kB / 0.9675 GB, free: 59.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/7.216, allocations: 3.336 MB / 0.9708 GB, free: 56.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/7.217, allocations: 0 / 0.9708 GB, free: 56.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006319/7.223, allocations: 0.5541 MB / 0.9713 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02137/7.244, allocations: 2.737 MB / 0.974 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007908/7.245, allocations: 15.97 kB / 0.974 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06986/7.315, allocations: 15.46 MB / 0.9891 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/7.315, allocations: 0 / 0.9891 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02439/7.34, allocations: 4.963 MB / 0.9939 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03061/7.37, allocations: 5.397 MB / 0.9992 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004748/7.375, allocations: 0.673 MB / 0.9999 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00246/7.378, allocations: 12 kB / 0.9999 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/7.388, allocations: 435.4 kB / 1 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00171/7.39, allocations: 265.5 kB / 1.001 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004743/7.391, allocations: 67.97 kB / 1.001 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003296/7.394, allocations: 1.168 MB / 1.002 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006534/7.401, allocations: 0.8711 MB / 1.003 GB, free: 23.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009256/7.402, allocations: 147.1 kB / 1.003 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04544/7.447, allocations: 4.927 MB / 1.008 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/7.447, allocations: 0 / 1.008 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.03632/7.483, allocations: 3.182 MB / 1.011 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01222/7.496, allocations: 0.8355 MB / 1.011 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/7.526, allocations: 5.285 MB / 1.017 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007632/7.534, allocations: 2.397 MB / 1.019 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/7.534, allocations: 0 / 1.019 GB, free: 6.219 MB / 0.6823 GB