[: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.197/3.197, allocations: 404 MB / 410.9 MB, free: 2.168 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 9.278e-06/9.432e-06, allocations: 0 / 0.4941 GB, free: 4.562 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4299, allocations: 92.75 MB / 0.5846 GB, free: 1.891 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.162/4.592, allocations: 2.193 GB / 2.778 GB, free: 46.57 MB / 0.7741 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/4.592, allocations: 94.33 kB / 2.778 GB, free: 46.52 MB / 0.7741 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: Performance of FrontEnd: time 0.1563/4.749, allocations: 45.53 MB / 2.822 GB, free: 4.285 MB / 0.7741 GB Notification: Performance of Transformations before backend: time 8.184e-05/4.749, allocations: 28 kB / 2.822 GB, free: 4.258 MB / 0.7741 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002883/4.752, allocations: 1.392 MB / 2.824 GB, free: 2.793 MB / 0.7741 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/4.752, allocations: 12.03 kB / 2.824 GB, free: 2.781 MB / 0.7741 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/4.756, allocations: 413.8 kB / 2.824 GB, free: 2.375 MB / 0.7741 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/4.758, allocations: 0.7133 MB / 2.825 GB, free: 1.617 MB / 0.7741 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/4.758, allocations: 32 kB / 2.825 GB, free: 1.586 MB / 0.7741 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/4.758, allocations: 56 kB / 2.825 GB, free: 1.531 MB / 0.7741 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002688/4.761, allocations: 1.249 MB / 2.826 GB, free: 288 kB / 0.7741 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2213/4.982, allocations: 0.9865 MB / 2.827 GB, free: 332.4 MB / 0.7741 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/4.982, allocations: 0 / 2.827 GB, free: 332.4 MB / 0.7741 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/4.982, allocations: 3.969 kB / 2.827 GB, free: 332.4 MB / 0.7741 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/4.982, allocations: 48.17 kB / 2.827 GB, free: 332.4 MB / 0.7741 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/4.99, allocations: 3.761 MB / 2.831 GB, free: 331.2 MB / 0.7741 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/4.992, allocations: 0.7713 MB / 2.831 GB, free: 331.2 MB / 0.7741 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/4.992, allocations: 332.1 kB / 2.832 GB, free: 331.2 MB / 0.7741 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/4.993, allocations: 471.3 kB / 2.832 GB, free: 330.7 MB / 0.7741 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/4.994, allocations: 458.2 kB / 2.833 GB, free: 330.6 MB / 0.7741 GB Notification: Performance of pre-optimization done (n=80): time 3.375e-06/4.994, allocations: 0 / 2.833 GB, free: 330.6 MB / 0.7741 GB Notification: Performance of matching and sorting (n=80): time 0.002395/4.996, allocations: 0.7655 MB / 2.833 GB, free: 330.5 MB / 0.7741 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/4.997, allocations: 275.9 kB / 2.834 GB, free: 330.2 MB / 0.7741 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/4.998, allocations: 0.6909 MB / 2.834 GB, free: 330.1 MB / 0.7741 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/4.998, allocations: 29.67 kB / 2.834 GB, free: 330 MB / 0.7741 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/4.998, allocations: 384.6 kB / 2.835 GB, free: 329.9 MB / 0.7741 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/4.998, allocations: 254.6 kB / 2.835 GB, free: 329.7 MB / 0.7741 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/4.999, allocations: 3.938 kB / 2.835 GB, free: 329.7 MB / 0.7741 GB Notification: Performance of setup shared object (initialization): time 0.000135/4.999, allocations: 397 kB / 2.835 GB, free: 329.4 MB / 0.7741 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/4.999, allocations: 249.3 kB / 2.836 GB, free: 329.4 MB / 0.7741 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/5, allocations: 409.2 kB / 2.836 GB, free: 329.3 MB / 0.7741 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/5.001, allocations: 394 kB / 2.836 GB, free: 329.2 MB / 0.7741 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.795e-06/5.001, allocations: 0 / 2.836 GB, free: 329.2 MB / 0.7741 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002752/5.004, allocations: 0.8855 MB / 2.837 GB, free: 329.2 MB / 0.7741 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/5.004, allocations: 0.966 MB / 2.838 GB, free: 328.2 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/5.004, allocations: 7.312 kB / 2.838 GB, free: 328.2 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/5.005, allocations: 28.14 kB / 2.838 GB, free: 328.2 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/5.006, allocations: 185.3 kB / 2.838 GB, free: 328.1 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003463/5.006, allocations: 0.5427 MB / 2.839 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/5.007, allocations: 87.23 kB / 2.839 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/5.007, allocations: 35.03 kB / 2.839 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/5.007, allocations: 6.469 kB / 2.839 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00232/5.01, allocations: 0.7596 MB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.801e-06/5.01, allocations: 6.469 kB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/5.01, allocations: 3.781 kB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/5.011, allocations: 193.7 kB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/5.011, allocations: 7.281 kB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/5.012, allocations: 80.45 kB / 2.84 GB, free: 327.6 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/5.012, allocations: 36.59 kB / 2.84 GB, free: 327.6 MB / 0.7741 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 3 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002914/5.012, allocations: 130.3 kB / 2.84 GB, free: 327.5 MB / 0.7741 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/5.013, allocations: 91.72 kB / 2.84 GB, free: 327.4 MB / 0.7741 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/5.016, allocations: 1.024 MB / 2.841 GB, free: 327.3 MB / 0.7741 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/5.016, allocations: 10.2 kB / 2.841 GB, free: 327.3 MB / 0.7741 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/5.016, allocations: 3.438 kB / 2.841 GB, free: 327.3 MB / 0.7741 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/5.016, allocations: 5.719 kB / 2.841 GB, free: 327.3 MB / 0.7741 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/5.021, allocations: 2.127 MB / 2.843 GB, free: 326.9 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.831e-06/5.021, allocations: 3.938 kB / 2.843 GB, free: 326.9 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/5.023, allocations: 166.5 kB / 2.843 GB, free: 326.9 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/5.023, allocations: 41.45 kB / 2.844 GB, free: 326.8 MB / 0.7741 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/5.023, allocations: 17.64 kB / 2.844 GB, free: 326.8 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/5.024, allocations: 1.219 MB / 2.845 GB, free: 325.7 MB / 0.7741 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.763e-06/5.024, allocations: 3.516 kB / 2.845 GB, free: 325.7 MB / 0.7741 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002666/5.026, allocations: 1 MB / 2.846 GB, free: 325.3 MB / 0.7741 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/5.027, allocations: 315.8 kB / 2.846 GB, free: 325.2 MB / 0.7741 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/5.027, allocations: 6.906 kB / 2.846 GB, free: 325.2 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/5.028, allocations: 66.48 kB / 2.846 GB, free: 325.2 MB / 0.7741 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/5.029, allocations: 64.81 kB / 2.846 GB, free: 325.2 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/5.029, allocations: 28.14 kB / 2.846 GB, free: 325.2 MB / 0.7741 GB Notification: Performance of sort global known variables: time 0.0008795/5.03, allocations: 0.5406 MB / 2.847 GB, free: 325.1 MB / 0.7741 GB Notification: Performance of remove unused functions: time 0.002063/5.032, allocations: 0.5804 MB / 2.847 GB, free: 325 MB / 0.7741 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/5.033, allocations: 0.7174 MB / 2.848 GB, free: 324.9 MB / 0.7741 GB Notification: Performance of simCode: created initialization part: time 0.002426/5.036, allocations: 1.234 MB / 2.849 GB, free: 324.7 MB / 0.7741 GB Notification: Performance of simCode: created event and clocks part: time 7.027e-06/5.036, allocations: 3.406 kB / 2.849 GB, free: 324.7 MB / 0.7741 GB Notification: Performance of simCode: created simulation system equations: time 0.0008595/5.037, allocations: 464.3 kB / 2.85 GB, free: 324.6 MB / 0.7741 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/5.038, allocations: 199 kB / 2.85 GB, free: 324.6 MB / 0.7741 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/5.042, allocations: 1.525 MB / 2.851 GB, free: 324.2 MB / 0.7741 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/5.044, allocations: 1.258 MB / 2.853 GB, free: 323.5 MB / 0.7741 GB Notification: Performance of SimCode: time 9.71e-07/5.044, allocations: 0 / 2.853 GB, free: 323.5 MB / 0.7741 GB Notification: Performance of Templates: time 0.04725/5.091, allocations: 20.32 MB / 2.872 GB, free: 322.3 MB / 0.7741 GB