Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_DCLines",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.322/4.322, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2872/4.609, allocations: 95.02 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/5.18, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/5.552, allocations: 170.7 MB / 0.7512 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004372/5.553, allocations: 83.95 kB / 0.7513 GB, free: 10.89 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.216/6.769, allocations: 148.5 MB / 0.8964 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/6.769, allocations: 15.56 kB / 0.8964 GB, free: 90.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03515/6.804, allocations: 3.165 MB / 0.8995 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/6.815, allocations: 2.326 MB / 0.9017 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/6.815, allocations: 77.55 kB / 0.9018 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/6.817, allocations: 140.2 kB / 0.9019 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01422/6.832, allocations: 3.515 MB / 0.9054 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/6.85, allocations: 3.563 MB / 0.9089 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/6.85, allocations: 7.812 kB / 0.9089 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/6.852, allocations: 7.688 kB / 0.9089 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/6.852, allocations: 152 kB / 0.909 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04233/6.895, allocations: 9.7 MB / 0.9185 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/6.898, allocations: 1.073 MB / 0.9195 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/6.902, allocations: 1.032 MB / 0.9206 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/6.902, allocations: 27.19 kB / 0.9206 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003779/6.906, allocations: 1.293 MB / 0.9218 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.923e-06/6.906, allocations: 0 / 0.9218 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.04505/6.951, allocations: 7.728 MB / 0.9294 GB, free: 76.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003532/6.951, allocations: 0.906 MB / 0.9303 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/6.958, allocations: 1.564 MB / 0.9318 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008328/6.959, allocations: 33.7 kB / 0.9318 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/6.96, allocations: 0.951 MB / 0.9328 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/6.962, allocations: 0.7812 MB / 0.9335 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007495/6.963, allocations: 4 kB / 0.9335 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003661/6.963, allocations: 398.6 kB / 0.9339 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/6.969, allocations: 1.242 MB / 0.9351 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007102/6.976, allocations: 1.621 MB / 0.9367 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/6.983, allocations: 1.346 MB / 0.938 GB, free: 67.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.255e-05/6.983, allocations: 4 kB / 0.938 GB, free: 67.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02373/7.007, allocations: 4.416 MB / 0.9423 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/7.007, allocations: 2.262 MB / 0.9445 GB, free: 60.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/7.007, allocations: 11.91 kB / 0.9446 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/7.021, allocations: 1.626 MB / 0.9461 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007501/7.029, allocations: 0.6476 MB / 0.9468 GB, free: 57.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/7.057, allocations: 8.719 MB / 0.9553 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009304/7.067, allocations: 403.6 kB / 0.9557 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009925/7.068, allocations: 99.88 kB / 0.9558 GB, free: 48.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/7.068, allocations: 4 kB / 0.9558 GB, free: 48.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01702/7.085, allocations: 3.679 MB / 0.9594 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.602e-05/7.085, allocations: 4 kB / 0.9594 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00838/7.093, allocations: 1.426 MB / 0.9608 GB, free: 43.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008236/7.102, allocations: 0.6905 MB / 0.9614 GB, free: 42.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04285/7.144, allocations: 11.13 MB / 0.9723 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/7.156, allocations: 415.4 kB / 0.9727 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/7.158, allocations: 83.98 kB / 0.9728 GB, free: 30.86 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001887/7.159, allocations: 170.4 kB / 0.9729 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/7.161, allocations: 300.4 kB / 0.9732 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/7.164, allocations: 333.2 kB / 0.9736 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/7.164, allocations: 24 kB / 0.9736 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.605e-05/7.164, allocations: 15.89 kB / 0.9736 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/7.164, allocations: 15.94 kB / 0.9736 GB, free: 30 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/7.175, allocations: 2.843 MB / 0.9764 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/7.175, allocations: 0 / 0.9764 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007521/7.182, allocations: 0.5774 MB / 0.9769 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01283/7.195, allocations: 1.646 MB / 0.9786 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007522/7.196, allocations: 23.97 kB / 0.9786 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04059/7.236, allocations: 12.65 MB / 0.9909 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/7.237, allocations: 0 / 0.9909 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01839/7.255, allocations: 4.231 MB / 0.9951 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01868/7.274, allocations: 4.664 MB / 0.9996 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/7.277, allocations: 0.6457 MB / 1 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/7.279, allocations: 7.906 kB / 1 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00889/7.288, allocations: 419.6 kB / 1.001 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001442/7.289, allocations: 233.5 kB / 1.001 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/7.29, allocations: 75.97 kB / 1.001 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.005246/7.295, allocations: 1.161 MB / 1.002 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01595/7.311, allocations: 1.328 MB / 1.003 GB, free: 15.25 MB / 0.698 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/7.312, allocations: 150.7 kB / 1.004 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0337/7.346, allocations: 6.89 MB / 1.01 GB, free: 8.113 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/7.346, allocations: 0 / 1.01 GB, free: 8.113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01664/7.362, allocations: 2.492 MB / 1.013 GB, free: 5.602 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/7.373, allocations: 0.8322 MB / 1.013 GB, free: 4.781 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/7.399, allocations: 5.244 MB / 1.019 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006957/7.406, allocations: 2.42 MB / 1.021 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.873e-06/7.406, allocations: 0 / 1.021 GB, free: 13.06 MB / 0.7136 GB