[: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 3.183/3.183, allocations: 404 MB / 410.9 MB, free: 2.188 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 7.182e-06/7.228e-06, allocations: 0 / 0.494 GB, free: 4.57 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 92.78 MB / 0.5846 GB, free: 1.82 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.5773, allocations: 141.4 MB / 0.7228 GB, free: 5.387 MB / 0.6022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5776, allocations: 87.94 kB / 0.7228 GB, free: 5.301 MB / 0.6022 GB [/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/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd: time 0.03074/0.6083, allocations: 9.05 MB / 0.7317 GB, free: 12.12 MB / 0.6178 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.6084, allocations: 4 kB / 0.7317 GB, free: 12.12 MB / 0.6178 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000536/0.6089, allocations: 422.2 kB / 0.7321 GB, free: 11.66 MB / 0.6178 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.609, allocations: 12.03 kB / 0.7321 GB, free: 11.64 MB / 0.6178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006763/0.6096, allocations: 47.75 kB / 0.7321 GB, free: 11.6 MB / 0.6178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.6099, allocations: 210.8 kB / 0.7323 GB, free: 11.35 MB / 0.6178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.61, allocations: 8 kB / 0.7324 GB, free: 11.34 MB / 0.6178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.61, allocations: 12 kB / 0.7324 GB, free: 11.33 MB / 0.6178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003106/0.6103, allocations: 128.2 kB / 0.7325 GB, free: 11.21 MB / 0.6178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.6107, allocations: 206.4 kB / 0.7327 GB, free: 10.98 MB / 0.6178 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6107, allocations: 0 / 0.7327 GB, free: 10.98 MB / 0.6178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.6107, allocations: 0 / 0.7327 GB, free: 10.98 MB / 0.6178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.6108, allocations: 20.27 kB / 0.7327 GB, free: 10.96 MB / 0.6178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.612, allocations: 0.9005 MB / 0.7336 GB, free: 9.988 MB / 0.6178 GB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.6121, allocations: 30.56 kB / 0.7336 GB, free: 9.949 MB / 0.6178 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.6121, allocations: 12.77 kB / 0.7336 GB, free: 9.934 MB / 0.6178 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.6121, allocations: 3.938 kB / 0.7336 GB, free: 9.93 MB / 0.6178 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6122, allocations: 38.56 kB / 0.7337 GB, free: 9.883 MB / 0.6178 GB Notification: Performance of pre-optimization done (n=3): time 3.64e-06/0.6122, allocations: 4 kB / 0.7337 GB, free: 9.879 MB / 0.6178 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.6124, allocations: 61.56 kB / 0.7337 GB, free: 9.812 MB / 0.6178 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.6124, allocations: 55.39 kB / 0.7338 GB, free: 9.746 MB / 0.6178 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.6126, allocations: 125.5 kB / 0.7339 GB, free: 9.613 MB / 0.6178 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.6126, allocations: 29.7 kB / 0.7339 GB, free: 9.578 MB / 0.6178 GB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.6127, allocations: 147.2 kB / 0.7341 GB, free: 9.43 MB / 0.6178 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.6127, allocations: 7.906 kB / 0.7341 GB, free: 9.422 MB / 0.6178 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-06/0.6127, allocations: 0 / 0.7341 GB, free: 9.422 MB / 0.6178 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6129, allocations: 322.8 kB / 0.7344 GB, free: 9.098 MB / 0.6178 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.6129, allocations: 20 kB / 0.7344 GB, free: 9.078 MB / 0.6178 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.613, allocations: 77.44 kB / 0.7345 GB, free: 8.969 MB / 0.6178 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.6131, allocations: 43.95 kB / 0.7345 GB, free: 8.926 MB / 0.6178 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.875e-06/0.6131, allocations: 3.906 kB / 0.7345 GB, free: 8.922 MB / 0.6178 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002623/0.6134, allocations: 117.5 kB / 0.7346 GB, free: 8.801 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.6138, allocations: 0.9573 MB / 0.7356 GB, free: 7.77 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.643e-06/0.6139, allocations: 0 / 0.7356 GB, free: 7.77 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.6139, allocations: 7.906 kB / 0.7356 GB, free: 7.762 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.614, allocations: 31.92 kB / 0.7356 GB, free: 7.73 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.328e-06/0.6141, allocations: 4 kB / 0.7356 GB, free: 7.727 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.6142, allocations: 11.84 kB / 0.7356 GB, free: 7.715 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.6142, allocations: 12 kB / 0.7356 GB, free: 7.703 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 7.676e-06/0.6142, allocations: 4 kB / 0.7356 GB, free: 7.699 MB / 0.6178 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001619/0.6144, allocations: 71.78 kB / 0.7357 GB, free: 7.629 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.467e-06/0.6144, allocations: 4 kB / 0.7357 GB, free: 7.625 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-06/0.6144, allocations: 4 kB / 0.7357 GB, free: 7.621 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6146, allocations: 28.23 kB / 0.7357 GB, free: 7.594 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.267e-06/0.6146, allocations: 8 kB / 0.7357 GB, free: 7.586 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.6147, allocations: 11.84 kB / 0.7358 GB, free: 7.574 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-06/0.6147, allocations: 4 kB / 0.7358 GB, free: 7.57 MB / 0.6178 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 8.152e-05/0.6148, allocations: 106.8 kB / 0.7359 GB, free: 7.461 MB / 0.6178 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.6148, allocations: 7.906 kB / 0.7359 GB, free: 7.453 MB / 0.6178 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.6149, allocations: 20.05 kB / 0.7359 GB, free: 7.43 MB / 0.6178 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-06/0.6149, allocations: 0 / 0.7359 GB, free: 7.43 MB / 0.6178 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6149, allocations: 0 / 0.7359 GB, free: 7.43 MB / 0.6178 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.6149, allocations: 3.906 kB / 0.7359 GB, free: 7.426 MB / 0.6178 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.6154, allocations: 416.8 kB / 0.7363 GB, free: 6.965 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6154, allocations: 4 kB / 0.7363 GB, free: 6.961 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.6155, allocations: 4 kB / 0.7363 GB, free: 6.957 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.959e-06/0.6155, allocations: 0 / 0.7363 GB, free: 6.957 MB / 0.6178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-06/0.6155, allocations: 0 / 0.7363 GB, free: 6.957 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6155, allocations: 4 kB / 0.7363 GB, free: 6.953 MB / 0.6178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.256e-06/0.6155, allocations: 4.031 kB / 0.7363 GB, free: 6.949 MB / 0.6178 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001448/0.6157, allocations: 122.1 kB / 0.7364 GB, free: 6.793 MB / 0.6178 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.6158, allocations: 92.94 kB / 0.7365 GB, free: 6.684 MB / 0.6178 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.6158, allocations: 0 / 0.7365 GB, free: 6.684 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.6159, allocations: 4 kB / 0.7365 GB, free: 6.68 MB / 0.6178 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.6159, allocations: 8 kB / 0.7365 GB, free: 6.672 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-06/0.6159, allocations: 0 / 0.7365 GB, free: 6.672 MB / 0.6178 GB Notification: Performance of sort global known variables: time 9.367e-05/0.616, allocations: 111.6 kB / 0.7366 GB, free: 6.566 MB / 0.6178 GB Notification: Performance of remove unused functions: time 0.000511/0.6165, allocations: 55.69 kB / 0.7367 GB, free: 6.512 MB / 0.6178 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 (3): * Single equations (assignments): 3 * 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.0001213/0.6166, allocations: 107 kB / 0.7368 GB, free: 6.398 MB / 0.6178 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.6169, allocations: 92.3 kB / 0.7369 GB, free: 6.309 MB / 0.6178 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-06/0.6169, allocations: 0 / 0.7369 GB, free: 6.309 MB / 0.6178 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.6169, allocations: 19.92 kB / 0.7369 GB, free: 6.289 MB / 0.6178 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.6172, allocations: 12 kB / 0.7369 GB, free: 6.277 MB / 0.6178 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.6176, allocations: 174 kB / 0.7371 GB, free: 6.078 MB / 0.6178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.618, allocations: 0.7427 MB / 0.7378 GB, free: 5.312 MB / 0.6178 GB Notification: Performance of SimCode: time 6.27e-07/0.618, allocations: 0 / 0.7378 GB, free: 5.312 MB / 0.6178 GB Notification: Performance of Templates: time 0.004147/0.6221, allocations: 0.9225 MB / 0.7387 GB, free: 4.395 MB / 0.6178 GB