Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.396/4.396, allocations: 403.9 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2802/4.676, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/5.27, allocations: 92.67 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/5.655, allocations: 147.5 MB / 0.7286 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004841/5.656, allocations: 87.94 kB / 0.7287 GB, free: 2.098 MB / 0.6042 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);. [/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);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.1043/5.76, allocations: 17.79 MB / 0.7461 GB, free: 4 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.244e-05/5.76, allocations: 20.05 kB / 0.7461 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/5.762, allocations: 115.4 kB / 0.7462 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/5.764, allocations: 325.8 kB / 0.7465 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/5.764, allocations: 46.48 kB / 0.7465 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/5.764, allocations: 23.94 kB / 0.7466 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/5.766, allocations: 325.4 kB / 0.7469 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/5.768, allocations: 440.5 kB / 0.7473 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/5.768, allocations: 3.938 kB / 0.7473 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/5.768, allocations: 4 kB / 0.7473 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-05/5.768, allocations: 28.7 kB / 0.7473 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/5.773, allocations: 1.495 MB / 0.7488 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/5.774, allocations: 222.7 kB / 0.749 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/5.775, allocations: 136.8 kB / 0.7491 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/5.775, allocations: 0 / 0.7491 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/5.775, allocations: 42.55 kB / 0.7492 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.304e-06/5.775, allocations: 0 / 0.7492 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001473/5.776, allocations: 253.8 kB / 0.7494 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/5.777, allocations: 55.41 kB / 0.7495 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/5.777, allocations: 182.1 kB / 0.7496 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/5.777, allocations: 25.7 kB / 0.7497 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/5.777, allocations: 203.5 kB / 0.7499 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/5.777, allocations: 63.09 kB / 0.7499 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/5.777, allocations: 0 / 0.7499 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001766/5.778, allocations: 326.8 kB / 0.7502 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/5.778, allocations: 79.97 kB / 0.7503 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/5.778, allocations: 159.1 kB / 0.7505 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/5.779, allocations: 95.91 kB / 0.7506 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/5.779, allocations: 0 / 0.7506 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001442/5.78, allocations: 321.5 kB / 0.7509 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006254/5.781, allocations: 0.956 MB / 0.7518 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/5.781, allocations: 4 kB / 0.7518 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/5.782, allocations: 93.64 kB / 0.7519 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/5.782, allocations: 63.91 kB / 0.7519 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/5.786, allocations: 1.945 MB / 0.7538 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/5.787, allocations: 35.73 kB / 0.7539 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/5.787, allocations: 12 kB / 0.7539 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/5.787, allocations: 6.812 kB / 0.7539 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/5.788, allocations: 244.7 kB / 0.7541 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/5.788, allocations: 0 / 0.7541 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/5.789, allocations: 72.91 kB / 0.7542 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/5.789, allocations: 59.91 kB / 0.7543 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/5.793, allocations: 1.401 MB / 0.7556 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/5.793, allocations: 31.78 kB / 0.7557 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/5.793, allocations: 12 kB / 0.7557 GB, free: 5.562 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/5.793, allocations: 116.4 kB / 0.7558 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/5.794, allocations: 23.78 kB / 0.7558 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/5.794, allocations: 25.58 kB / 0.7558 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/5.794, allocations: 4 kB / 0.7558 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/5.794, allocations: 0 / 0.7558 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/5.794, allocations: 0 / 0.7558 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/5.796, allocations: 0.6815 MB / 0.7565 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/5.796, allocations: 0 / 0.7565 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/5.796, allocations: 31.92 kB / 0.7565 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007671/5.797, allocations: 101.7 kB / 0.7566 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/5.797, allocations: 7.938 kB / 0.7566 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/5.803, allocations: 2.649 MB / 0.7592 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/5.803, allocations: 0 / 0.7592 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001261/5.804, allocations: 396.1 kB / 0.7596 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001405/5.805, allocations: 0.7601 MB / 0.7603 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/5.806, allocations: 112.8 kB / 0.7604 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/5.806, allocations: 4 kB / 0.7604 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/5.806, allocations: 15.98 kB / 0.7605 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/5.806, allocations: 15.89 kB / 0.7605 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/5.806, allocations: 4 kB / 0.7605 GB, free: 244 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002269/5.807, allocations: 144.4 kB / 0.7606 GB, free: 100 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003736/5.81, allocations: 155.3 kB / 0.7608 GB, free: 15.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003245/5.811, allocations: 107.2 kB / 0.7609 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004368/5.815, allocations: 0.5724 MB / 0.7614 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/5.815, allocations: 0 / 0.7614 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/5.817, allocations: 336.2 kB / 0.7618 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/5.818, allocations: 35.97 kB / 0.7618 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/5.821, allocations: 477.2 kB / 0.7622 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/5.821, allocations: 0.8393 MB / 0.7631 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.923e-06/5.821, allocations: 0 / 0.7631 GB, free: 13.49 MB / 0.6511 GB