Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Loads_Examples_Resistor",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.642/4.642, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2866/4.929, allocations: 95 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/5.498, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/5.833, allocations: 145.6 MB / 0.7268 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004562/5.833, allocations: 95.94 kB / 0.7269 GB, free: 3.957 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);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.09828/5.932, allocations: 16.11 MB / 0.7426 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/5.932, allocations: 8 kB / 0.7426 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/5.934, allocations: 147.3 kB / 0.7427 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/5.935, allocations: 294.4 kB / 0.743 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/5.935, allocations: 12 kB / 0.743 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/5.935, allocations: 16 kB / 0.7431 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009536/5.936, allocations: 289.1 kB / 0.7433 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/5.937, allocations: 410.2 kB / 0.7437 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/5.937, allocations: 0 / 0.7437 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/5.937, allocations: 0 / 0.7437 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.149e-05/5.937, allocations: 28.64 kB / 0.7437 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/5.941, allocations: 1.616 MB / 0.7453 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/5.942, allocations: 154.7 kB / 0.7455 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/5.942, allocations: 108.8 kB / 0.7456 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/5.942, allocations: 0 / 0.7456 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/5.942, allocations: 38.56 kB / 0.7456 GB, free: 312 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/5.943, allocations: 0 / 0.7456 GB, free: 312 kB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.000648/5.943, allocations: 154.4 kB / 0.7458 GB, free: 148 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/5.943, allocations: 59.41 kB / 0.7458 GB, free: 76 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/5.944, allocations: 191 kB / 0.746 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/5.944, allocations: 29.7 kB / 0.746 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/5.944, allocations: 195.4 kB / 0.7462 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/5.944, allocations: 47.3 kB / 0.7463 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/5.944, allocations: 4 kB / 0.7463 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002221/5.944, allocations: 326.8 kB / 0.7466 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/5.945, allocations: 52.45 kB / 0.7466 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/5.945, allocations: 143.3 kB / 0.7468 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/5.945, allocations: 79.89 kB / 0.7468 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/5.945, allocations: 0 / 0.7468 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00082/5.946, allocations: 238.2 kB / 0.7471 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/5.946, allocations: 7.281 kB / 0.7471 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/5.946, allocations: 4 kB / 0.7471 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/5.947, allocations: 32.72 kB / 0.7471 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/5.947, allocations: 47.92 kB / 0.7472 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/5.95, allocations: 1.252 MB / 0.7484 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/5.951, allocations: 19.91 kB / 0.7484 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/5.951, allocations: 16 kB / 0.7484 GB, free: 13.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002009/5.951, allocations: 112.9 kB / 0.7485 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/5.951, allocations: 19.8 kB / 0.7485 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/5.952, allocations: 29.36 kB / 0.7486 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/5.952, allocations: 4 kB / 0.7486 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/5.952, allocations: 0 / 0.7486 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/5.952, allocations: 0 / 0.7486 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/5.953, allocations: 0.5865 MB / 0.7491 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/5.954, allocations: 8 kB / 0.7492 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/5.954, allocations: 36.11 kB / 0.7492 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/5.954, allocations: 20.88 kB / 0.7492 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/5.954, allocations: 0 / 0.7492 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/5.955, allocations: 1.256 MB / 0.7504 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/5.955, allocations: 4.031 kB / 0.7504 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006499/5.956, allocations: 379.4 kB / 0.7508 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008381/5.957, allocations: 0.7411 MB / 0.7515 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/5.957, allocations: 112.8 kB / 0.7516 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/5.957, allocations: 4 kB / 0.7516 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/5.958, allocations: 11.98 kB / 0.7516 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/5.958, allocations: 8 kB / 0.7517 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/5.958, allocations: 11.98 kB / 0.7517 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002696/5.958, allocations: 145.6 kB / 0.7518 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001613/5.96, allocations: 75.78 kB / 0.7519 GB, free: 9.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/5.96, allocations: 114.9 kB / 0.752 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008336/5.961, allocations: 245.7 kB / 0.7522 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/5.961, allocations: 0 / 0.7522 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/5.961, allocations: 186.6 kB / 0.7524 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/5.962, allocations: 45.3 kB / 0.7524 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/5.963, allocations: 386 kB / 0.7528 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/5.964, allocations: 0.8232 MB / 0.7536 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/5.964, allocations: 0 / 0.7536 GB, free: 7.453 MB / 0.6355 GB