Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",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.57/4.57, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3594/4.93, allocations: 95.01 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/5.677, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/6.049, allocations: 136.2 MB / 0.7176 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/6.049, allocations: 75.95 kB / 0.7176 GB, free: 13.45 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);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02711/6.076, allocations: 5.685 MB / 0.7232 GB, free: 7.629 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/6.076, allocations: 8 kB / 0.7232 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004022/6.077, allocations: 31.8 kB / 0.7232 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/6.077, allocations: 206.8 kB / 0.7234 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/6.077, allocations: 29.89 kB / 0.7234 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/6.077, allocations: 8 kB / 0.7234 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002973/6.078, allocations: 68.11 kB / 0.7235 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/6.078, allocations: 133.7 kB / 0.7236 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/6.078, allocations: 224 / 0.7236 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/6.078, allocations: 0 / 0.7236 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/6.078, allocations: 12.11 kB / 0.7237 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/6.08, allocations: 0.6077 MB / 0.7242 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/6.08, allocations: 46.52 kB / 0.7243 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/6.08, allocations: 20.98 kB / 0.7243 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/6.08, allocations: 7.906 kB / 0.7243 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/6.08, allocations: 118.8 kB / 0.7244 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.416e-06/6.08, allocations: 0 / 0.7244 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003229/6.081, allocations: 69.59 kB / 0.7245 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/6.081, allocations: 136.5 kB / 0.7246 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/6.081, allocations: 161.2 kB / 0.7248 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/6.081, allocations: 25.7 kB / 0.7248 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/6.081, allocations: 135.5 kB / 0.7249 GB, free: 5.629 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/6.081, allocations: 31.62 kB / 0.725 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/6.081, allocations: 0 / 0.725 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001524/6.082, allocations: 322.8 kB / 0.7253 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/6.082, allocations: 28 kB / 0.7253 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/6.082, allocations: 97.44 kB / 0.7254 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/6.082, allocations: 39.86 kB / 0.7254 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/6.082, allocations: 8 kB / 0.7254 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004481/6.082, allocations: 141.3 kB / 0.7256 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/6.083, allocations: 6.5 kB / 0.7256 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/6.083, allocations: 4 kB / 0.7256 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/6.083, allocations: 4 kB / 0.7256 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/6.083, allocations: 36.23 kB / 0.7256 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/6.083, allocations: 8 kB / 0.7256 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/6.083, allocations: 23.83 kB / 0.7257 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/6.083, allocations: 11.91 kB / 0.7257 GB, free: 4.836 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.0001644/6.083, allocations: 151.2 kB / 0.7258 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/6.083, allocations: 7.906 kB / 0.7258 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/6.084, allocations: 17.31 kB / 0.7258 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/6.084, allocations: 0 / 0.7258 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/6.084, allocations: 0 / 0.7258 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/6.084, allocations: 7.938 kB / 0.7258 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/6.084, allocations: 186.2 kB / 0.726 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/6.084, allocations: 0 / 0.726 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/6.084, allocations: 8 kB / 0.726 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/6.084, allocations: 0 / 0.726 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/6.084, allocations: 4 kB / 0.726 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/6.084, allocations: 7.906 kB / 0.726 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/6.084, allocations: 0 / 0.726 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004222/6.085, allocations: 136.9 kB / 0.7262 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006737/6.085, allocations: 0.5521 MB / 0.7267 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/6.085, allocations: 85.02 kB / 0.7268 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/6.085, allocations: 8.203 kB / 0.7268 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/6.086, allocations: 15.91 kB / 0.7268 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/6.086, allocations: 7.984 kB / 0.7268 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/6.086, allocations: 4 kB / 0.7268 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001735/6.086, allocations: 132.2 kB / 0.7269 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001493/6.088, allocations: 27.94 kB / 0.727 GB, free: 3.383 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0002794/6.088, allocations: 123.1 kB / 0.7271 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004154/6.088, allocations: 131.3 kB / 0.7272 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/6.088, allocations: 0 / 0.7272 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/6.088, allocations: 65.7 kB / 0.7273 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/6.089, allocations: 19.89 kB / 0.7273 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008605/6.09, allocations: 184.4 kB / 0.7275 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/6.09, allocations: 0.7309 MB / 0.7282 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/6.09, allocations: 0 / 0.7282 GB, free: 2.062 MB / 0.6042 GB