Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_DCLine",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.301/4.301, allocations: 404 MB / 410.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3168/4.618, allocations: 95 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/5.198, allocations: 92.68 MB / 0.5846 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/5.525, allocations: 161.8 MB / 0.7426 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/5.526, allocations: 87.94 kB / 0.7426 GB, free: 3.734 MB / 0.6198 GB [/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);. [/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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.2092/5.735, allocations: 36.99 MB / 0.7788 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/5.735, allocations: 16 kB / 0.7788 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007669/5.743, allocations: 0.6232 MB / 0.7794 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/5.745, allocations: 0.5895 MB / 0.78 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/5.745, allocations: 16 kB / 0.78 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/5.745, allocations: 28 kB / 0.78 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002598/5.748, allocations: 0.7211 MB / 0.7807 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/5.751, allocations: 0.8083 MB / 0.7815 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/5.751, allocations: 7.984 kB / 0.7815 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/5.751, allocations: 4 kB / 0.7815 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-05/5.751, allocations: 41.3 kB / 0.7816 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008806/5.76, allocations: 2.525 MB / 0.784 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/5.761, allocations: 273.8 kB / 0.7843 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/5.762, allocations: 176.8 kB / 0.7845 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/5.762, allocations: 7.969 kB / 0.7845 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/5.762, allocations: 38.56 kB / 0.7845 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/5.762, allocations: 0 / 0.7845 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43): time 0.005928/5.768, allocations: 1.136 MB / 0.7856 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/5.768, allocations: 140.5 kB / 0.7857 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/5.769, allocations: 394.1 kB / 0.7861 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/5.769, allocations: 29.7 kB / 0.7861 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/5.769, allocations: 283.8 kB / 0.7864 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/5.77, allocations: 145.8 kB / 0.7866 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/5.77, allocations: 3.938 kB / 0.7866 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003071/5.77, allocations: 366.8 kB / 0.7869 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/5.771, allocations: 180.9 kB / 0.7871 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/5.772, allocations: 306.9 kB / 0.7874 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/5.774, allocations: 229.4 kB / 0.7876 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/5.774, allocations: 0 / 0.7876 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003528/5.777, allocations: 0.7367 MB / 0.7883 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006996/5.778, allocations: 1.225 MB / 0.7895 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/5.778, allocations: 4 kB / 0.7895 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/5.78, allocations: 236.9 kB / 0.7897 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/5.782, allocations: 135.8 kB / 0.7899 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/5.79, allocations: 5.702 MB / 0.7954 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/5.792, allocations: 48.06 kB / 0.7955 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/5.792, allocations: 23.98 kB / 0.7955 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/5.792, allocations: 7.125 kB / 0.7955 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002993/5.795, allocations: 1.028 MB / 0.7965 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/5.795, allocations: 7.938 kB / 0.7965 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008373/5.796, allocations: 137.4 kB / 0.7967 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/5.798, allocations: 147.7 kB / 0.7968 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009344/5.807, allocations: 7.472 MB / 0.8041 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/5.808, allocations: 52.08 kB / 0.8041 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/5.808, allocations: 20 kB / 0.8042 GB, free: 2.441 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003018/5.809, allocations: 120.8 kB / 0.8043 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/5.809, allocations: 59.28 kB / 0.8043 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/5.809, allocations: 69.41 kB / 0.8044 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/5.809, allocations: 4 kB / 0.8044 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/5.809, allocations: 3.906 kB / 0.8044 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/5.809, allocations: 3.984 kB / 0.8044 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/5.811, allocations: 0.5603 MB / 0.805 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/5.811, allocations: 3.984 kB / 0.805 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/5.812, allocations: 103.9 kB / 0.8051 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/5.814, allocations: 237 kB / 0.8053 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/5.814, allocations: 11.92 kB / 0.8053 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3182/6.132, allocations: 7.91 MB / 0.813 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/6.132, allocations: 3.688 kB / 0.813 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003028/6.135, allocations: 0.7516 MB / 0.8138 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00359/6.139, allocations: 1.13 MB / 0.8149 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/6.14, allocations: 177.6 kB / 0.815 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/6.14, allocations: 3.891 kB / 0.815 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/6.143, allocations: 55.39 kB / 0.8151 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/6.143, allocations: 22.58 kB / 0.8151 GB, free: 255 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/6.143, allocations: 12.94 kB / 0.8151 GB, free: 255 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001019/6.144, allocations: 300.7 kB / 0.8154 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007235/6.151, allocations: 254.3 kB / 0.8157 GB, free: 254.9 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000507/6.152, allocations: 129.6 kB / 0.8158 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006146/6.158, allocations: 1.706 MB / 0.8174 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/6.158, allocations: 0 / 0.8174 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/6.161, allocations: 0.8568 MB / 0.8183 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/6.163, allocations: 167.3 kB / 0.8184 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/6.168, allocations: 0.9647 MB / 0.8194 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009949/6.169, allocations: 1.023 MB / 0.8204 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.293e-06/6.169, allocations: 0 / 0.8204 GB, free: 252.4 MB / 0.6823 GB