Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_RCModel",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.44/4.44, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2943/4.735, allocations: 95 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/5.313, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/5.643, allocations: 152.3 MB / 0.7333 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/5.644, allocations: 87.94 kB / 0.7334 GB, free: 13.22 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/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/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/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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0957/5.74, allocations: 17.92 MB / 0.7509 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/5.74, allocations: 12 kB / 0.7509 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/5.742, allocations: 159.3 kB / 0.7511 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/5.743, allocations: 346 kB / 0.7514 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/5.743, allocations: 12 kB / 0.7514 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/5.744, allocations: 20 kB / 0.7515 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/5.745, allocations: 353.4 kB / 0.7518 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/5.746, allocations: 483.8 kB / 0.7523 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/5.747, allocations: 4 kB / 0.7523 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/5.747, allocations: 0 / 0.7523 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.078e-05/5.747, allocations: 28.64 kB / 0.7523 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/5.752, allocations: 1.78 MB / 0.754 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/5.752, allocations: 129.7 kB / 0.7541 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/5.753, allocations: 104.8 kB / 0.7542 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/5.753, allocations: 4 kB / 0.7542 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/5.753, allocations: 34.56 kB / 0.7543 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.118e-06/5.753, allocations: 0 / 0.7543 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.003323/5.756, allocations: 0.7954 MB / 0.7551 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/5.756, allocations: 55.41 kB / 0.7551 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/5.757, allocations: 228.9 kB / 0.7553 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/5.757, allocations: 25.7 kB / 0.7554 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/5.757, allocations: 207.5 kB / 0.7556 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/5.757, allocations: 82.84 kB / 0.7556 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/5.757, allocations: 3.938 kB / 0.7556 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000181/5.757, allocations: 342.7 kB / 0.756 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/5.758, allocations: 96.62 kB / 0.7561 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/5.758, allocations: 175.5 kB / 0.7562 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/5.759, allocations: 128.6 kB / 0.7563 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/5.759, allocations: 4 kB / 0.7563 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001533/5.76, allocations: 397.8 kB / 0.7567 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/5.76, allocations: 8 kB / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/5.76, allocations: 352 / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/5.761, allocations: 98.44 kB / 0.7568 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/5.762, allocations: 63.91 kB / 0.7569 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/5.767, allocations: 3.863 MB / 0.7607 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/5.768, allocations: 7.938 kB / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/5.768, allocations: 15.98 kB / 0.7607 GB, free: 320 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/5.768, allocations: 117 kB / 0.7608 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/5.768, allocations: 27.72 kB / 0.7608 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/5.768, allocations: 30.19 kB / 0.7609 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/5.768, allocations: 7.984 kB / 0.7609 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/5.768, allocations: 3.906 kB / 0.7609 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/5.768, allocations: 4 kB / 0.7609 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/5.769, allocations: 338 kB / 0.7612 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/5.769, allocations: 4 kB / 0.7612 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/5.77, allocations: 35.92 kB / 0.7612 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006358/5.77, allocations: 82.52 kB / 0.7613 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/5.77, allocations: 7.984 kB / 0.7613 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/5.775, allocations: 3.854 MB / 0.7651 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/5.775, allocations: 8.188 kB / 0.7651 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001687/5.777, allocations: 0.5312 MB / 0.7656 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002169/5.779, allocations: 1.055 MB / 0.7666 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/5.78, allocations: 120.8 kB / 0.7667 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/5.78, allocations: 4 kB / 0.7668 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/5.78, allocations: 11.89 kB / 0.7668 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/5.78, allocations: 20.05 kB / 0.7668 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/5.78, allocations: 7.938 kB / 0.7668 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003157/5.781, allocations: 173.2 kB / 0.767 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001896/5.783, allocations: 83.94 kB / 0.767 GB, free: 9.348 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/5.783, allocations: 111 kB / 0.7671 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001553/5.784, allocations: 0.5522 MB / 0.7677 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/5.784, allocations: 0 / 0.7677 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/5.785, allocations: 425.9 kB / 0.7681 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/5.786, allocations: 57.86 kB / 0.7681 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/5.789, allocations: 0.5361 MB / 0.7687 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008884/5.789, allocations: 0.8672 MB / 0.7695 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of SimCode: time 1.814e-06/5.79, allocations: 0 / 0.7695 GB, free: 6.688 MB / 0.6511 GB