Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.365/4.365, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2372/4.602, allocations: 95.01 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/5.182, allocations: 92.67 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3285/5.511, allocations: 150.3 MB / 0.7314 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/5.511, allocations: 83.95 kB / 0.7314 GB, free: 15.29 MB / 0.6198 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/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0765/5.588, allocations: 16.53 MB / 0.7476 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/5.588, allocations: 12 kB / 0.7476 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/5.59, allocations: 119.4 kB / 0.7477 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/5.59, allocations: 270.8 kB / 0.748 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/5.591, allocations: 42.34 kB / 0.748 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/5.591, allocations: 19.94 kB / 0.748 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009686/5.592, allocations: 277.2 kB / 0.7483 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/5.593, allocations: 371.7 kB / 0.7486 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/5.593, allocations: 0 / 0.7486 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/5.593, allocations: 4 kB / 0.7487 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/5.593, allocations: 24.62 kB / 0.7487 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/5.597, allocations: 1.544 MB / 0.7502 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/5.598, allocations: 174.7 kB / 0.7503 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/5.599, allocations: 116.8 kB / 0.7505 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/5.599, allocations: 7.984 kB / 0.7505 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/5.599, allocations: 38.56 kB / 0.7505 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 3.126e-06/5.599, allocations: 0 / 0.7505 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0006122/5.599, allocations: 153.7 kB / 0.7507 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/5.599, allocations: 55.41 kB / 0.7507 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/5.6, allocations: 173.8 kB / 0.7509 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/5.6, allocations: 25.7 kB / 0.7509 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/5.6, allocations: 187.5 kB / 0.7511 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/5.6, allocations: 55.2 kB / 0.7511 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/5.6, allocations: 4 kB / 0.7511 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002481/5.6, allocations: 334.7 kB / 0.7514 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/5.601, allocations: 51.98 kB / 0.7515 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/5.601, allocations: 169.8 kB / 0.7517 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/5.601, allocations: 86.58 kB / 0.7517 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/5.601, allocations: 0 / 0.7517 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007697/5.602, allocations: 237.4 kB / 0.752 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006297/5.603, allocations: 1.304 MB / 0.7532 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/5.603, allocations: 7.844 kB / 0.7532 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/5.603, allocations: 8 kB / 0.7533 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/5.604, allocations: 71.89 kB / 0.7533 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/5.606, allocations: 1.258 MB / 0.7546 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/5.607, allocations: 31.89 kB / 0.7546 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/5.607, allocations: 12 kB / 0.7546 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/5.607, allocations: 4 kB / 0.7546 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007018/5.608, allocations: 186.2 kB / 0.7548 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/5.608, allocations: 4.438 kB / 0.7548 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/5.608, allocations: 8 kB / 0.7548 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/5.609, allocations: 71.89 kB / 0.7549 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/5.61, allocations: 1.254 MB / 0.7561 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/5.61, allocations: 27.78 kB / 0.7561 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/5.61, allocations: 11.98 kB / 0.7561 GB, free: 5.133 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: sen.I:VARIABLE(unit = "A" ) "Current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000324/5.611, allocations: 124.8 kB / 0.7562 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/5.611, allocations: 15.81 kB / 0.7563 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/5.611, allocations: 21.59 kB / 0.7563 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/5.611, allocations: 4 kB / 0.7563 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/5.611, allocations: 3.984 kB / 0.7563 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/5.611, allocations: 3.906 kB / 0.7563 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/5.612, allocations: 0.5917 MB / 0.7569 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/5.612, allocations: 4 kB / 0.7569 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/5.613, allocations: 51.95 kB / 0.7569 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/5.613, allocations: 0 / 0.7569 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/5.613, allocations: 8.156 kB / 0.7569 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-05/5.614, allocations: 7.938 kB / 0.7569 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/5.614, allocations: 0 / 0.7569 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005277/5.614, allocations: 343.9 kB / 0.7573 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006878/5.615, allocations: 0.7137 MB / 0.758 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/5.615, allocations: 108.9 kB / 0.7581 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/5.615, allocations: 4 kB / 0.7581 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/5.616, allocations: 11.91 kB / 0.7581 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/5.616, allocations: 15.97 kB / 0.7581 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/5.616, allocations: 8 kB / 0.7581 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001751/5.616, allocations: 132.4 kB / 0.7582 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002964/5.619, allocations: 111.5 kB / 0.7583 GB, free: 2.656 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/5.619, allocations: 115.1 kB / 0.7584 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001776/5.621, allocations: 276.9 kB / 0.7587 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.621, allocations: 0 / 0.7587 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/5.622, allocations: 96.69 kB / 0.7588 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/5.623, allocations: 31.91 kB / 0.7588 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/5.624, allocations: 348.8 kB / 0.7592 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/5.625, allocations: 0.8101 MB / 0.76 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of SimCode: time 3.506e-06/5.625, allocations: 0 / 0.76 GB, free: 0.9297 MB / 0.6355 GB